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

Scripted trigger

is_wrong_gender_in_rite_trigger

is_wrong_gender_in_rite_trigger = { RITE = … }

game/common/scripted_triggers/00_religious_triggers.txt, line 239 (12 lines). Parameters: $RITE$.

is_wrong_gender_in_rite_trigger is a scripted trigger in Crusader Kings III, written at line 239 of its file. A call passes 1 parameter: RITE. The game's script calls it in 1 place, among them Strength in Unlikely Places (event mpo_events_ariana.0100). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.

What it checks

  • One of these

    • All of these

      • is_female = yes
      • $RITE$ = { rite_has_parameter = male_dominated_law }
    • or

      All of these

      • is_male = yes
      • $RITE$ = { rite_has_parameter = female_dominated_law }

• 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 (12 lines of game script)
is_wrong_gender_in_rite_trigger = {
	OR = {
		AND = {
			is_female = yes
			$RITE$ = { rite_has_parameter = male_dominated_law }
		}
		AND = {
			is_male = yes
			$RITE$ = { rite_has_parameter = female_dominated_law }
		}
	}
}

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

Where it is used

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

Events (1)

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