CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect · All Under Heaven files

tgp_silk_road_china_stability_effect

tgp_silk_road_china_stability_effect = yes

game/common/scripted_effects/10_dlc_tgp_silk_road_scripted_effects.txt, line 554 (24 lines). No parameters.

tgp_silk_road_china_stability_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 554 of its file. It takes no parameters: tgp_silk_road_china_stability_effect = yes. The game's script calls it in 1 place, among them The Dynastic Cycle (situation). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_silk_road_scripted_effects.txt.

What it does

  • If

    • Dynastic Cycle:
      • One of these

        • situation_current_phase = situation_dynastic_cycle_phase_stability
        • or

          situation_current_phase = situation_dynastic_cycle_phase_stability_expansion
        • or

          situation_current_phase = situation_dynastic_cycle_phase_stability_advancement

    Then

    • The Silk Road:
      • If

        • situation_has_catalyst = catalyst_silk_road_china_stability

        Then

        • Every situation sub region:
          • trigger_sub_region_catalyst = { catalyst = catalyst_silk_road_china_stability character = scope:huangdi }

• 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 (24 lines of game script)
tgp_silk_road_china_stability_effect = {
	if = {
		limit = {
			situation:dynastic_cycle = {
				OR = {
					situation_current_phase = situation_dynastic_cycle_phase_stability
					situation_current_phase = situation_dynastic_cycle_phase_stability_expansion
					situation_current_phase = situation_dynastic_cycle_phase_stability_advancement
				}
			}
		}
		situation:silk_road_situation ?= {
			if = {
				limit = { situation_has_catalyst = catalyst_silk_road_china_stability }
				every_situation_sub_region = {
					trigger_sub_region_catalyst = {
						catalyst = catalyst_silk_road_china_stability
						character = scope:huangdi
					}
				}
			}
		}
	}
}

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_china_stability_effect.

Situations (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.

Spotted a mistake on this page?