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

Scripted effect

zealous_progression_effect

zealous_progression_effect = yes

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

  • If does not have the Trait: Zealous:
    • This choice may lead down a path of zealousness
    • Else, if all of these hold:
    • Else, if scholarship zealous cynical value less than scholarship zealous threshold: Gains the Trait Zealous

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

4 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?