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_councillor_gender_trigger

can_be_councillor_gender_trigger = { COURT_OWNER = … }

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

can_be_councillor_gender_trigger is a scripted trigger in Crusader Kings III, written at line 30 of its file. A call passes 1 parameter: COURT_OWNER. The game's script calls it in 3 places, among them can_be_chancellor_trigger (scripted trigger), can_be_marshal_trigger (scripted trigger) and can_be_steward_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_councillor_triggers.txt.

What it checks

  • One of these

    • Is a ruler
    • or

      Has “can be councillor override” (a variable the game's script sets)
    • or

      All of these

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

      All of these

      • is_female = yes
      • $COURT_OWNER$ = { has_personal_tenet_flag = tenet_hyperdulia_women_can_be_councillors }
    • or

      All of these

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

• 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 (20 lines of game script)
can_be_councillor_gender_trigger = {
	OR = {
		is_ruler = yes
		has_variable = can_be_councillor_override
		AND = {
			is_female = yes
			$COURT_OWNER$.rite = { NOT = { rite_has_parameter = male_dominated_council } }
		}
		AND = {
			is_female = yes
			$COURT_OWNER$ = {
				has_personal_tenet_flag = tenet_hyperdulia_women_can_be_councillors
			}
		}
		AND = {
			is_male = yes
			$COURT_OWNER$.rite = { NOT = { rite_has_parameter = female_dominated_council } }
		}
	}
}

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

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?