Scripted effect
petition_head_of_faith_clear_pending_effect
petition_head_of_faith_clear_pending_effect = yesgame/common/scripted_effects/11_petition_head_of_faith_effects.txt, line 17 (10 lines). No parameters.
petition_head_of_faith_clear_pending_effect is a scripted effect in Crusader Kings III, written at line 17 of its file. It takes no parameters: petition_head_of_faith_clear_pending_effect = yes. The game's script calls it in 3 places, among them petition_head_of_faith_travel_planner_exit (on action), petition_head_of_faith_activate_pending_effect (scripted effect) and petition_head_of_faith_clear_all_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/11_petition_head_of_faith_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (10 lines of game script)
petition_head_of_faith_clear_pending_effect = {
var:pending_petition_head_of_faith_recipient ?= {
remove_variable = petition_head_of_faith_petitioner
}
remove_variable = pending_petition_head_of_faith_type
remove_variable = pending_petition_head_of_faith_recipient
remove_variable = pending_petition_head_of_faith_target_character
remove_variable = pending_petition_head_of_faith_reserved_piety_value
remove_character_flag = pending_petition_head_of_faith_use_hook
}As written in game/common/scripted_effects/11_petition_head_of_faith_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls petition_head_of_faith_clear_pending_effect.
On actions (the game's own hooks) (1)
- petition_head_of_faith_travel_planner_exit
Source: game/common/scripted_effects/11_petition_head_of_faith_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.