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

Scripted trigger · The Royal Court files

character_can_be_employed_in_a_court_position_trigger

character_can_be_employed_in_a_court_position_trigger = { CHARACTER = … }

game/common/scripted_triggers/02_ep1_scripted_triggers.txt, line 146 (100 lines). Parameters: $CHARACTER$.

character_can_be_employed_in_a_court_position_trigger is a scripted trigger in Crusader Kings III, in the The Royal Court files, written at line 146 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 1 place, among them Lonely Days (event court_yearly.5001). Patch 1.20.1.2, from game/common/scripted_triggers/02_ep1_scripted_triggers.txt.

The comment above it in the file

Used to see if the scoped character has ANY court position that CHARACTER can hold

What it checks

  • One of these

    • All of these

      • can_employ_court_position_type = court_physician_court_position
      • $CHARACTER$ = { can_be_employed_as = court_physician_court_position }
    • or

      All of these

      • can_employ_court_position_type = master_of_horse_court_position
      • $CHARACTER$ = { can_be_employed_as = master_of_horse_court_position }
    • or

      All of these

      • can_employ_court_position_type = master_of_hunt_court_position
      • $CHARACTER$ = { can_be_employed_as = master_of_hunt_court_position }
    • or

      All of these

      • can_employ_court_position_type = keeper_of_swans_court_position
      • $CHARACTER$ = { can_be_employed_as = keeper_of_swans_court_position }
    • or

      All of these

      • can_employ_court_position_type = travel_leader_court_position
      • $CHARACTER$ = { can_be_employed_as = travel_leader_court_position }
    • or

      All of these

      • can_employ_court_position_type = court_jester_court_position
      • $CHARACTER$ = { can_be_employed_as = court_jester_court_position }
    • or

      All of these

      • can_employ_court_position_type = high_almoner_court_position
      • $CHARACTER$ = { can_be_employed_as = high_almoner_court_position }
    • or

      All of these

      • can_employ_court_position_type = seneschal_court_position
      • $CHARACTER$ = { can_be_employed_as = seneschal_court_position }
    • or

      All of these

      • can_employ_court_position_type = court_tutor_court_position
      • $CHARACTER$ = { can_be_employed_as = court_tutor_court_position }
    • or

      All of these

      • can_employ_court_position_type = court_guru_court_position
      • $CHARACTER$ = { can_be_employed_as = court_guru_court_position }
    • or

      All of these

      • can_employ_court_position_type = cupbearer_court_position
      • $CHARACTER$ = { can_be_employed_as = cupbearer_court_position }
    • or

      All of these

      • can_employ_court_position_type = chief_eunuch_court_position
      • $CHARACTER$ = { can_be_employed_as = chief_eunuch_court_position }
    • or

      All of these

      • can_employ_court_position_type = antiquarian_court_position
      • $CHARACTER$ = { can_be_employed_as = antiquarian_court_position }
    • or

      All of these

      • can_employ_court_position_type = royal_architect_court_position
      • $CHARACTER$ = { can_be_employed_as = royal_architect_court_position }
    • or

      All of these

      • can_employ_court_position_type = lady_in_waiting_court_position
      • $CHARACTER$ = { can_be_employed_as = lady_in_waiting_court_position }
    • or

      All of these

      • can_employ_court_position_type = court_poet_court_position
      • $CHARACTER$ = { can_be_employed_as = court_poet_court_position }
    • or

      All of these

      • can_employ_court_position_type = court_musician_court_position
      • $CHARACTER$ = { can_be_employed_as = court_musician_court_position }
    • or

      All of these

      • can_employ_court_position_type = bodyguard_court_position
      • $CHARACTER$ = { can_be_employed_as = bodyguard_court_position }
    • or

      All of these

      • can_employ_court_position_type = champion_court_position
      • $CHARACTER$ = { can_be_employed_as = champion_court_position }
    • or

      All of these

      • can_employ_court_position_type = food_taster_court_position
      • $CHARACTER$ = { can_be_employed_as = food_taster_court_position }
    • or

      All of these

      • can_employ_court_position_type = executioner_court_position
      • $CHARACTER$ = { can_be_employed_as = executioner_court_position }
    • or

      All of these

      • can_employ_court_position_type = garuda_court_position
      • $CHARACTER$ = { can_be_employed_as = garuda_court_position }
    • or

      All of these

      • can_employ_court_position_type = wet_nurse_court_position
      • $CHARACTER$ = { can_be_employed_as = wet_nurse_court_position }
    • or

      All of these

      • can_employ_court_position_type = akolouthos_court_position
      • $CHARACTER$ = { can_be_employed_as = akolouthos_court_position }

