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

Scripted effect · All Under Heaven files

imperial_examination_clean_up_phase_variables_effect

imperial_examination_clean_up_phase_variables_effect = yes

game/common/scripted_effects/tgp_imperial_examination_scripted_effects.txt, line 1793 (20 lines). No parameters.

imperial_examination_clean_up_phase_variables_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 1793 of its file. It takes no parameters: imperial_examination_clean_up_phase_variables_effect = yes. The game's script calls it in 2 places, among them Capital Examination (activity) and Local Examination (activity). Patch 1.20.1.2, from game/common/scripted_effects/tgp_imperial_examination_scripted_effects.txt.

The comment above it in the file

After each Phase

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (20 lines of game script)
imperial_examination_clean_up_phase_variables_effect = {
	scope:activity = {
		every_attending_character = {
			#Exams
			remove_variable ?= had_essay_examination
			remove_variable ?= had_classics_examination
			remove_variable ?= had_poetry_examination
			remove_variable ?= been_caught_cheating
			#Cheats
			remove_variable ?= has_exam_taker
			remove_variable ?= has_bribed_examiner
			#Advantages
			remove_variable ?= has_exam_advantage
			remove_variable ?= has_stayed_up_studying
			remove_variable ?= has_studied_with_friend
			#Events
			remove_variable ?= has_greeted_palace_entrants
		}
	}
}

As written in game/common/scripted_effects/tgp_imperial_examination_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls imperial_examination_clean_up_phase_variables_effect.

Source: game/common/scripted_effects/tgp_imperial_examination_scripted_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?