Scripted effect · Silk and Silver files
gg_reconciliation_catalyst_effect
gg_reconciliation_catalyst_effect = { ACTOR = … CATALYST = … ONCE_A_YEAR = … RECIPIENT = … }game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt, line 1264 (36 lines). Parameters: $ACTOR$, $CATALYST$, $ONCE_A_YEAR$, $RECIPIENT$.
gg_reconciliation_catalyst_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1264 of its file. A call passes 4 parameters: ACTOR, CATALYST, ONCE_A_YEAR and RECIPIENT. The game's script calls it in 6 places, among them Bend the Knee to the … (decision), Coronation (activity) and great_holy_war.0005 (event). Patch 1.21.0, from game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.
The comment above it in the file
With $ONCE_A_YEAR$ = yes, a catalyst between two AI rulers only counts once a year We do this so routine diplomacy cannot hold the struggle back
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (36 lines of game script)
gg_reconciliation_catalyst_effect = {
if = {
limit = {
gg_first_and_second_are_opposite_sides_trigger = { FIRST = $ACTOR$ SECOND = $RECIPIENT$ }
gg_phase_has_catalysts_trigger = yes
situation:guelph_ghibelline ?= { situation_top_has_catalyst = $CATALYST$ }
trigger_if = {
limit = {
always = $ONCE_A_YEAR$
$ACTOR$ = { is_ai = yes }
$RECIPIENT$ = { is_ai = yes }
}
situation:guelph_ghibelline ?= {
NOT = { has_variable = gg_recent_$CATALYST$ }
}
}
}
custom_tooltip = {
text = $CATALYST$_triggered_tt
if = {
limit = {
always = $ONCE_A_YEAR$
$ACTOR$ = { is_ai = yes }
$RECIPIENT$ = { is_ai = yes }
}
situation:guelph_ghibelline ?= {
set_variable = {
name = gg_recent_$CATALYST$
years = 1
}
}
}
situation:guelph_ghibelline ?= { trigger_situation_catalyst = $CATALYST$ }
}
}
}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_reconciliation_catalyst_effect.
Decisions (1)
Activities (1)
Events (1)
On actions (the game's own hooks) (2)
- on_alliance_added
- on_marriage
Scripted effects (1)
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.