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_kingdom_for_diarch_to_demand_as_despotate_trigger

valid_kingdom_for_diarch_to_demand_as_despotate_trigger = yes

game/common/scripted_triggers/00_diarchy_scripted_triggers.txt, line 569 (14 lines). No parameters.

valid_kingdom_for_diarch_to_demand_as_despotate_trigger is a scripted trigger in Crusader Kings III, written at line 569 of its file. It takes no parameters: valid_kingdom_for_diarch_to_demand_as_despotate_trigger = yes (or no). The game's script calls it in 1 place, among them Demand Private Despotate (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.

What it checks

  • Title tier exactly Kingdom
  • is_landless_type_title = no
  • If not: Title already created: Not: Title already created
  • Otherwise:
    • holder = scope:recipient
  • scope:recipient:
    • completely_controls = scope:target
  • None of these

    • scope:recipient.capital_county:
      • target_is_de_jure_liege_or_above = scope:target

• 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 (14 lines of game script)
valid_kingdom_for_diarch_to_demand_as_despotate_trigger = {
	tier = tier_kingdom
	is_landless_type_title = no
	# Weird formatting for the sake of cleaner tooltips.
	trigger_if = {
		limit = { is_title_created = no }
		is_title_created = no
	}
	trigger_else = { holder = scope:recipient }
	scope:recipient = { completely_controls = scope:target }
	NOT = {
		scope:recipient.capital_county = { target_is_de_jure_liege_or_above = scope:target }
	}
}

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_kingdom_for_diarch_to_demand_as_despotate_trigger.

Character interactions (1)

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?