Scripted effect
theology_3021_a_success_effect
theology_3021_a_success_effect = yesgame/common/scripted_effects/00_learning_lifestyle_effects.txt, line 1357 (17 lines). No parameters.
theology_3021_a_success_effect is a scripted effect in Crusader Kings III, written at line 1357 of its file. It takes no parameters: theology_3021_a_success_effect = yes. The game's script calls it in 3 places, among them learning_theology.3022 (event), learning_theology_3021_outcome_effect (scripted effect) and sway_ongoing_1002_outcome_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_learning_lifestyle_effects.txt.
What it does
add_learning_lifestyle_xp = minor_lifestyle_xp- scope:compliment_receiver: Opinion: Respect (+20)
• 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 (17 lines of game script)
theology_3021_a_success_effect = {
if = {
limit = {
exists = scope:believer
NOT = { has_relation_friend = scope:believer }
}
set_relation_friend = { reason = friend_wrote_letter_together target = scope:believer }
}
add_learning_lifestyle_xp = minor_lifestyle_xp
scope:compliment_receiver = {
add_opinion = {
target = root
modifier = respect_opinion
opinion = 20
}
}
}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 theology_3021_a_success_effect.
Events (1)
Scripted effects (2)
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.