Scripted trigger · All Under Heaven files
is_movement_in_power
is_movement_in_power = { MOVEMENT = … }game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt, line 142 (13 lines). Parameters: $MOVEMENT$.
is_movement_in_power is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 142 of its file. A call passes 1 parameter: MOVEMENT. The game's script calls it in 11 places, among them Favor a Movement (decision), Family (law) and Grand Chancellor (law). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt.
The comment above it in the file
To determine if situation_participant_group is favored Use e.g. "MOVEMENT = expansion_movement" to check a specific movement
What it checks
- Dynastic Cycle:
situation_participant_group:$MOVEMENT$ = { save_temporary_scope_as = my_movement }
- The … is the Favored Movement
• 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 (13 lines of game script)
is_movement_in_power = {
situation:dynastic_cycle ?= {
situation_participant_group:$MOVEMENT$ = {
save_temporary_scope_as = my_movement
}
}
custom_tooltip = {
scope:my_movement = {
exists = var:movement_favored
}
text = my_movement_is_in_power
}
}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 is_movement_in_power.
Decisions (1)
On actions (the game's own hooks) (1)
- dynastic_cycle_yearly_pulse
Script values (3)
- appointment_score_dynastic_cycle
- hegemon_favored_stability_phase_value
- movement_demands_acceptance_value
Succession appointment (1)
- celestial_minister
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.