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_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 ?= this
      • situation_top_has_catalyst = $CATALYST$

    Then

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

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.

Spotted a mistake on this page?