CK3 DatabaseCrusader Kings III · 1.21.0 “Florin” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →Merch→

Scripted effect

inform_market_of_banditry_removal_modifier_effect

inform_market_of_banditry_removal_modifier_effect = yes

game/common/scripted_effects/00_county_corruption_effects.txt, line 3601 (24 lines). No parameters.

inform_market_of_banditry_removal_modifier_effect is a scripted effect in Crusader Kings III, written at line 3601 of its file. It takes no parameters: inform_market_of_banditry_removal_modifier_effect = yes. The game's script calls it in 3 places, among them remove_county_corruption_bandits_rampant_modifier_tiers_effect (scripted effect), remove_county_corruption_roaming_bandits_modifier_tiers_effect (scripted effect) and remove_county_corruption_unsafe_highways_modifier_tiers_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 (24 lines of game script)
inform_market_of_banditry_removal_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_good
				title = msg_banditry_reduction_aids_trade_title
				desc = msg_banditry_reduction_aids_trade_desc
				left_icon = scope:county.holder
				right_icon = scope:county
				show_as_tooltip = { # actual effects applied below
					scope:market_temp = { remove_trade_market_modifier = gdp_market_banditry_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 inform_market_of_banditry_removal_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.

Spotted a mistake on this page, or have an idea for the site?