Scripted trigger
is_witch_trigger
is_witch_trigger = yesgame/common/scripted_triggers/00_crime_triggers.txt, line 6 (10 lines). No parameters.
is_witch_trigger is a scripted trigger in Crusader Kings III, written at line 6 of its file. It takes no parameters: is_witch_trigger = yes (or no). The game's script calls it in 84 places, among them Accuse of Decadence (interaction), Convert to Witchcraft (Scheme) (interaction) and Denounce (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_crime_triggers.txt.
What it checks
- Is a Witch
• 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 (10 lines of game script)
is_witch_trigger = {
custom_description = {
text = is_a_witch
subject = this
OR = {
has_trait = witch
any_secret = { type = secret_witch }
}
}
}As written in game/common/scripted_triggers/00_crime_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_witch_trigger.
Character interactions (6)
Schemes (1)
- Convert to Witchcraft
Artifacts (6)
- book_subject_medicine
- book_subject_witch
- book_topic_medicine_witch
- witchy_artifact_template
- witchy_book_template
- witchy_shoes_template
Events (45)
- … Appointed... …?
ep3_governor_yearly.3020 - … Arrives
ach_coronation.0010 - … Gifts Are Plentiful
witch.4010 - … of the North Sea
fp1_major_decisions.1002 - … Who Makes a Beast Out of …...
hold_court.4600 - …: It's a Feline's World
tour_general.3003
39 more
- …: the Recruits
ep3_laamp_decision_event.1033 - 'Haunted' Manor: a Way Forward
travel_events.2018 - 'Haunted' Manor: Safe and Sound
travel_events.2022 - 'Haunted' Manor: Which Witch?
travel_events.2020 - A Message From Beyond
trait_specific_ongoing.2001 - Alternative Reading
trait_specific.4001 - Altruism: Sea Legs
pilgrimage_intent.1110 - Condolences On Your Wedding
ep2_wedding.1340 - Danger: The Rigors of Travel
travel_danger_events.4010 - Divine Judgment
witch.4001 - Divine Judgment
witch.4002 - Divine Judgment
witch.4003 - Divine Judgment
witch.4004 - Divine Judgment
witch.4005 - fund_inspiration.0032
- Grand Tour: A Bestial Proposition
tour_general.1003 - Grand Tour: Spilling Beans
tour_general.2000 - Hidden Ally
witch.2007 - Inspiration Funded
fund_inspiration.0031 - Most Haunted
legend_spread_events.8100 - Murders At Court: A Confrontation
murders_at_court.9001 - Murders At Court: Escaped
murders_at_court.9041 - Murders At Court: The Mistake
murders_at_court.9099 - Murders At Court: What Cannot Be Seen
murders_at_court.2201 - Not in … Anymore
travel_events.4035 - Of Travels to Come
travel_events.4000 - Our Moment in Time
funeral.1050 - Plague Trials: Repent!
epidemic_events.1063 - Secrets of Nature
learning_medicine.2001 - Secrets of Nature
learning_medicine.2002 - The … …: an Omen
hunt.8540 - The … of …
travel_events.4033 - To Love the Shadow
intrigue_lover.5102 - Whispers of Witchcraft
bookmark.1067 - Wildflowers
hunt.5001 - Wildflowers
hunt.5002 - Wise …
playdate.3013 - witch.1001
- witch.4000
Scripted effects inside an event file (1)
- fund_inspiration_0031_pick_options_to_show_effect
Scripted triggers inside an event file (9)
- courtier_guest_management_3001_interesting_trigger
- ep2_wedding_1340_unusual_hobbies_trigger
- epidemic_events_1065_has_blamed_trait
- fund_inspiration_0031_lifestyle_option_trigger
- hunt_5001_interested_in_flowers
- hunt_8060_is_an_eccentric
3 more
- witch_3003_potential_guest_trigger
- witch_4030_convince_trigger
- yearly_4031_courtier_trigger
Scripted effects (7)
- child_witch_conversion_success_effect
- get_book_content_quality_effect
- give_witch_secret_or_trait_effect
- pool_character_development_effect
- remove_witch_secret_or_trait_effect
- select_pool_to_move_to_effect
1 more
Scripted triggers (6)
Script values (1)
- ecumenical_council_doctrine_desire_core_value
Customizable localization (1)
- PossessedEpisode
Courtier guest management (1)
- guest_management
Source: game/common/scripted_triggers/00_crime_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.