Scripted effect
set_random_religious_text_effect
set_random_religious_text_effect = yesgame/common/scripted_effects/00_scheme_scripted_effects.txt, line 13828 (95 lines). No parameters.
set_random_religious_text_effect is a scripted effect in Crusader Kings III, written at line 13828 of its file. It takes no parameters: set_random_religious_text_effect = yes. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_effects/00_scheme_scripted_effects.txt.
What it does
- 1 of 10 things will happen:
- 10%: Nothing else happens
- 10%: Nothing else happens
- 10%: Nothing else happens
- 10%: Nothing else happens
- 10%: Nothing else happens
- 10%: Nothing else happens
- 10%: Nothing else happens
- 10%: Nothing else happens
- 10%: Nothing else happens
- 10%: Nothing else happens
• 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 (95 lines of game script)
set_random_religious_text_effect = {
random_list = {
1 = {
#Christian
trigger = { faith.religion = religion:christianity_religion }
save_scope_value_as = {
name = religious_book_title
value = flag:golden_legend
}
}
1 = {
#Christian
trigger = { faith.religion = religion:christianity_religion }
save_scope_value_as = {
name = religious_book_title
value = flag:city_of_god
}
}
1 = {
#Christian
trigger = {
faith.religion = religion:christianity_religion
NOT = { faith = faith:orthodox }
}
save_scope_value_as = {
name = religious_book_title
value = flag:summa_theologica
}
}
1 = {
#Christian
trigger = {
faith.religion = religion:christianity_religion
NOT = { faith = faith:orthodox }
}
save_scope_value_as = {
name = religious_book_title
value = flag:sic_et_non
}
}
1 = {
#Christian Orthodox
trigger = {
faith = faith:orthodox
}
save_scope_value_as = {
name = religious_book_title
value = flag:chrysostomos
}
}
1 = {
#Christian Orthodox
trigger = {
faith = faith:orthodox
}
save_scope_value_as = {
name = religious_book_title
value = flag:symeon_menologion
}
}
1 = {
#Christian Orthodox
trigger = {
faith = faith:orthodox
}
save_scope_value_as = {
name = religious_book_title
value = flag:god_and_christ
}
}
1 = {
#Muslim
trigger = { faith.religion = religion:islam_religion }
save_scope_value_as = {
name = religious_book_title
value = flag:the_small_book_on_theism
}
}
1 = {
#Muslim
trigger = { faith.religion = religion:islam_religion }
save_scope_value_as = {
name = religious_book_title
value = flag:modern_philosophy
}
}
1 = {
#Any
save_scope_value_as = {
name = religious_book_title
value = flag:stories_from_holy_book
}
}
}
}As written in game/common/scripted_effects/00_scheme_scripted_effects.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_effects/00_scheme_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.