Scripted effect · All Under Heaven files
tgp_activate_catalyst_against_hegemon_effect
tgp_activate_catalyst_against_hegemon_effect = { CATALYST = … HEGEMON = … }game/common/scripted_effects/10_dlc_tgp_dynastic_cycle_scripted_effects.txt, line 760 (15 lines). Parameters: $CATALYST$, $HEGEMON$.
tgp_activate_catalyst_against_hegemon_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 760 of its file. A call passes 2 parameters: CATALYST and HEGEMON. The game's script calls it in 37 places, among them Join Movement (decision), Withdraw Funds from Treasury (decision) and Ask for Council Position (interaction). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_dynastic_cycle_scripted_effects.txt.
What it does
If
title:h_china.holder ?= $HEGEMON$- Any character situation:
situation:dynastic_cycle ?= thissituation_top_has_catalyst = $CATALYST$
Then
- Dynastic Cycle:
trigger_situation_catalyst = $CATALYST$
• 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 (15 lines of game script)
tgp_activate_catalyst_against_hegemon_effect = {
if = {
limit = {
exists = title:h_china
title:h_china.holder ?= $HEGEMON$
any_character_situation = {
situation:dynastic_cycle ?= this
situation_top_has_catalyst = $CATALYST$
}
}
situation:dynastic_cycle = {
trigger_situation_catalyst = $CATALYST$
}
}
}As written in game/common/scripted_effects/10_dlc_tgp_dynastic_cycle_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_activate_catalyst_against_hegemon_effect.
Decisions (2)
Character interactions (20)
Events (8)
- …: Failure
scheme_critical_moments.1203 - …: Success
scheme_critical_moments.1132 - …: Success
scheme_critical_moments.1172 - …China's Grand Campaign: Failure
tgp_china_ministry.0003 - …China's Grand Campaign: Sunset
tgp_china_ministry.0005 - …China's Grand Campaign: Sunset
tgp_china_ministry.0008
2 more
- My Secret Exposed!
secrets.0121 - tgp_interaction_event.0041
Scripted effects inside an event file (1)
- raid_estate_success_public_effect
On actions (the game's own hooks) (1)
- on_scheme_discovered
Scripted effects (4)
Secret types (1)
- Requesting an Incursion
Source: game/common/scripted_effects/10_dlc_tgp_dynastic_cycle_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.