Scripted effect · Silk and Silver files
burgher_sponsor_bankers_due_effect
burgher_sponsor_bankers_due_effect = { SPONSOR = … YEARS = … }game/common/scripted_effects/gdp_burgher_scripted_effects.txt, line 1249 (31 lines). Parameters: $SPONSOR$, $YEARS$.
burgher_sponsor_bankers_due_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1249 of its file. A call passes 2 parameters: SPONSOR and YEARS. The game's script calls it in 1 place, among them burgher_sponsor_pay_effect (scripted effect). Patch 1.21.0, from game/common/scripted_effects/gdp_burgher_scripted_effects.txt.
What it does
$SPONSOR$ = { … }If
a check the game hides
Then
scope:freed_county.holder:add_hook = { type = favor_hook target = $SPONSOR$ }
• 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 (31 lines of game script)
burgher_sponsor_bankers_due_effect = {
$SPONSOR$ = {
add_character_modifier = {
modifier = merchant_civic_advantage_modifier
years = $YEARS$
}
capital_county ?= {
add_county_modifier = {
modifier = hanseatic_staple_right_county_modifier
years = $YEARS$
}
}
}
if = {
limit = {
exists = scope:freed_county
scope:freed_county.holder ?= {
is_alive = yes
this != $SPONSOR$
}
}
scope:freed_county.holder = {
add_hook = {
type = favor_hook
target = $SPONSOR$
}
}
}
}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_bankers_due_effect.
Scripted effects (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.