Scripted trigger · By God Alone files
pam_negotiate_land_forced_piety_level_trigger
pam_negotiate_land_forced_piety_level_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 2431 (12 lines). No parameters.
pam_negotiate_land_forced_piety_level_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 2431 of its file. It takes no parameters: pam_negotiate_land_forced_piety_level_trigger = yes (or no). The game's script calls it in 5 places, among them …, Acquired (event pam_interactions_events.0035), Negotiations for … (event pam_interactions_events.0030) and pam_available_negotiation_methods_tooltip_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
One of these
All of these
piety_level > scope:recipient.piety_levelscope:recipient.piety_level = 0
or
All of these
- Piety level at least 5
scope:recipient.piety_level <= 1
• 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 (12 lines of game script)
pam_negotiate_land_forced_piety_level_trigger = {
OR = {
AND = {
piety_level > scope:recipient.piety_level
scope:recipient.piety_level = 0
}
AND = {
piety_level >= 5
scope:recipient.piety_level <= 1
}
}
}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_negotiate_land_forced_piety_level_trigger.
Events (2)
- …, Acquired
pam_interactions_events.0035 - Negotiations for …
pam_interactions_events.0030
Scripted effects (2)
Scripted triggers (1)
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.