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

Scripted effect · The Fate of Iberia files

clean_revolt_county_modifiers_from_faction_members_effect

clean_revolt_county_modifiers_from_faction_members_effect = yes

game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt, line 1188 (16 lines). No parameters.

clean_revolt_county_modifiers_from_faction_members_effect is a scripted effect in Crusader Kings III, in the The Fate of Iberia files, written at line 1188 of its file. It takes no parameters: clean_revolt_county_modifiers_from_faction_members_effect = yes. The game's script calls it in 4 places, among them faction_demand.1001 (event), faction_demand.9998 (event) and generate_troops_from_revolt_county_modifiers_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.

What it does

  • Every faction county member:
    • If the county has the modifier “Peasant Outcry”: The county loses the modifier “Peasant Outcry”
    • Else, if the county has the modifier “Peasant Outrage”: The county loses the modifier “Peasant Outrage”
    • Else, if the county has the modifier “Peasant Riots”: The county loses the modifier “Peasant Riots”

• 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 (16 lines of game script)
clean_revolt_county_modifiers_from_faction_members_effect = {
	every_faction_county_member = {
		if = {
			limit = { has_county_modifier = small_investment_in_revolt_modifier	}
			remove_county_modifier = small_investment_in_revolt_modifier
		}
		else_if = {
			limit = { has_county_modifier = medium_investment_in_revolt_modifier	}
			remove_county_modifier = medium_investment_in_revolt_modifier
		}
		else_if = {
			limit = { has_county_modifier = high_investment_in_revolt_modifier	}
			remove_county_modifier = high_investment_in_revolt_modifier
		}
	}
}

As written in game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls clean_revolt_county_modifiers_from_faction_members_effect.

Source: game/common/scripted_effects/03_dlc_fp2_scripted_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?