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

Scripted trigger · All Under Heaven files

tgp_gender_can_be_exam_entrant_trigger

tgp_gender_can_be_exam_entrant_trigger = yes

game/common/scripted_triggers/10_tgp_triggers.txt, line 866 (39 lines). No parameters.

tgp_gender_can_be_exam_entrant_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 866 of its file. It takes no parameters: tgp_gender_can_be_exam_entrant_trigger = yes (or no). The game's script calls it in 11 places, among them Capital Examination (activity), Local Examination (activity) and Support Entrants (activity intent). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_triggers.txt.

What it checks

  • If

    Then

    • One of these

      • is_female = yes
      • or

        All of these

        • Is played by a person
        • is_male = yes

    Else if

    Then

    • One of these

      • is_male = yes
      • or

        All of these

        • Is played by a person
        • is_female = yes

    Otherwise

    • always = yes

• 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 (39 lines of game script)
tgp_gender_can_be_exam_entrant_trigger = {
	trigger_if = {
		limit = {
			scope:host ?= {
				OR = {
					has_realm_law = female_only_law
					has_realm_law = female_preference_law
				}
			}
		}
		OR = {
			is_female = yes
			AND = {
				is_ai = no
				is_male = yes
			}
		}
	}
	trigger_else_if = {
		limit = {
			scope:host ?= {
				OR = {
					has_realm_law = male_only_law
					has_realm_law = male_preference_law
				}
			}
		}
		OR = {
			is_male = yes
			AND = {
				is_ai = no
				is_female = yes
			}
		}
	}
	trigger_else = {
		always = yes
	}
}

As written in game/common/scripted_triggers/10_tgp_triggers.txt.

Where it is used

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

Activity intents (2)

  • Support Entrants
  • Support Entrants

Activities (3)

  • Commanded Family Members
  • Commanded Family Members
  • Noble Family Heads

Source: game/common/scripted_triggers/10_tgp_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?