Scripted effect · Silk and Silver files
burgher_free_member_county_effect
burgher_free_member_county_effect = { COUNTY = … }game/common/scripted_effects/gdp_burgher_scripted_effects.txt, line 870 (23 lines). Parameters: $COUNTY$.
burgher_free_member_county_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 870 of its file. A call passes 1 parameter: COUNTY. The game's script calls it in 1 place, among them War for Civic Liberty (casus belli). Patch 1.21.0, from game/common/scripted_effects/gdp_burgher_scripted_effects.txt.
What it does
burgher_find_or_create_local_burgher_effect = { COUNTY = scope:freeing_county SAVE_AS = town_council_head FLAG = burgher_spawned_leader }If
a check the game hides
Then
burgher_win_self_rule_effect = { LEADER = scope:town_council_head COUNTY = scope:freeing_county }
• 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 (23 lines of game script)
burgher_free_member_county_effect = {
$COUNTY$ = { save_scope_as = freeing_county }
burgher_find_or_create_local_burgher_effect = {
COUNTY = scope:freeing_county
SAVE_AS = town_council_head
FLAG = burgher_spawned_leader
}
if = {
limit = {
exists = scope:town_council_head
exists = scope:freeing_county.holder
}
burgher_win_self_rule_effect = {
LEADER = scope:town_council_head
COUNTY = scope:freeing_county
}
scope:town_council_head = { add_to_list = burgher_new_communes }
}
}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_free_member_county_effect.
Casus belli (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.