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_prune_failees_effect

imperial_examination_prune_failees_effect = yes

game/common/scripted_effects/tgp_imperial_examination_scripted_effects.txt, line 1770 (21 lines). No parameters.

imperial_examination_prune_failees_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 1770 of its file. It takes no parameters: imperial_examination_prune_failees_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.

What it does

  • If has “failee to be removed” (a variable the game's script sets) › If played by the AI › scope:activity:
    • remove_from_guest_subset = { name = entrants target = scope:temp_char }
    • add_to_guest_subset = { name = failees target = scope:temp_char }

• 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 (21 lines of game script)
imperial_examination_prune_failees_effect = {
	if = {
		limit = { has_variable = failee_to_be_removed }
		save_temporary_scope_as = temp_char
		#Don't fail players
		if = {
			limit = { is_ai = yes }
			scope:activity = {
				remove_from_guest_subset = { 
					name = entrants
					target = scope:temp_char
				}
				add_to_guest_subset = { 
					name = failees
					target = scope:temp_char
				}
			}
		}
		remove_variable ?= failee_to_be_removed
	}
}

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