Scripted trigger · By God Alone files
pam_heresy_player_is_heresy_insider_trigger
pam_heresy_player_is_heresy_insider_trigger = yesgame/common/scripted_triggers/pam_heresy_triggers.txt, line 195 (13 lines). No parameters.
pam_heresy_player_is_heresy_insider_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 195 of its file. It takes no parameters: pam_heresy_player_is_heresy_insider_trigger = yes (or no). The game's script calls it in 1 place, among them Wycliffe's Heresy (event heresy_historical.0050). Patch 1.20.1.2, from game/common/scripted_triggers/pam_heresy_triggers.txt.
The comment above it in the file
True when the recipient is already on the heresy's rite. Used to gate "embrace" / reframe "reject" options and description text so the event does not address one of the heresy's own followers as an outside observer.
What it checks
If
a check the game hides
Then
rite = scope:new_rite
Else if
a check the game hides
Then
faith = scope:heresy_faith
Otherwise
- Never
• 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 (13 lines of game script)
pam_heresy_player_is_heresy_insider_trigger = {
trigger_if = {
limit = { exists = scope:new_rite }
rite = scope:new_rite
}
trigger_else_if = {
limit = { exists = scope:heresy_faith }
faith = scope:heresy_faith
}
trigger_else = {
always = no
}
}As written in game/common/scripted_triggers/pam_heresy_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_heresy_player_is_heresy_insider_trigger.
Events (1)
- Wycliffe's Heresy
heresy_historical.0050
Source: game/common/scripted_triggers/pam_heresy_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.