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_gather_guests_effect

imperial_examination_gather_guests_effect = yes

game/common/scripted_effects/tgp_imperial_examination_scripted_effects.txt, line 1292 (22 lines). No parameters.

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

  • scope:activity › Every attending character:
    • Where:
      • NOT = { is_in_guest_subset = { name = imperial_examiners } }
      • NOT = { is_in_guest_subset = { name = entrants } }
    • scope:activity:
      • add_to_guest_subset = { name = guests target = scope:temp_character }

• 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 (22 lines of game script)
imperial_examination_gather_guests_effect = {
	scope:activity = {
		every_attending_character = {
			limit = {
				# You should get as many shots at the Palace Exam as you want.
				has_character_flag = passed_palace_exam
				NOR = {
					this = scope:host
					is_in_guest_subset = { name = imperial_examiners }
					is_in_guest_subset = { name = entrants }
				}
			}
			save_temporary_scope_as = temp_character
			scope:activity = {
				add_to_guest_subset = {
					name = guests
					target = scope:temp_character
				}
			}
		}
	}
}

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