Scripted effect
cynical_progression_effect
cynical_progression_effect = yesgame/common/scripted_effects/00_learning_lifestyle_effects.txt, line 75 (55 lines). No parameters.
cynical_progression_effect is a scripted effect in Crusader Kings III, written at line 75 of its file. It takes no parameters: cynical_progression_effect = yes. The game's script calls it in 8 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 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 (55 lines of game script)
cynical_progression_effect = {
if = {
limit = { NOT = { has_trait = cynical } }
custom_tooltip = learning_cynical_path_tt
if = {
limit = {NOT = { has_variable = scholarship_zealous_cynical_value } }
if = {
limit = {
has_trait = zealous
}
set_variable = {
name = scholarship_zealous_cynical_value
value = -3
}
}
set_variable = {
name = scholarship_zealous_cynical_value
value = 1
}
}
else_if = {
limit = {
has_trait = zealous
var:scholarship_zealous_cynical_value >= -1
}
remove_trait = zealous
set_variable = {
name = scholarship_zealous_cynical_value
value = 0
}
}
else_if = {
limit = {
NOT = { has_trait = cynical }
var:scholarship_zealous_cynical_value > scholarsip_cynical_threshold
}
add_trait = cynical
}
else = {
change_variable = {
name = scholarship_zealous_cynical_value
add = 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 cynical_progression_effect.
Events (8)
- A New Translation
learning_scholarship_special.2011 - A New Translation
learning_scholarship_special.2013 - A Troubling Translation
learning_medicine.2010 - Commentaries
learning_theology_special.1101 - Lead to Gold
learning_scholarship_special.3001 - Staring at Stars
learning_theology.3003
2 more
- 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.