Scripted trigger · All Under Heaven files
silk_road_innovation_trigger
silk_road_innovation_trigger = { INNOVATION = … }game/common/scripted_triggers/tgp_silk_road_triggers.txt, line 27 (20 lines). Parameters: $INNOVATION$.
silk_road_innovation_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 27 of its file. A call passes 1 parameter: INNOVATION. The game's script calls it in 15 places, among them Block Printing (culture), Bulkheads (culture) and Champa Rice (culture). Patch 1.20.1.2, from game/common/scripted_triggers/tgp_silk_road_triggers.txt.
What it checks
One of these
- Their Culture has the Chinese Cultural Pillar
or
Any in list:this = culture_innovation:innovation_$INNOVATION$
or
All of these
- Their Culture has the May access Silk Road Innovations known to the Han Culture Tradition
One of these
- Han:
has_innovation = innovation_$INNOVATION$
or
title:h_china.holder.culture:has_innovation = innovation_$INNOVATION$
- Han:
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (20 lines of game script)
silk_road_innovation_trigger = {
OR = {
# Chinese
has_cultural_pillar = heritage_chinese
# Discovered via Silk Road
any_in_list = {
variable = silk_road_unlocked_innovations
this = culture_innovation:innovation_$INNOVATION$
}
# Sinophilic
AND = {
has_cultural_parameter = may_adopt_silk_road_innovations
OR = {
culture:han ?= { has_innovation = innovation_$INNOVATION$ }
title:h_china.holder.culture ?= { has_innovation = innovation_$INNOVATION$ }
}
}
}
has_tgp_dlc_trigger = yes
}As written in game/common/scripted_triggers/tgp_silk_road_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls silk_road_innovation_trigger.
Culture (15)
- Block Printing
- Bulkheads
- Champa Rice
- Coking
- Compass
- Composite Crossbows
9 more
- Cupellation
- Double-Entry Bookkeeping
- Dragon Kilns
- Fire Medicine
- Grenades
- Lacquered Armor
- Pharmacopoeia
- Sericulture
- Waterworks
Source: game/common/scripted_triggers/tgp_silk_road_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.