Scripted effect · All Under Heaven files
imperial_examination_clean_up_variables_effect
imperial_examination_clean_up_variables_effect = yesgame/common/scripted_effects/tgp_imperial_examination_scripted_effects.txt, line 1228 (37 lines). No parameters.
imperial_examination_clean_up_variables_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 1228 of its file. It takes no parameters: imperial_examination_clean_up_variables_effect = yes. The game's script calls it in 2 places, among them Releasing the Roll (event imperial_examination.7000) and Releasing the Roll (event imperial_examination.7001). Patch 1.20.1.2, from game/common/scripted_effects/tgp_imperial_examination_scripted_effects.txt.
The comment above it in the file
When the Activity is concluded
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (37 lines of game script)
imperial_examination_clean_up_variables_effect = {
#Exams
remove_variable ?= had_essay_examination
remove_variable ?= had_classics_examination
remove_variable ?= had_poetry_examination
remove_variable ?= had_archery_examination
remove_variable ?= had_polearm_examination
remove_variable ?= had_riding_examination
remove_variable ?= been_caught_cheating
remove_variable ?= been_caught_cheating_longterm
remove_variable ?= imperial_examination_score
remove_variable ?= temporary_exam_score
remove_variable ?= discovering_examiner
remove_character_flag ?= exam_cheat_intent
remove_character_flag ?= exam_perform_intent
remove_character_flag ?= set_activity_intent
remove_variable ?= has_perfect_score
remove_variable ?= has_great_score
remove_variable ?= has_decent_score
remove_variable ?= has_questionable_score
remove_variable ?= your_exam_position
#Cheats
remove_variable ?= has_exam_taker
remove_variable ?= has_bribed_examiner
remove_variable ?= has_blackmailed_examiner
remove_variable ?= has_planted_answers
remove_variable ?= parent_has_bribed_examiner
#Advantages
remove_variable ?= has_exam_advantage
remove_variable ?= has_stayed_up_studying
remove_variable ?= has_studied_with_friend
#Palace Flags
remove_character_flag ?= palace_success
remove_character_flag ?= palace_great_success
remove_character_flag ?= palace_critical_success
remove_character_flag ?= safe_start
}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_variables_effect.
Events (2)
- Releasing the Roll
imperial_examination.7000 - Releasing the Roll
imperial_examination.7001
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.