Scripted effect · Silk and Silver files
burgher_revoke_privileges_effect
burgher_revoke_privileges_effect = { COUNTY = … }game/common/scripted_effects/gdp_burgher_scripted_effects.txt, line 738 (41 lines). Parameters: $COUNTY$.
burgher_revoke_privileges_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 738 of its file. A call passes 1 parameter: COUNTY. The game's script calls it in 2 places, among them Revoke Civic Liberties (interaction) and War for Civic Liberty (casus belli). 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 (41 lines of game script)
burgher_revoke_privileges_effect = {
burgher_remove_privilege_tiers_effect = {
COUNTY = $COUNTY$
PRIVILEGE = market_rights
}
burgher_remove_privilege_tiers_effect = {
COUNTY = $COUNTY$
PRIVILEGE = guild_rights
}
burgher_remove_privilege_tiers_effect = {
COUNTY = $COUNTY$
PRIVILEGE = tax_exemption
}
burgher_remove_privilege_tiers_effect = {
COUNTY = $COUNTY$
PRIVILEGE = militia_charter
}
$COUNTY$ = {
if = {
limit = { has_county_modifier = civic_privileges_county_modifier }
remove_county_modifier = civic_privileges_county_modifier
}
hidden_effect = {
while = {
count = burgher_max_privilege_level_value
if = {
limit = { has_county_modifier = civic_privileges_county_modifier }
remove_county_modifier = civic_privileges_county_modifier
}
}
}
if = {
limit = { has_variable = civic_privileges_level }
remove_variable = civic_privileges_level
}
if = {
limit = { has_variable = civic_league_charter }
remove_variable = civic_league_charter
}
}
}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_revoke_privileges_effect.
Character interactions (1)
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.