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

Scripted effect

add_random_county_corruption_in_debt_effect

add_random_county_corruption_in_debt_effect = yes

game/common/scripted_effects/00_county_corruption_effects.txt, line 871 (254 lines). No parameters.

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

The comment above it in the file

Notification includes reference about Debt

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)
add_random_county_corruption_in_debt_effect = {
	random_list = {
		100 = {
			trigger = {
				NOR = {
					has_county_modifier = county_corruption_inefficient_tax_collection_modifier
					title_province = { has_holding_type = nomad_holding }
					title_province = { has_holding_type = herder_holding }
				}
				is_landless_type_title = no
			}
			save_scope_value_as = {
				name = deficit
				value = yes
			}
			add_inefficient_tax_collection_modifier_effect = yes
		}
		100 = {
			trigger = {
				NOR = {
					has_county_modifier = county_corruption_deserting_levies_modifier
					title_province = { has_holding_type = nomad_holding }
					title_province = { has_holding_type = herder_holding }
				}
				is_landless_type_title = no
			}
			save_scope_value_as = {
				name = deficit
				value = yes
			}
			add_deserting_levies_modifier_effect = yes
		}
		100 = {
			trigger = {
				NOR = {
					has_county_modifier = county_corruption_smuggling_ring_modifier
					title_province = { has_holding_type = nomad_holding }
					title_province = { has_holding_type = herder_holding }
				}
				is_landless_type_title = no
			}
			save_scope_value_as = {
				name = deficit
				value = yes
			}
			add_smuggling_ring_modifier_effect = yes
		}
		100 = {
			trigger = {
				NOR = {
					has_county_modifier = county_corruption_bandits_rampant_modifier
					title_province = { has_holding_type = nomad_holding }
					title_province = { has_holding_type = herder_holding }
				}
				is_landless_type_title = no
			}
			save_scope_value_as = {
				name = deficit
				value = yes
			}
			add_bandits_rampant_modifier_effect = yes
		}
		100 = {
			trigger = {
				NOR = {
					has_county_modifier = county_corruption_inefficient_census_modifier
					title_province = { has_holding_type = nomad_holding }
					title_province = { has_holding_type = herder_holding }
				}
				is_landless_type_title = no
			}
			save_scope_value_as = {
				name = deficit
				value = yes
			}
			add_inefficient_census_modifier_effect = yes
		}
		100 = {
			trigger = {
				NOR = {
					has_county_modifier = county_corruption_lack_of_sheriffs_modifier
					title_province = { has_holding_type = nomad_holding }
					title_province = { has_holding_type = herder_holding }
				}
				is_landless_type_title = no
			}
			save_scope_value_as = {
				name = deficit
				value = yes
			}
			add_lack_of_sheriffs_modifier_effect = yes
		}
		100 = {
			trigger = {
				NOR = {
					has_county_modifier = county_corruption_lack_of_courts_modifier
					title_province = { has_holding_type = nomad_holding }
					title_province = { has_holding_type = herder_holding }
				}
				is_landless_type_title = no
			}
			save_scope_value_as = {
				name = deficit
				value = yes
			}
			add_lack_of_sheriffs_modifier_effect = yes
		}
		100 = {
			trigger = {
				NOR = {
					has_county_modifier = county_corruption_thieves_guild_modifier
					title_province = { has_holding_type = nomad_holding }
					title_province = { has_holding_type = herder_holding }
				}
				is_landless_type_title = no
			}
			save_scope_value_as = {
				name = deficit
				value = yes
			}

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

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

Where it is used

Every place in common/, events/ and history/ that calls add_random_county_corruption_in_debt_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.20.1.2.

Spotted a mistake on this page?