Scripted effect
inform_market_of_smuggling_modifier_effect
inform_market_of_smuggling_modifier_effect = yesgame/common/scripted_effects/00_county_corruption_effects.txt, line 3516 (29 lines). No parameters.
inform_market_of_smuggling_modifier_effect is a scripted effect in Crusader Kings III, written at line 3516 of its file. It takes no parameters: inform_market_of_smuggling_modifier_effect = yes. The game's script calls it in 3 places, among them add_merchant_smuggling_ring_county_corruption_modifier_effect (scripted effect), add_smuggling_ring_modifier_effect (scripted effect) and escalate_random_county_corruption_modifier_effect (scripted effect). Patch 1.21.0, from game/common/scripted_effects/00_county_corruption_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (29 lines of game script)
inform_market_of_smuggling_modifier_effect = {
save_temporary_scope_as = market_temp
hidden_effect = {
every_character_in_market = {
limit = {
NOT = { scope:county.holder ?= this }
OR = {
scope:market_owner ?= this
government_allows = profit_trade_routes
}
}
send_interface_message = {
type = msg_county_corruption_bad
title = msg_smuggling_affects_trade_title
desc = msg_smuggling_affects_trade_desc
left_icon = scope:county.holder
right_icon = scope:county
show_as_tooltip = { # actual effects applied below
scope:market_temp = {
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 inform_market_of_smuggling_modifier_effect.
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.