Scripted effect · Silk and Silver files
gg_claim_leadership_exposed_failure_effect
gg_claim_leadership_exposed_failure_effect = yesgame/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt, line 373 (20 lines). No parameters.
gg_claim_leadership_exposed_failure_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 373 of its file. It takes no parameters: gg_claim_leadership_exposed_failure_effect = yes. The game's script calls it in 2 places, among them …: Failure (event scheme_critical_moments.1273) and Involvement Discovered (event hostile_scheme_discovery.3003). Patch 1.21.0, from game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.
What it does
scope:target:If
is_guelph_trigger = yes
Then
progress_towards_rival_effect = { REASON = rival_attempted_to_replace_guelph_leader CHARACTER = scope:owner OPINION = -20 }
Otherwise
progress_towards_rival_effect = { REASON = rival_attempted_to_replace_ghibelline_leader CHARACTER = scope:owner OPINION = -20 }
- scope:owner: Gain -150 Prestige
• 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 (20 lines of game script)
gg_claim_leadership_exposed_failure_effect = {
scope:target = {
if = {
limit = { is_guelph_trigger = yes }
progress_towards_rival_effect = {
REASON = rival_attempted_to_replace_guelph_leader
CHARACTER = scope:owner
OPINION = -20
}
}
else = {
progress_towards_rival_effect = {
REASON = rival_attempted_to_replace_ghibelline_leader
CHARACTER = scope:owner
OPINION = -20
}
}
}
scope:owner = { add_prestige = medium_prestige_loss }
}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_claim_leadership_exposed_failure_effect.
Events (2)
- …: Failure
scheme_critical_moments.1273 - Involvement Discovered
hostile_scheme_discovery.3003
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.