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

Scripted trigger

court_position_halved_salary_trigger

court_position_halved_salary_trigger = { POS = … }

game/common/scripted_triggers/00_court_position_triggers.txt, line 1349 (18 lines). Parameters: $POS$.

court_position_halved_salary_trigger is a scripted trigger in Crusader Kings III, written at line 1349 of its file. A call passes 1 parameter: POS. The game's script calls it in 81 places, among them akolouthos_total_salary_value (script value), antiquarian_total_salary_value (script value) and bodyguard_prestige_salary_value (script value). Patch 1.20.1.2, from game/common/scripted_triggers/00_court_position_triggers.txt.

The comment above it in the file

Salary halved

What it checks

  • If

    a check the game hides

    Then

    • scope:liege:
      • Employs a … court position
      • Any court position holder › scope:liege:
        • is_target_in_variable_list = { name = halved_position_salary_employees target = prev }

    Otherwise

    • Never

• 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 (18 lines of game script)
court_position_halved_salary_trigger = {
	trigger_if = {
		limit = { exists = scope:liege }
		scope:liege = {
			employs_court_position = $POS$_court_position
			any_court_position_holder = {
				type = $POS$_court_position
				scope:liege = {
					is_target_in_variable_list = {
						name = halved_position_salary_employees
						target = prev
					}
				}
			}
		}
	}
	trigger_else = { always = 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 court_position_halved_salary_trigger.

Script values (81)

  • akolouthos_total_salary_value
  • antiquarian_total_salary_value
  • bodyguard_prestige_salary_value
  • bodyguard_total_salary_value
  • bookmaker_prestige_salary_value
  • boyan_prestige_salary_value
75 more
  • boyan_total_salary_value
  • cave_hermit_total_salary_value
  • champion_total_salary_value
  • charioteer_prestige_salary_value
  • charioteer_total_salary_value
  • cherbi_prestige_salary_value
  • cherbi_total_salary_value
  • chief_eunuch_prestige_salary_value
  • chief_eunuch_total_salary_value
  • chief_qadi_prestige_salary_value
  • chief_qadi_total_salary_value
  • chronicler_prestige_salary_value
  • chronicler_total_salary_value
  • court_artificer_prestige_salary_value
  • court_artificer_total_salary_value
  • court_astrologer_prestige_salary_value
  • court_brahmin_total_salary_value
  • court_brewmaster_prestige_salary_value
  • court_brewmaster_total_salary_value
  • court_gardener_prestige_salary_value
  • court_gardener_total_salary_value
  • court_jester_prestige_salary_value
  • court_jester_total_salary_value
  • court_musician_prestige_salary_value
  • court_musician_total_salary_value
  • court_physician_total_salary_value
  • court_poet_prestige_salary_value
  • court_poet_total_salary_value
  • court_scholar_prestige_salary_value
  • court_scholar_total_salary_value
  • court_tutor_prestige_salary_value
  • court_tutor_total_salary_value
  • cultural_emissary_prestige_salary_value
  • cultural_emissary_total_salary_value
  • eparch_total_salary_value
  • executioner_prestige_salary_value
  • fire_dragon_engineer_total_salary_value
  • food_taster_prestige_salary_value
  • food_taster_total_salary_value
  • foreign_emissary_total_salary_value
  • garuda_prestige_salary_value
  • garuda_total_salary_value
  • grand_guardian_total_salary_value
  • grand_mentor_total_salary_value
  • grand_preceptor_total_salary_value
  • high_almoner_total_salary_value
  • keeper_of_swans_prestige_salary_value
  • keeper_of_swans_total_salary_value
  • keeper_of_the_harem_total_salary_value
  • keeper_of_the_horses_prestige_salary_value
  • keeper_of_the_horses_total_salary_value
  • khlon_glan_prestige_salary_value
  • khlon_glan_total_salary_value
  • lady_in_waiting_prestige_salary_value
  • lady_in_waiting_total_salary_value
  • master_assassin_prestige_salary_value
  • master_assassin_total_salary_value
  • master_of_horse_prestige_salary_value
  • master_of_horse_total_salary_value
  • master_of_hunt_prestige_salary_value
  • master_of_hunt_total_salary_value
  • minister_bureaucrat_total_salary_value
  • royal_architect_prestige_salary_value
  • royal_architect_total_salary_value
  • seneschal_prestige_salary_value
  • seneschal_total_salary_value
  • siege_engineer_prestige_salary_value
  • siege_engineer_total_salary_value
  • travel_leader_total_salary_value
  • wet_nurse_prestige_salary_value
  • wet_nurse_total_salary_value
  • yeke_jarquchi_prestige_salary_value
  • yeke_jarquchi_total_salary_value
  • yurtchi_prestige_salary_value
  • yurtchi_total_salary_value

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?