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

Scripted trigger

trait_is_shunned_or_criminal_in_my_or_lieges_rite_trigger

trait_is_shunned_or_criminal_in_my_or_lieges_rite_trigger = { GENDER_CHARACTER = … TRAIT = … }

game/common/scripted_triggers/00_religious_triggers.txt, line 546 (18 lines). Parameters: $GENDER_CHARACTER$, $TRAIT$.

trait_is_shunned_or_criminal_in_my_or_lieges_rite_trigger is a scripted trigger in Crusader Kings III, written at line 546 of its file. A call passes 2 parameters: GENDER_CHARACTER and TRAIT. The game's script calls it in 22 places, among them … Who Makes a Beast Out of …... (event hold_court.4600), An Odd Request (event bp1_yearly.9020) and Convert to Witchcraft: The Time Has Come (event witch.2001). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.

What it checks

• 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 (18 lines of game script)
trait_is_shunned_or_criminal_in_my_or_lieges_rite_trigger = {
	OR = {
		AND = {
			rite = { #My rite doesn't approve
				save_temporary_scope_as = check_rite
			}
			trait_is_shunned_or_criminal_in_rite_trigger = { TRAIT = $TRAIT$ RITE = scope:check_rite GENDER_CHARACTER = $GENDER_CHARACTER$ }
		}
		AND = { #Liege's rite doesn't approve
			liege ?= {
				rite = {
					save_temporary_scope_as = check_rite
				}
			}
			trait_is_shunned_or_criminal_in_rite_trigger = { TRAIT = $TRAIT$ RITE = scope:check_rite GENDER_CHARACTER = $GENDER_CHARACTER$ }
		}
	}
}

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

Where it is used

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

Events (9)

3 more

Scripted triggers inside an event file (4)

  • yearly_1030_could_get_cannibal_secret_trigger
  • yearly_1030_could_get_deviant_secret_trigger
  • yearly_1030_could_get_homosexual_secret_trigger
  • yearly_1030_could_get_witch_secret_trigger

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?