Scripted effect
add_merchant_smuggling_ring_county_corruption_modifier_effect
add_merchant_smuggling_ring_county_corruption_modifier_effect = yesgame/common/scripted_effects/00_county_corruption_effects.txt, line 3464 (51 lines). No parameters.
add_merchant_smuggling_ring_county_corruption_modifier_effect is a scripted effect in Crusader Kings III, written at line 3464 of its file. It takes no parameters: add_merchant_smuggling_ring_county_corruption_modifier_effect = yes. The game's script calls it in 1 place, among them smuggle_goods (contract). Patch 1.21.0, from game/common/scripted_effects/00_county_corruption_effects.txt.
What it does
- If the county does not have the modifier “Endemic Smuggling”:
title_province.barony.trade_market = { … }- Their holder:
scope:county:- If the county has the modifier “Entrenched Smugglers”:
- The county gains the modifier “Endemic Smuggling” for 10 years
- Control Baseline -15
- Prosperity Growth -80%
- Supply Limit -50%
- The county gains the modifier “Endemic Smuggling” for 10 years
- Else, if the county has the modifier “Smuggling Ring”:
- The county gains the modifier “Entrenched Smugglers” for 10 years
- Control Baseline -10
- Prosperity Growth -50%
- Supply Limit -40%
- The county gains the modifier “Entrenched Smugglers” for 10 years
- Otherwise:
- The county gains the modifier “Smuggling Ring” for 10 years
- Control Baseline -5
- Prosperity Growth -30%
- Supply Limit -30%
- The county gains the modifier “Smuggling Ring” for 10 years
- If the county has the modifier “Entrenched Smugglers”:
scope:market:add_trade_market_modifier = { modifier = gdp_market_smuggling_trade_modifier years = 10 }
• 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 (51 lines of game script)
add_merchant_smuggling_ring_county_corruption_modifier_effect = {
save_scope_as = county
if = {
limit = {
NOT = { has_county_modifier = county_corruption_smuggling_ring_modifier_3 } # max
}
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_modifier_effect = yes
}
# Message for County holder
holder = {
send_interface_message = {
type = msg_county_corruption_bad
title = gain_county_corruption.message.smuggling
left_icon = scope:county
scope:county = {
if = {
limit = { has_county_modifier = county_corruption_smuggling_ring_modifier_2 }
hidden_effect = { remove_county_modifier = county_corruption_smuggling_ring_modifier_2 }
add_county_modifier = {
modifier = county_corruption_smuggling_ring_modifier_3
years = 10
}
}
else_if = {
limit = { has_county_modifier = county_corruption_smuggling_ring_modifier }
hidden_effect = { remove_county_modifier = county_corruption_smuggling_ring_modifier }
add_county_modifier = {
modifier = county_corruption_smuggling_ring_modifier_2
years = 10
}
}
else = {
add_county_modifier = {
modifier = county_corruption_smuggling_ring_modifier
years = 10
}
}
}
scope:market = {
add_trade_market_modifier = {
modifier = gdp_market_smuggling_trade_modifier
years = 10
}
}
}
}
}
}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 add_merchant_smuggling_ring_county_corruption_modifier_effect.
Task contracts (1)
- smuggle_goods
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.