Scripted effect
learning_theology_3021_outcome_effect
learning_theology_3021_outcome_effect = yesgame/common/scripted_effects/00_learning_lifestyle_effects.txt, line 1393 (56 lines). No parameters.
learning_theology_3021_outcome_effect is a scripted effect in Crusader Kings III, written at line 1393 of its file. It takes no parameters: learning_theology_3021_outcome_effect = yes. The game's script calls it in 1 place, among them Holy Letter (event learning_theology.3021). Patch 1.20.1.2, from game/common/scripted_effects/00_learning_lifestyle_effects.txt.
What it does
Otherwise
- 1 of 3 things will happen:
- 33% – Your compliment is well-received:
- 33% – Your compliment falls flat:
add_diplomacy_lifestyle_xp = minor_lifestyle_xp
- 33% – Your compliment comes across as an insult:
- 1 of 3 things will happen:
• 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 (56 lines of game script)
learning_theology_3021_outcome_effect = {
if = {
limit = {
exists = scope:believer
has_relation_friend = scope:believer
}
show_as_tooltip = { theology_3021_a_success_effect = yes }
}
else = {
random_list = {
1 = {
desc = diplomacy_majesty.0004.success.tt
show_chance = no
show_as_tooltip = { theology_3021_a_success_effect = yes }
}
1 = {
desc = diplomacy_majesty.0004.neutral.tt
show_chance = no
show_as_tooltip = {
add_diplomacy_lifestyle_xp = minor_lifestyle_xp
}
}
1 = {
desc = diplomacy_majesty.0004.failure.tt
show_chance = no
show_as_tooltip = { theology_3021_a_failure_effect = yes }
}
}
}
hidden_effect = {
if = {
limit = {
exists = scope:compliment_outcome
scope:compliment_outcome = flag:good
}
trigger_event = { id = learning_theology.3022 days = { 7 14 } }
}
else_if = {
limit = {
exists = scope:compliment_outcome
scope:compliment_outcome = flag:neutral
}
trigger_event = { id = learning_theology.3023 days = { 7 14 } }
}
else_if = {
limit = {
exists = scope:compliment_outcome
scope:compliment_outcome = flag:bad
}
trigger_event = { id = learning_theology.3024 days = { 7 14 } }
}
}
}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_3021_outcome_effect.
Events (1)
- Holy Letter
learning_theology.3021
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.