Scripted trigger · All Under Heaven files
hegemon_favors_expansion_trigger
hegemon_favors_expansion_trigger = yesgame/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt, line 259 (11 lines). No parameters.
hegemon_favors_expansion_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 259 of its file. It takes no parameters: hegemon_favors_expansion_trigger = yes (or no). The game's script calls it in 2 places, among them dynastic_cycle_yearly_pulse (on action) and movement_power_value (script value). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt.
What it checks
title:h_china.holder:One of these
- Favor era is expansion
or
All of these
- Is played by the AI
- Hegemon favored stability phase less than 0
• 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)
hegemon_favors_expansion_trigger = {
title:h_china.holder ?= {
OR = {
var:favor_era ?= flag:expansion
AND = {
is_ai = yes
hegemon_favored_stability_phase_value < 0
}
}
}
}As written in game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls hegemon_favors_expansion_trigger.
On actions (the game's own hooks) (1)
- dynastic_cycle_yearly_pulse
Script values (1)
- movement_power_value
Source: game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.