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

Scripted trigger

valid_co_emperor_candidate_trigger

valid_co_emperor_candidate_trigger = { LIEGE = … }

game/common/scripted_triggers/00_diarchy_scripted_triggers.txt, line 455 (34 lines). Parameters: $LIEGE$.

valid_co_emperor_candidate_trigger is a scripted trigger in Crusader Kings III, written at line 455 of its file. A call passes 1 parameter: LIEGE. The game's script calls it in 5 places, among them Declare me Co-Emperor (interaction), Elevate Co-Emperor (interaction) and Grant Co-Emperor status (important action). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.

What it checks

• 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 (34 lines of game script)
valid_co_emperor_candidate_trigger = {
	is_adult = yes
	is_imprisoned = no
	save_temporary_scope_as = co_emperor_temp
	custom_tooltip = {
		text = valid_co_emperor_candidate_liege_trigger
		top_liege = $LIEGE$
	}
	custom_tooltip = {
		text = valid_co_emperor_candidate_family_trigger
		OR = {
			is_close_or_extended_family_of = $LIEGE$
			AND = {
				house ?= {
					OR = {
						is_powerful_family = yes
						is_dominant_family = yes
					}
				}
				scope:co_emperor_temp = house.house_head
				any_held_title = { is_noble_family_title = yes }
			}
		}
	}
	NOR = {
		has_trait = blind
		has_trait = eunuch
		has_trait = incapable
		# Prevent weird governments from taking place.
		government_has_flag = government_is_republic
		government_has_flag = government_is_theocracy
		government_has_flag = government_is_landless_adventurer
	}
}

As written in game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.

Where it is used

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

Character interactions (2)

Important actions (2)

  • Grant Co-Emperor status
  • Grant Nominal Co-Emperor status

Source: game/common/scripted_triggers/00_diarchy_scripted_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?