Scripted effect
game_rule_faith_acceptance_effect
game_rule_faith_acceptance_effect = yesgame/common/scripted_effects/00_game_rule_effects.txt, line 1018 (20 lines). No parameters.
game_rule_faith_acceptance_effect is a scripted effect in Crusader Kings III, written at line 1018 of its file. It takes no parameters: game_rule_faith_acceptance_effect = yes. The game's script calls it in 1 place, among them on_game_start_after_lobby (on action). Patch 1.20.1.2, from game/common/scripted_effects/00_game_rule_effects.txt.
What it does
- Every religion global › Every faith:
- If has the Fundamentalist Doctrine:
remove_doctrine = doctrine_pluralism_fundamentalistadd_doctrine = doctrine_pluralism_pluralistic
- Else, if has the Righteous Doctrine:
remove_doctrine = doctrine_pluralism_righteousadd_doctrine = doctrine_pluralism_pluralistic
add_doctrine = special_doctrine_full_tolerance
- If has the Fundamentalist Doctrine:
• 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 (20 lines of game script)
game_rule_faith_acceptance_effect = {
every_religion_global = {
every_faith = {
#Set to pluralist, not because it matters but because it looks good
if = {
limit = { has_doctrine = doctrine_pluralism_fundamentalist }
remove_doctrine = doctrine_pluralism_fundamentalist
add_doctrine = doctrine_pluralism_pluralistic
}
else_if = {
limit = { has_doctrine = doctrine_pluralism_righteous }
remove_doctrine = doctrine_pluralism_righteous
add_doctrine = doctrine_pluralism_pluralistic
}
#Add special doctrine
add_doctrine = special_doctrine_full_tolerance
}
}
}As written in game/common/scripted_effects/00_game_rule_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls game_rule_faith_acceptance_effect.
On actions (the game's own hooks) (1)
- on_game_start_after_lobby
Source: game/common/scripted_effects/00_game_rule_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.