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

Scripted trigger

can_be_any_kurultai_trigger

can_be_any_kurultai_trigger = { COURT_OWNER = … }

game/common/scripted_triggers/00_councillor_triggers.txt, line 283 (46 lines). Parameters: $COURT_OWNER$.

can_be_any_kurultai_trigger is a scripted trigger in Crusader Kings III, written at line 283 of its file. A call passes 1 parameter: COURT_OWNER. The game's script calls it in 3 places, among them lover.1006 (event), lover_1006_lover_council_position_trigger (local trigger) and obedience_value (script value). Patch 1.20.1.2, from game/common/scripted_triggers/00_councillor_triggers.txt.

What it checks

  • can_be_councillor_basics_trigger = yes
  • $COURT_OWNER$ ?= { … }
  • None of these

    • has_council_position = councillor_spouse
    • All of these

      • this = $COURT_OWNER$.diarch
      • $COURT_OWNER$ ?= { has_diarchy_active_parameter = diarchy_is_vizierate }
  • NOT = { has_council_position = councillor_kurultai_1 }
  • NOT = { has_council_position = councillor_kurultai_2 }
  • NOT = { has_council_position = councillor_kurultai_3 }
  • NOT = { has_council_position = councillor_kurultai_4 }
  • One of these

    • Is landed
    • or

      is_knight_of = $COURT_OWNER$
    • or

      is_courtier_of = $COURT_OWNER$
    • or

      Is a ruler
    • or

      is_powerful_vassal = yes
  • One of these

    • Is a ruler
    • or

      All of these

      • is_female = yes
      • $COURT_OWNER$.rite = { … }
    • or

      All of these

      • is_male = yes
      • $COURT_OWNER$.rite = { … }
    • or

      All of these

      • Has the Trait: Shieldmaiden
      • $COURT_OWNER$.culture = { has_cultural_parameter = has_access_to_shieldmaidens }

• 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 (46 lines of game script)
can_be_any_kurultai_trigger = {
	can_be_councillor_basics_trigger = yes
	$COURT_OWNER$ ?= {
		OR = {
			has_council_position = councillor_kurultai_1
			has_council_position = councillor_kurultai_2
			has_council_position = councillor_kurultai_3
			has_council_position = councillor_kurultai_4
		}
	}
	NOR = {
		has_council_position = councillor_spouse
		AND = {
			this = $COURT_OWNER$.diarch
			$COURT_OWNER$ ?= { has_diarchy_active_parameter = diarchy_is_vizierate }
		}
	}
	NOR = {
		has_council_position = councillor_kurultai_1
		has_council_position = councillor_kurultai_2
		has_council_position = councillor_kurultai_3
		has_council_position = councillor_kurultai_4
	}
	OR = {
		is_landed = yes
		is_knight_of = $COURT_OWNER$
		is_courtier_of = $COURT_OWNER$
		is_ruler = yes
		is_powerful_vassal = yes
	}
	OR = {
		is_ruler = yes
		AND = {
			is_female = yes
			$COURT_OWNER$.rite = { NOT = { rite_has_parameter = male_dominated_council } }
		}
		AND = {
			is_male = yes
			$COURT_OWNER$.rite = { NOT = { rite_has_parameter = female_dominated_council } }
		}
		AND = {
			has_trait = shieldmaiden
			$COURT_OWNER$.culture = { has_cultural_parameter = has_access_to_shieldmaidens }
		}
	}
}

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

Where it is used

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

Events (1)

Scripted triggers inside an event file (1)

  • lover_1006_lover_council_position_trigger

Script values (1)

  • obedience_value

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