Scripted effect
remove_every_county_corruption_modifier_effect
remove_every_county_corruption_modifier_effect = yesgame/common/scripted_effects/00_county_corruption_effects.txt, line 1743 (116 lines). No parameters.
remove_every_county_corruption_modifier_effect is a scripted effect in Crusader Kings III, written at line 1743 of its file. It takes no parameters: remove_every_county_corruption_modifier_effect = yes. The game's script calls it in 3 places, among them Peasant Uprising (casus belli), minister_project_establish_control (great project) and …: Minister Sends Aid (event natural_disaster.6911). Patch 1.20.1.2, from game/common/scripted_effects/00_county_corruption_effects.txt.
What it does
- If the county has the modifier “Incompetent Tax Collection”:
- If the county has the modifier “Deserting Levies”:
- If the county has the modifier “Smuggling Ring”:
- If the county has the modifier “Bandits Running Rampant”:
- If the county has the modifier “Inefficient Census”:
- If the county has the modifier “Lack of Sheriffs”:
- If the county has the modifier “Distrust of Courts”:
- If the county has the modifier “Thieves Guild”:
- If the county has the modifier “Unsafe Highways”:
- If the county has the modifier “Uncooperative Guilds”:
- If the county has the modifier “Lackluster Administration”:
- If the county has the modifier “Roaming Bandits”:
- If the county has the modifier “Wild Beast Attacks”:
- If the county has the modifier “Upset Shepherds”:
- If the county has the modifier “Rogue Warriors”:
- If the county has the modifier “Unruly Nomads”:
- If the county has the modifier “Peasant Outcry”:
- If the county has the modifier “Peasant Outrage”:
- If the county has the modifier “Peasant Riots”:
• 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 (116 lines of game script)
remove_every_county_corruption_modifier_effect = {
if = {
limit = {
has_county_modifier = county_corruption_inefficient_tax_collection_modifier
}
remove_inefficient_tax_collection_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = county_corruption_deserting_levies_modifier
}
remove_deserting_levies_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = county_corruption_smuggling_ring_modifier
}
remove_smuggling_ring_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = county_corruption_bandits_rampant_modifier
}
remove_bandits_rampant_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = county_corruption_inefficient_census_modifier
}
remove_inefficient_census_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = county_corruption_lack_of_sheriffs_modifier
}
remove_lack_of_sheriffs_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = county_corruption_lack_of_courts_modifier
}
remove_lack_of_courts_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = county_corruption_thieves_guild_modifier
}
remove_thieves_guild_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = county_corruption_unsafe_highways_modifier
}
remove_unsafe_highways_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = county_corruption_uncooperative_guilds_modifier
}
remove_uncooperative_guilds_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = county_corruption_lackluster_administration_modifier
}
remove_lackluster_administration_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = county_corruption_roaming_bandits_modifier
}
remove_roaming_bandits_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = county_corruption_wild_beast_attacks_modifier
}
remove_wild_beast_attacks_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = county_corruption_upset_shepherds_modifier
}
remove_upset_shepherds_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = county_corruption_rogue_warriors_modifier
}
remove_rogue_warriors_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = county_corruption_unruly_nomads_modifier
}
remove_unruly_nomads_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = small_investment_in_revolt_modifier
}
remove_small_investment_in_revolt_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = medium_investment_in_revolt_modifier
}
remove_medium_investment_in_revolt_modifier_effect = yes
}
if = {
limit = {
has_county_modifier = high_investment_in_revolt_modifier
}
remove_high_investment_in_revolt_modifier_effect = yes
}
}As written in game/common/scripted_effects/00_county_corruption_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls remove_every_county_corruption_modifier_effect.
Casus belli (1)
Great projects (1)
- minister_project_establish_control
Events (1)
- …: Minister Sends Aid
natural_disaster.6911
Source: game/common/scripted_effects/00_county_corruption_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.