Scripted trigger · By God Alone files
pam_is_military_order_member_trigger
pam_is_military_order_member_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 1030 (12 lines). No parameters.
pam_is_military_order_member_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 1030 of its file. It takes no parameters: pam_is_military_order_member_trigger = yes (or no). The game's script calls it in 1 place, among them pam_reform_order_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
One of these
- Their government has the government is military holy order flag
or
All of these
- Has the Trait: Military Order Member
One of these
- Their liege: Their government has the government is military holy order flag
or
Their host: Their government has the government is military holy order flag
• 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_is_military_order_member_trigger = {
OR = {
government_has_flag = government_is_military_holy_order
AND = {
has_trait = order_member
OR = {
liege ?= { government_has_flag = government_is_military_holy_order }
host ?= { government_has_flag = government_is_military_holy_order }
}
}
}
}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_is_military_order_member_trigger.
Scripted effects (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.