CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

cynical_progression_effect

cynical_progression_effect = yes

game/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

  • If does not have the Trait: Cynical:
    • This choice may lead down a path of cynicism
    • Else, if all of these hold:
    • Else, if all of these hold:
      • Conditions:
        • Does not have the Trait: Cynical
        • Scholarship zealous cynical value more than scholarsip cynical threshold
      • Then: Gains the Trait Cynical

• 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)

2 more

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.

Spotted a mistake on this page?