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

Scripted effect

escalate_random_county_corruption_modifier_effect

escalate_random_county_corruption_modifier_effect = yes

game/common/scripted_effects/00_county_corruption_effects.txt, line 2810 (653 lines). No parameters.

escalate_random_county_corruption_modifier_effect is a scripted effect in Crusader Kings III, written at line 2810 of its file. It takes no parameters: escalate_random_county_corruption_modifier_effect = yes. The game's script calls it in 1 place, among them realm_maintenance.0005 (event). Patch 1.21.0, from game/common/scripted_effects/00_county_corruption_effects.txt.

What it does

• 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 (120 lines of game script)
escalate_random_county_corruption_modifier_effect = {
	save_scope_as = county
	if = {
		limit = {
			can_worsen_county_corruption_trigger = yes
			title_province = {
				NOR = {
					has_holding_type = nomad_holding
					has_holding_type = herder_holding
				}
			}
		}
		random_list = {
			#Level 1 > 2 escalation
			100 = {
				trigger = { has_county_modifier = county_corruption_inefficient_tax_collection_modifier }
				holder = {
					send_interface_message = {
						type = msg_county_corruption_bad
						title = escalate_county_corruption.message
						left_icon = scope:county
						scope:county = {
							hidden_effect = {
								remove_county_modifier = county_corruption_inefficient_tax_collection_modifier
							}
							add_county_modifier = {
								modifier = county_corruption_inefficient_tax_collection_modifier_2
								years = 10
							}
						}
					}
				}
			}
			100 = {
				trigger = { has_county_modifier = county_corruption_deserting_levies_modifier }
				holder = {
					send_interface_message = {
						type = msg_county_corruption_bad
						title = escalate_county_corruption.message
						left_icon = scope:county
						scope:county = {
							hidden_effect = {
								remove_county_modifier = county_corruption_deserting_levies_modifier
							}
							add_county_modifier = {
								modifier = county_corruption_deserting_levies_modifier_2
								years = 10
							}
						}
					}
				}
			}
			100 = {
				trigger = { has_county_modifier = county_corruption_smuggling_ring_modifier }
				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
				}
				holder = {
					send_interface_message = {
						type = msg_county_corruption_bad
						title = escalate_county_corruption.message
						left_icon = scope:county
						scope:county = {
							hidden_effect = { remove_county_modifier = county_corruption_smuggling_ring_modifier }
							add_county_modifier = {
								modifier = county_corruption_smuggling_ring_modifier_2
								years = 10
							}
						}
						scope:market = {
							add_trade_market_modifier = {
								modifier = gdp_market_smuggling_trade_modifier
								years = 10
							}
						}
					}
				}
			}
			100 = {
				trigger = { has_county_modifier = county_corruption_bandits_rampant_modifier }
				holder = {
					send_interface_message = {
						type = msg_county_corruption_bad
						title = escalate_county_corruption.message
						left_icon = scope:county
						scope:county = {
							hidden_effect = {
								remove_county_modifier = county_corruption_bandits_rampant_modifier
							}
							add_county_modifier = {
								modifier = county_corruption_bandits_rampant_modifier_2
								years = 10
							}
						}
					}
				}
			}
			100 = {
				trigger = { has_county_modifier = county_corruption_inefficient_census_modifier }
				holder = {
					send_interface_message = {
						type = msg_county_corruption_bad
						title = escalate_county_corruption.message
						left_icon = scope:county
						scope:county = {
							hidden_effect = {
								remove_county_modifier = county_corruption_inefficient_census_modifier
							}
							add_county_modifier = {
								modifier = county_corruption_inefficient_census_modifier_2
								years = 10
							}
						}
					}
				}
			}
			100 = {
				trigger = { has_county_modifier = county_corruption_lack_of_sheriffs_modifier }

As written in game/common/scripted_effects/00_county_corruption_effects.txt.

The first 120 of its 653 lines; the rest is in game/common/scripted_effects/00_county_corruption_effects.txt from line 2810.

Where it is used

Every place in common/, events/ and history/ that calls escalate_random_county_corruption_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?