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_rite_trigger

trait_is_shunned_or_criminal_in_rite_trigger = { GENDER_CHARACTER = … RITE = … TRAIT = … }

game/common/scripted_triggers/00_religious_triggers.txt, line 539 (6 lines). Parameters: $GENDER_CHARACTER$, $RITE$, $TRAIT$.

trait_is_shunned_or_criminal_in_rite_trigger is a scripted trigger in Crusader Kings III, written at line 539 of its file. A call passes 3 parameters: GENDER_CHARACTER, RITE and TRAIT. The game's script calls it in 30 places, among them Ask for Clerical Influence (interaction), Convert to Witchcraft (Scheme) (interaction) and Request Claim (interaction). 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 (6 lines of game script)
trait_is_shunned_or_criminal_in_rite_trigger = {
	OR = {
		trait_is_shunned_in_rite_trigger = { TRAIT = $TRAIT$ RITE = $RITE$ GENDER_CHARACTER = $GENDER_CHARACTER$ }
		trait_is_criminal_in_rite_trigger = { TRAIT = $TRAIT$ RITE = $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_rite_trigger.

Schemes (1)

  • Seduce

Events (9)

3 more

Scripted triggers inside an event file (4)

  • ep3_laamp_flavour_ewan_2011_secret_lover_would_be_affair_trigger
  • fund_inspiration_3001_deviant_topic_trigger
  • fund_inspiration_3001_witch_topic_trigger
  • supportive_of_same_sex_seduction_trigger

Script values (2)

  • odds_seduce_scheme_misc_value
  • trait_difficulty_values

Scripted modifiers (AI weights) (1)

  • ask_for_gold_acceptance_modifier

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?