Scripted effect
create_holy_order_neutral_effect
create_holy_order_neutral_effect = { CAPITAL = … FOUNDER = … LEADER = … NEW_HO_SCOPE = … ORDER_TYPE = … }game/common/scripted_effects/00_religion_effects.txt, line 557 (29 lines). Parameters: $CAPITAL$, $FOUNDER$, $LEADER$, $NEW_HO_SCOPE$, $ORDER_TYPE$.
create_holy_order_neutral_effect is a scripted effect in Crusader Kings III, written at line 557 of its file. A call passes 5 parameters: CAPITAL, FOUNDER, LEADER, NEW_HO_SCOPE and ORDER_TYPE. The game's script calls it in 7 places, among them Found Military Order (decision), A Bold Gesture (event coronation_events.1032) and A Movement Rises in … (event holy_order.2050). Patch 1.20.1.2, from game/common/scripted_effects/00_religion_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (29 lines of game script)
create_holy_order_neutral_effect = {
# Create a general Holy Order.
create_holy_order = {
leader = $LEADER$
founder = $FOUNDER$
random_holy_order_type = $ORDER_TYPE$
capital = $CAPITAL$
save_scope_as = $NEW_HO_SCOPE$
}
# Struggle Catalysts.
$FOUNDER$ = {
if = {
limit = {
any_character_struggle = {
involvement = involved
phase_has_catalyst = catalyst_creating_a_holy_order
}
}
every_character_struggle = {
involvement = involved
limit = { phase_has_catalyst = catalyst_creating_a_holy_order }
activate_struggle_catalyst = {
catalyst = catalyst_creating_a_holy_order
character = $FOUNDER$
}
}
}
}
}As written in game/common/scripted_effects/00_religion_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls create_holy_order_neutral_effect.
Decisions (1)
Events (2)
- A Bold Gesture
coronation_events.1032 - A Movement Rises in …
holy_order.2050
On actions (the game's own hooks) (1)
- on_building_completed
Source: game/common/scripted_effects/00_religion_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.