Scripted effect · Silk and Silver files
burgher_broken_charter_effect
burgher_broken_charter_effect = yesgame/common/scripted_effects/gdp_burgher_scripted_effects.txt, line 1633 (39 lines). No parameters.
burgher_broken_charter_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1633 of its file. It takes no parameters: burgher_broken_charter_effect = yes. The game's script calls it in 1 place, among them on_title_lost (on action). Patch 1.21.0, from game/common/scripted_effects/gdp_burgher_scripted_effects.txt.
What it does
If
scope:transfer_type = flag:revoked- Government is a Republican Government
scope:new_holder:One of these
- Government is Feudal
or
Government is Ecclesiastical
Then
scope:title:- If title tier exactly County:
- The county gains the modifier “Revoked Charter” for 10 years
- Popular Opinion Baseline -20
- The county gains the modifier “Revoked Charter” for 10 years
- Else, if title tier more than County › Every in de jure hierarchy:
- Where:
- Title tier exactly County
holder ?= scope:new_holder
- The county gains the modifier “Revoked Charter” for 10 years
- Popular Opinion Baseline -20
- Where:
- If title tier exactly 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 (39 lines of game script)
burgher_broken_charter_effect = {
if = {
limit = {
has_gdp_dlc_trigger = yes
exists = scope:title
scope:transfer_type = flag:revoked
government_has_flag = government_is_republic
scope:new_holder ?= {
OR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_ecclesiastical
}
}
}
scope:title = {
if = {
limit = { tier = tier_county }
add_county_modifier = {
modifier = burgher_broken_charter_county_modifier
years = burgher_broken_charter_years_value
}
}
else_if = {
limit = { tier > tier_county }
every_in_de_jure_hierarchy = {
limit = {
tier = tier_county
holder ?= scope:new_holder
}
add_county_modifier = {
modifier = burgher_broken_charter_county_modifier
years = burgher_broken_charter_years_value
}
}
}
}
}
}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_broken_charter_effect.
On actions (the game's own hooks) (1)
- on_title_lost
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.