Scripted effect · Silk and Silver files
burgher_grant_lesser_privilege_effect
burgher_grant_lesser_privilege_effect = { COUNTY = … }game/common/scripted_effects/gdp_burgher_scripted_effects.txt, line 328 (15 lines). Parameters: $COUNTY$.
burgher_grant_lesser_privilege_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 328 of its file. A call passes 1 parameter: COUNTY. The game's script calls it in 2 places, among them War for Civic Liberty (casus belli) and burgher_grant_privilege_effect (scripted effect). Patch 1.21.0, from game/common/scripted_effects/gdp_burgher_scripted_effects.txt.
What it does
If
$COUNTY$ = { burgher_county_can_receive_lesser_privilege_trigger = yes }
Then
$COUNTY$ = { … }burgher_advance_privilege_level_effect = { COUNTY = $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 (15 lines of game script)
burgher_grant_lesser_privilege_effect = {
if = {
limit = {
$COUNTY$ = { burgher_county_can_receive_lesser_privilege_trigger = yes }
}
$COUNTY$ = {
add_county_modifier = {
modifier = civic_privileges_county_modifier
}
}
burgher_advance_privilege_level_effect = { COUNTY = $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_grant_lesser_privilege_effect.
Casus belli (1)
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.