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

Scripted effect · Silk and Silver files

gg_relation_catalyst_effect

gg_relation_catalyst_effect = { ACTOR = … CATALYST = … RECIPIENT = … }

game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt, line 1391 (24 lines). Parameters: $ACTOR$, $CATALYST$, $RECIPIENT$.

gg_relation_catalyst_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1391 of its file. A call passes 3 parameters: ACTOR, CATALYST and RECIPIENT. The game's script calls it in 8 places, among them on_set_relation_grudge (on action), on_set_relation_nemesis (on action) and on_set_relation_rival (on action). Patch 1.21.0, from game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.

What it does

• 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)
gg_relation_catalyst_effect = {
	$ACTOR$ = { save_scope_as = root_scope }
	$RECIPIENT$ = { save_scope_as = target_scope }
	scope:root_scope = {
		if = {
			limit = {
				exists = situation:guelph_ghibelline
				gg_phase_has_catalysts_trigger = yes
				OR = {
					AND = {
						is_ghibelline_leader_trigger = yes
						scope:target_scope = { is_guelph_leader_trigger = yes }
					}
					AND = {
						is_guelph_leader_trigger = yes
						scope:target_scope = { is_ghibelline_leader_trigger = yes }
					}
				}
			}
			gg_triggered_catalyst_effect = { ACTOR = scope:root_scope RECIPIENT = scope:target_scope CATALYST = $CATALYST$ }
			gg_involvement_catalyst_effect = yes
		}
	}
}

As written in game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls gg_relation_catalyst_effect.

On actions (the game's own hooks) (3)

  • on_set_relation_grudge
  • on_set_relation_nemesis
  • on_set_relation_rival

Source: game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.

Spotted a mistake on this page, or have an idea for the site?