Scripted effect
remove_county_corruption_smuggling_ring_modifier_tiers_effect
remove_county_corruption_smuggling_ring_modifier_tiers_effect = yesgame/common/scripted_effects/00_county_corruption_effects.txt, line 1360 (22 lines). No parameters.
remove_county_corruption_smuggling_ring_modifier_tiers_effect is a scripted effect in Crusader Kings III, written at line 1360 of its file. It takes no parameters: remove_county_corruption_smuggling_ring_modifier_tiers_effect = yes. The game's script calls it in 1 place, among them remove_smuggling_ring_modifier_effect (scripted effect). Patch 1.21.0, from game/common/scripted_effects/00_county_corruption_effects.txt.
What it does
title_province.barony.trade_market = { … }- If the county has the modifier “Smuggling Ring”: The county loses the modifier “Smuggling Ring”
- Else, if the county has the modifier “Entrenched Smugglers”: The county loses the modifier “Entrenched Smugglers”
- Else, if the county has the modifier “Endemic Smuggling”: The county loses the modifier “Endemic Smuggling”
scope:market:remove_trade_market_modifier = gdp_market_smuggling_trade_modifier
• 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 (22 lines of game script)
remove_county_corruption_smuggling_ring_modifier_tiers_effect = {
title_province.barony.trade_market = {
save_scope_as = market
trade_market_owner.county.holder = { save_scope_as = market_owner } # Market Owner
inform_market_of_smuggling_removal_modifier_effect = yes
}
if = {
limit = { has_county_modifier = county_corruption_smuggling_ring_modifier }
remove_county_modifier = county_corruption_smuggling_ring_modifier
}
else_if = {
limit = { has_county_modifier = county_corruption_smuggling_ring_modifier_2 }
remove_county_modifier = county_corruption_smuggling_ring_modifier_2
}
else_if = {
limit = { has_county_modifier = county_corruption_smuggling_ring_modifier_3 }
remove_county_modifier = county_corruption_smuggling_ring_modifier_3
}
scope:market = {
remove_trade_market_modifier = gdp_market_smuggling_trade_modifier
}
}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_county_corruption_smuggling_ring_modifier_tiers_effect.
Scripted effects (1)
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.21.0.