Scripted effect
zealous_progression_effect
zealous_progression_effect = yesgame/common/scripted_effects/00_learning_lifestyle_effects.txt, line 16 (56 lines). No parameters.
zealous_progression_effect is a scripted effect in Crusader Kings III, written at line 16 of its file. It takes no parameters: zealous_progression_effect = yes. The game's script calls it in 10 places, among them A New Translation (event learning_scholarship_special.2011), A New Translation (event learning_scholarship_special.2013) and A Troubling Translation (event learning_medicine.2010). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_learning_lifestyle_effects.txt.
The comment above it in the file
Scholarship Zealous Progression
What it does
• 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)
zealous_progression_effect = {
if = {
limit = {
NOT = { has_trait = zealous }
}
custom_tooltip = learning_zealous_path_tt
if = {
limit = { NOT = { has_variable = scholarship_zealous_cynical_value } }
if = {
limit = {
has_trait = cynical
}
set_variable = {
name = scholarship_zealous_cynical_value
value = 3
}
}
set_variable = {
name = scholarship_zealous_cynical_value
value = -1
}
}
else_if = {
limit = {
has_trait = cynical
var:scholarship_zealous_cynical_value <= 1
}
remove_trait = cynical
set_variable = {
name = scholarship_zealous_cynical_value
value = 0
}
}
else_if = {
limit = {
var:scholarship_zealous_cynical_value < scholarship_zealous_threshold
}
add_trait = zealous
}
else = {
change_variable = {
name = scholarship_zealous_cynical_value
subtract = 1
}
}
random_owned_story = {
limit = {
story_type = book_translation_story
}
set_variable = {
name = scholarship_zealous_cynical_value
value = prev.var:scholarship_zealous_cynical_value
}
}
}
}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 zealous_progression_effect.
Events (10)
- A New Translation
learning_scholarship_special.2011 - A New Translation
learning_scholarship_special.2013 - A Troubling Translation
learning_medicine.2010 - Apocrypha
learning_theology_special.1001 - Commentaries
learning_theology_special.1101 - Lead to Gold
learning_scholarship_special.3001
4 more
- Secrets of Nature
learning_medicine.2001 - Staring at Stars
learning_theology.3003 - The Age of the World
learning_theology.3002 - Visions of the Divine
learning_scholarship.3001
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.