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

Scripted effect

create_popular_revolt_title_effect

create_popular_revolt_title_effect = { FACTION = … FACTION_LEADER = … TIER = … }

game/common/scripted_effects/00_faction_effects.txt, line 757 (29 lines). Parameters: $FACTION$, $FACTION_LEADER$, $TIER$.

create_popular_revolt_title_effect is a scripted effect in Crusader Kings III, written at line 757 of its file. A call passes 3 parameters: FACTION, FACTION_LEADER and TIER. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_effects/00_faction_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)
create_popular_revolt_title_effect = {
	$FACTION$ = {
		ordered_faction_county_member = {
			limit = {
				faith = $FACTION_LEADER$.faith
				culture = $FACTION_LEADER$.culture
			}
			alternative_limit = {
				always = yes
			}

			order_by = total_county_levies

			save_scope_as = base_county
		}
		$FACTION_LEADER$.culture = { save_scope_as = founder_culture }
		create_dynamic_title = {
			tier = $TIER$
			name = FACTION_POPULIST_CREATED_TITLE_NAME
		}
		scope:new_title = {
			set_variable = {
				name = faction
				value = $FACTION$
			}
			set_color_from_title = scope:base_county
		}
	}
}

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

Where it is used

No file of common/, events/ or history/ calls it.

Source: game/common/scripted_effects/00_faction_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?