Scripted effect · Legends of the Dead files
get_superstitious_courtier_effect
get_superstitious_courtier_effect = yesgame/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt, line 278 (35 lines). No parameters.
get_superstitious_courtier_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 278 of its file. It takes no parameters: get_superstitious_courtier_effect = yes. The game's script calls it in 1 place, among them Most Haunted (event legend_spread_events.8100). Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt.
The comment above it in the file
Grabs a courtier who would plausibly be superstitious
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (35 lines of game script)
get_superstitious_courtier_effect = {
if = {
limit = {
any_courtier_or_guest = {
is_available_adult = yes
OR = {
learning <= mediocre_skill_rating
has_trait = intellect_bad
has_trait = dull
has_character_modifier = bp1_superstition_modifier
}
}
}
random_courtier_or_guest = {
limit = {
is_available_adult = yes
OR = {
learning <= mediocre_skill_rating
has_trait = intellect_bad
has_trait = dull
has_character_modifier = bp1_superstition_modifier
}
}
save_scope_as = superstitious_courtier
}
}
else = {
random_courtier_or_guest = {
limit = {
is_available_adult = yes
}
save_scope_as = superstitious_courtier
}
}
}As written in game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls get_superstitious_courtier_effect.
Events (1)
- Most Haunted
legend_spread_events.8100
Source: game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.