Scripted effect · By God Alone files
pam_holy_myron_journey_cleanup_effect
pam_holy_myron_journey_cleanup_effect = yesgame/common/scripted_effects/pam_effects.txt, line 14628 (13 lines). No parameters.
pam_holy_myron_journey_cleanup_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 14628 of its file. It takes no parameters: pam_holy_myron_journey_cleanup_effect = yes. The game's script calls it in 4 places, among them pam_holy_myron.0010 (event), The Consecration of the Myron (event pam_holy_myron.0100) and on_travel_plan_abort (on action). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
Chaplain scope: clears all Holy Myron journey bookkeeping (journey end, death, or abort).
What it does
- Loses “Bearer of the Balsams”
• 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_holy_myron_journey_cleanup_effect = {
var:pam_holy_myron_liege ?= {
remove_variable = pam_holy_myron_journey_active
}
remove_variable = pam_holy_myron_journey_tier
remove_variable = pam_holy_myron_legs
remove_variable = pam_holy_myron_expected_legs
remove_variable = pam_holy_myron_robbed
remove_variable = pam_holy_myron_ransom_fired
remove_variable = pam_holy_myron_fever_fired
remove_variable = pam_holy_myron_liege
remove_character_modifier = pam_holy_myron_pilgrim_modifier
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_holy_myron_journey_cleanup_effect.
Events (2)
- pam_holy_myron.0010
- The Consecration of the Myron
pam_holy_myron.0100
On actions (the game's own hooks) (2)
- on_travel_plan_abort
- on_travel_plan_cancel
Source: game/common/scripted_effects/pam_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.