Scripted effect · Silk and Silver files
burgher_resolve_county_effect
burgher_resolve_county_effect = { FACTION = … }game/common/scripted_effects/gdp_burgher_scripted_effects.txt, line 1 (27 lines). Parameters: $FACTION$.
burgher_resolve_county_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1 of its file. A call passes 1 parameter: FACTION. The game's script calls it in 6 places, among them War for Civic Liberty (casus belli), gdp_burgher.0001 (event) and gdp_burgher.0010 (event). Patch 1.21.0, from game/common/scripted_effects/gdp_burgher_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (27 lines of game script)
burgher_resolve_county_effect = {
$FACTION$ = {
var:burgher_county ?= { save_temporary_scope_as = burgher_county_candidate }
if = {
limit = {
exists = scope:burgher_county_candidate
any_faction_county_member = { this = scope:burgher_county_candidate }
}
scope:burgher_county_candidate = { save_scope_as = burgher_county }
}
else = {
ordered_faction_county_member = {
order_by = title_province.province_size_level
save_scope_as = burgher_county
}
}
if = {
limit = { exists = scope:burgher_county }
set_variable = {
name = burgher_county
value = scope:burgher_county
}
}
}
}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_resolve_county_effect.
Casus belli (1)
Events (2)
Scripted effects (2)
Factions (1)
- Civic Autonomy Faction
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.