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

Scripted trigger · Legends of the Dead files

is_valid_for_legitimacy_change

is_valid_for_legitimacy_change = yes

game/common/scripted_triggers/06_ce1_legitimacy_triggers.txt, line 9 (12 lines). No parameters.

is_valid_for_legitimacy_change is a scripted trigger in Crusader Kings III, in the Legends of the Dead files, written at line 9 of its file. It takes no parameters: is_valid_for_legitimacy_change = yes (or no). The game's script calls it in 38 places, among them Withdraw Funds from Treasury (decision), Beseech Claim (interaction) and Swing the Scales of Power (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/06_ce1_legitimacy_triggers.txt.

What it checks

  • Has Legitimacy
  • Is landed
  • Is a ruler
  • Highest held Title is at least County Rank
  • Their government is not a Theocratic-type Government
  • Their government is not unplayable

• 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 (12 lines of game script)
is_valid_for_legitimacy_change = {
	has_legitimacy = yes
	is_alive = yes
	is_landed = yes
	is_ruler = yes
	exists = dynasty
	highest_held_title_tier >= tier_county
	NOR = {
		government_has_flag = government_is_theocracy
		government_has_flag = government_is_republic
	}
}

As written in game/common/scripted_triggers/06_ce1_legitimacy_triggers.txt.

Where it is used

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

Source: game/common/scripted_triggers/06_ce1_legitimacy_triggers.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?