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
One of these
trait_is_shunned_in_rite_trigger = { TRAIT = $TRAIT$ RITE = $RITE$ GENDER_CHARACTER = $GENDER_CHARACTER$ }or
trait_is_criminal_in_rite_trigger = { TRAIT = $TRAIT$ RITE = $RITE$ GENDER_CHARACTER = $GENDER_CHARACTER$ }
• 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.
Character interactions (5)
Schemes (1)
- Seduce
Events (9)
- Accusations of Witchery
epidemic_events.5007 - Hungriest Among the Brood
mpo_nomad_events.1020 - It Takes Two
bp1_yearly.9015 - Plague Trials: Bringers of Pestilence
epidemic_events.1060 - Plague Trials: Repent!
epidemic_events.1063 - Tent Camp: Wanton Warriors
ep2_locale_events.3002
3 more
- That's My …!
ep3_wedding.0003 - Unsheathed
mpo_events_ariana.0041 - War Widows
fp2_struggle.1001
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
Scripted effects (3)
Scripted triggers (5)
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.