Scripted trigger · By God Alone files
pam_request_white_peace_enemy_trigger
pam_request_white_peace_enemy_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 5016 (18 lines). No parameters.
pam_request_white_peace_enemy_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 5016 of its file. It takes no parameters: pam_request_white_peace_enemy_trigger = yes (or no). The game's script calls it in 2 places, among them Request Victory (interaction) and Request White Peace (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
- Is a ruler
- Their religion is Christianity
One of these
rite ?= scope:puppet_or_actor.riteor
Their faith is the same as that of puppet or actoror
religious_head_or_challenger ?= { scope:puppet_or_actor.religious_head_or_challenger ?= this }
- Their government is not a Theocratic-type Government
- Does not have the Trait: Excommunicated
scope:puppet_or_actor:is_at_war_with = prev
• 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)
pam_request_white_peace_enemy_trigger = {
is_ruler = yes
religion = religion:christianity_religion
OR = {
rite ?= scope:puppet_or_actor.rite
faith ?= scope:puppet_or_actor.faith
religious_head_or_challenger ?= {
scope:puppet_or_actor.religious_head_or_challenger ?= this
}
}
NOR = {
government_has_flag = government_is_theocracy
has_trait = excommunicated
}
scope:puppet_or_actor = {
is_at_war_with = prev
}
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_request_white_peace_enemy_trigger.
Character interactions (2)
Source: game/common/scripted_triggers/pam_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.