• 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 (100 lines of game script)
character_can_be_employed_in_a_court_position_trigger = {
	OR = {
		AND = {
			can_employ_court_position_type = court_physician_court_position
			$CHARACTER$ = { can_be_employed_as = court_physician_court_position }
		}
		AND = {
			can_employ_court_position_type = master_of_horse_court_position
			$CHARACTER$ = { can_be_employed_as = master_of_horse_court_position }
		}
		AND = {
			can_employ_court_position_type = master_of_hunt_court_position
			$CHARACTER$ = { can_be_employed_as = master_of_hunt_court_position }
		}
		AND = {
			can_employ_court_position_type = keeper_of_swans_court_position
			$CHARACTER$ = { can_be_employed_as = keeper_of_swans_court_position }
		}
		AND = {
			can_employ_court_position_type = travel_leader_court_position
			$CHARACTER$ = { can_be_employed_as = travel_leader_court_position }
		}
		AND = {
			can_employ_court_position_type = court_jester_court_position
			$CHARACTER$ = { can_be_employed_as = court_jester_court_position }
		}
		AND = {
			can_employ_court_position_type = high_almoner_court_position
			$CHARACTER$ = { can_be_employed_as = high_almoner_court_position }
		}
		AND = {
			can_employ_court_position_type = seneschal_court_position
			$CHARACTER$ = { can_be_employed_as = seneschal_court_position }
		}
		AND = {
			can_employ_court_position_type = court_tutor_court_position
			$CHARACTER$ = { can_be_employed_as = court_tutor_court_position }
		}
		AND = {
			can_employ_court_position_type = court_guru_court_position
			$CHARACTER$ = { can_be_employed_as = court_guru_court_position }
		}
		AND = {
			can_employ_court_position_type = cupbearer_court_position
			$CHARACTER$ = { can_be_employed_as = cupbearer_court_position }
		}
		AND = {
			can_employ_court_position_type = chief_eunuch_court_position
			$CHARACTER$ = { can_be_employed_as = chief_eunuch_court_position }
		}
		AND = {
			can_employ_court_position_type = antiquarian_court_position
			$CHARACTER$ = { can_be_employed_as = antiquarian_court_position }
		}
		AND = {
			can_employ_court_position_type = royal_architect_court_position
			$CHARACTER$ = { can_be_employed_as = royal_architect_court_position }
		}
		AND = {
			can_employ_court_position_type = lady_in_waiting_court_position
			$CHARACTER$ = { can_be_employed_as = lady_in_waiting_court_position }
		}
		AND = {
			can_employ_court_position_type = court_poet_court_position
			$CHARACTER$ = { can_be_employed_as = court_poet_court_position }
		}
		AND = {
			can_employ_court_position_type = court_musician_court_position
			$CHARACTER$ = { can_be_employed_as = court_musician_court_position }
		}
		AND = {
			can_employ_court_position_type = bodyguard_court_position
			$CHARACTER$ = { can_be_employed_as = bodyguard_court_position }
		}
		AND = {
			can_employ_court_position_type = champion_court_position
			$CHARACTER$ = { can_be_employed_as = champion_court_position }
		}
		AND = {
			can_employ_court_position_type = food_taster_court_position
			$CHARACTER$ = { can_be_employed_as = food_taster_court_position }
		}
		AND = {
			can_employ_court_position_type = executioner_court_position
			$CHARACTER$ = { can_be_employed_as = executioner_court_position }
		}
		AND = {
			can_employ_court_position_type = garuda_court_position
			$CHARACTER$ = { can_be_employed_as = garuda_court_position }
		}
		AND = {
			can_employ_court_position_type = wet_nurse_court_position
			$CHARACTER$ = { can_be_employed_as = wet_nurse_court_position }
		}
		AND = {
			can_employ_court_position_type = akolouthos_court_position
			$CHARACTER$ = { can_be_employed_as = akolouthos_court_position }
		}
	}
}

As written in game/common/scripted_triggers/02_ep1_scripted_triggers.txt.

Where it is used

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

Events (1)

Source: game/common/scripted_triggers/02_ep1_scripted_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?