Scripted effect · Silk and Silver files
gg_failed_scheme_effect
gg_failed_scheme_effect = { SCHEME = … }game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt, line 1375 (15 lines). Parameters: $SCHEME$.
gg_failed_scheme_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1375 of its file. A call passes 1 parameter: SCHEME. The game's script calls it in 1 place, among them abduct_outcome_roll_effect (scripted effect). Patch 1.21.0, from game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.
What it does
If
gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:root_scope SECOND = scope:target }gg_phase_has_catalysts_trigger = yes- …:
situation_top_has_catalyst = catalyst_attempt_$SCHEME$_opposite_party
Then
- …:
trigger_situation_catalyst = catalyst_attempt_$SCHEME$_opposite_partygg_record_hostility_effect = yes
gg_involvement_scheme_effect = { STATE = failure }
• 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)
gg_failed_scheme_effect = {
save_scope_as = root_scope
if = {
limit = {
gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:root_scope SECOND = scope:target }
gg_phase_has_catalysts_trigger = yes
situation:guelph_ghibelline ?= { situation_top_has_catalyst = catalyst_attempt_$SCHEME$_opposite_party }
}
situation:guelph_ghibelline ?= {
trigger_situation_catalyst = catalyst_attempt_$SCHEME$_opposite_party
gg_record_hostility_effect = yes
}
gg_involvement_scheme_effect = { STATE = failure }
}
}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_failed_scheme_effect.
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.