Scripted effect · Silk and Silver files
burgher_sponsor_republic_type_effect
burgher_sponsor_republic_type_effect = { FACTION = … RULER = … }game/common/scripted_effects/gdp_burgher_scripted_effects.txt, line 1170 (12 lines). Parameters: $FACTION$, $RULER$.
burgher_sponsor_republic_type_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1170 of its file. A call passes 2 parameters: FACTION and RULER. The game's script calls it in 2 places, among them War for Civic Liberty (casus belli) and gdp_burgher.0010 (event). Patch 1.21.0, from game/common/scripted_effects/gdp_burgher_scripted_effects.txt.
What it does
If
$FACTION$.var:merchant_sponsor ?= { gdp_is_popular_republic_head_trigger = yes }$RULER$ = { … }
Then
$RULER$ = { add_realm_law_skip_effects = republic_type_popular }
• 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 (12 lines of game script)
burgher_sponsor_republic_type_effect = {
if = {
limit = {
$FACTION$.var:merchant_sponsor ?= { gdp_is_popular_republic_head_trigger = yes }
$RULER$ = {
gdp_is_assembly_head_trigger = yes
NOT = { has_realm_law = republic_type_popular }
}
}
$RULER$ = { add_realm_law_skip_effects = republic_type_popular }
}
}As written in game/common/scripted_effects/gdp_burgher_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls burgher_sponsor_republic_type_effect.
Casus belli (1)
Events (1)
Source: game/common/scripted_effects/gdp_burgher_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.