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

Scripted trigger

base_court_position_validity_trigger

base_court_position_validity_trigger = { EMPLOYER = … }

game/common/scripted_triggers/00_court_position_triggers.txt, line 398 (14 lines). Parameters: $EMPLOYER$.

base_court_position_validity_trigger is a scripted trigger in Crusader Kings III, written at line 398 of its file. A call passes 1 parameter: EMPLOYER. The game's script calls it in 77 places, among them akolouthos_validity_trigger (scripted trigger), antiquarian_validity_trigger (scripted trigger) and archer_captain_validity_trigger (scripted trigger). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/00_court_position_triggers.txt.

What it checks

• 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 (14 lines of game script)
base_court_position_validity_trigger = { # would_be_valid_for_court_position ultimately traces back to this, so touch with caution
	is_imprisoned = no
	NOT = {
		is_at_war_with = $EMPLOYER$
	}
	custom_tooltip = {
		text = not_travel_option_character
		NOT = { has_character_flag = travel_option_added_character }
	}
	custom_tooltip = {
		text = is_not_a_ceremonial_liege_trigger
		tgp_is_ceremonial_liege_trigger = no
	}
}

As written in game/common/scripted_triggers/00_court_position_triggers.txt.

Where it is used

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

Scripted triggers (77)

71 more

Source: game/common/scripted_triggers/00_court_position_triggers.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?