Scripted effect
rite_growth_resolve_differences_effect
rite_growth_resolve_differences_effect = yesgame/common/scripted_effects/00_religion_effects.txt, line 1176 (38 lines). No parameters.
rite_growth_resolve_differences_effect is a scripted effect in Crusader Kings III, written at line 1176 of its file. It takes no parameters: rite_growth_resolve_differences_effect = yes. The game's script calls it in 3 places, among them A Heretical Rite (event heresy_dangerous_rite.0010), A New … Rite (event rite_growth.0010) and faith_creation.1020 (event). Patch 1.20.1.2, from game/common/scripted_effects/00_religion_effects.txt.
What it does
clear_saved_scope = differing_tenetclear_saved_scope = differing_doctrinescope:new_rite:- One random rite tenet:
- Where:
status = prohibited
If
a check the game hides
Then
- One random rite tenet:
- Where:
status = known
- One random rite tenet:
- One random rite tenet:
• 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 (38 lines of game script)
rite_growth_resolve_differences_effect = {
clear_saved_scope = differing_tenet
clear_saved_scope = differing_doctrine
# Lead with prohibited so the named tenet matches the widget highlight
scope:new_rite = {
random_rite_tenet = {
status = prohibited
limit = { rite_growth_tenet_is_unique_to_new_rite_trigger = yes }
save_scope_as = differing_tenet
}
if = {
limit = { NOT = { exists = scope:differing_tenet } }
random_rite_tenet = {
status = known
limit = { rite_growth_tenet_is_unique_to_new_rite_trigger = yes }
save_scope_as = differing_tenet
}
}
if = {
limit = { NOT = { exists = scope:differing_tenet } }
random_rite_tenet = {
limit = { rite_growth_tenet_is_unique_to_new_rite_trigger = yes }
save_scope_as = differing_tenet
}
}
}
if = {
limit = { NOT = { exists = scope:differing_tenet } }
scope:founder = {
random_character_doctrine = {
limit = { rite_growth_doctrine_is_unique_to_new_rite_trigger = yes }
save_scope_as = differing_doctrine
}
}
}
}As written in game/common/scripted_effects/00_religion_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls rite_growth_resolve_differences_effect.
Events (3)
- A Heretical Rite
heresy_dangerous_rite.0010 - A New … Rite
rite_growth.0010 - faith_creation.1020
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.