Scripted effect · All Under Heaven files
tgp_silk_road_iranian_intermezzo_yearly_effect
tgp_silk_road_iranian_intermezzo_yearly_effect = yesgame/common/scripted_effects/10_dlc_tgp_silk_road_scripted_effects.txt, line 513 (11 lines). No parameters.
tgp_silk_road_iranian_intermezzo_yearly_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 513 of its file. It takes no parameters: tgp_silk_road_iranian_intermezzo_yearly_effect = yes. The game's script calls it in 1 place, among them neutral_struggle.0001 (event). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_silk_road_scripted_effects.txt.
What it does
If
struggle:persian_struggle ?= { is_struggle_phase = struggle_persia_phase_unrest }- The Silk Road:
situation_has_catalyst = catalyst_silk_road_iranian_intermezzo_in_unrest
Then
situation:silk_road_situation.situation_sub_region:region_silk_road_proper_occident:trigger_sub_region_catalyst = { catalyst = catalyst_silk_road_iranian_intermezzo_in_unrest }
• 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 (11 lines of game script)
tgp_silk_road_iranian_intermezzo_yearly_effect = {
if = {
limit = {
struggle:persian_struggle ?= { is_struggle_phase = struggle_persia_phase_unrest }
situation:silk_road_situation ?= { situation_has_catalyst = catalyst_silk_road_iranian_intermezzo_in_unrest }
}
situation:silk_road_situation.situation_sub_region:region_silk_road_proper_occident ?= {
trigger_sub_region_catalyst = { catalyst = catalyst_silk_road_iranian_intermezzo_in_unrest }
}
}
}As written in game/common/scripted_effects/10_dlc_tgp_silk_road_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_silk_road_iranian_intermezzo_yearly_effect.
Events (1)
Source: game/common/scripted_effects/10_dlc_tgp_silk_road_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.