Scripted effect · Silk and Silver files
gg_involvement_cb_defeat_effect
gg_involvement_cb_defeat_effect = yesgame/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt, line 1640 (7 lines). No parameters.
gg_involvement_cb_defeat_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1640 of its file. It takes no parameters: gg_involvement_cb_defeat_effect = yes. The game's script calls it in 3 places, among them Displace Opposing Ruler (casus belli), Dissolve Lombard League (casus belli) and Reinstate Aligned Ruler (casus belli). Patch 1.21.0, from game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (7 lines of game script)
gg_involvement_cb_defeat_effect = {
save_scope_value_as = {
name = gg_war_outcome
value = flag:defeat
}
gg_involvement_cb_effect = { WAR_OUTCOME = scope:gg_war_outcome }
}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_involvement_cb_defeat_effect.
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.