Scripted effect
learning_theology_2020_tooltip_effect
learning_theology_2020_tooltip_effect = yesgame/common/scripted_effects/00_learning_lifestyle_effects.txt, line 1058 (30 lines). No parameters.
learning_theology_2020_tooltip_effect is a scripted effect in Crusader Kings III, written at line 1058 of its file. It takes no parameters: learning_theology_2020_tooltip_effect = yes. The game's script calls it in 1 place, among them Power of the … (event learning_theology.2020). Patch 1.20.1.2, from game/common/scripted_effects/00_learning_lifestyle_effects.txt.
What it does
- 1 of 3 things will happen:
- 33% – … … is flattered:
- Gain +100 Piety
reverse_add_opinion = { target = scope:court_chaplain modifier = kindness_opinion opinion = 30 }
- 33% – … … is pleased: Gain +100 Piety
- 33% – … … thinks I am mocking …:
reverse_add_opinion = { target = scope:court_chaplain modifier = insulted_opinion opinion = -15 }
- 33% – … … is flattered:
• 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 (30 lines of game script)
learning_theology_2020_tooltip_effect = {
show_as_tooltip = {
random_list = {
1 = { #GREAT
desc = learning_theology.2020.success.desc
show_chance = no
add_piety = medium_piety_gain
reverse_add_opinion = {
target = scope:court_chaplain
modifier = kindness_opinion
opinion = 30
}
}
1 = { #GOOD
desc = learning_theology.2020.neutral.desc
show_chance = no
add_piety = medium_piety_gain
}
1 = { #BAD
desc = learning_theology.2020.failure.desc
show_chance = no
reverse_add_opinion = {
target = scope:court_chaplain
modifier = insulted_opinion
opinion = -15
}
}
}
}
}As written in game/common/scripted_effects/00_learning_lifestyle_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls learning_theology_2020_tooltip_effect.
Events (1)
- Power of the …
learning_theology.2020
Source: game/common/scripted_effects/00_learning_lifestyle_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.