Scripted effect
make_temporal_head_of_faith_title
make_temporal_head_of_faith_title = { TITLE = … }game/common/scripted_effects/00_major_decisions_scripted_effects_2.txt, line 144 (13 lines). Parameters: $TITLE$.
make_temporal_head_of_faith_title is a scripted effect in Crusader Kings III, written at line 144 of its file. A call passes 1 parameter: TITLE. The game's script calls it in 1 place, among them give_or_make_temporal_head_of_faith_title (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_major_decisions_scripted_effects_2.txt.
What it does
- If does NOT have the Same Faith Law: Adopts the Same Faith Law
$TITLE$ = { add_title_law = temporal_head_of_faith_succession_law }- Their faith:
set_religious_head_title = $TITLE$
• 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)
make_temporal_head_of_faith_title = {
# Set up the remaining bits'n'bobs.
if = {
limit = {
NOT = { has_realm_law = same_faith_succession_law }
}
add_realm_law_skip_effects = same_faith_succession_law
}
$TITLE$ = { add_title_law = temporal_head_of_faith_succession_law }
# Make it the HoF head.
faith = { set_religious_head_title = $TITLE$ }
save_scope_as = hof_assigned
}As written in game/common/scripted_effects/00_major_decisions_scripted_effects_2.txt.
Where it is used
Every place in common/, events/ and history/ that calls make_temporal_head_of_faith_title.
Scripted effects (1)
Source: game/common/scripted_effects/00_major_decisions_scripted_effects_2.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.