Scripted trigger
court_position_obligation_hook_salary_trigger
court_position_obligation_hook_salary_trigger = { LIEGE = … POS = … }game/common/scripted_triggers/00_court_position_triggers.txt, line 1264 (24 lines). Parameters: $LIEGE$, $POS$.
court_position_obligation_hook_salary_trigger is a scripted trigger in Crusader Kings III, written at line 1264 of its file. A call passes 2 parameters: LIEGE and POS. The game's script calls it in 82 places, among them free_court_position_revoke_trigger (scripted trigger), akolouthos_total_salary_value (script value) and antiquarian_total_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
Halved via obligation hook
What it checks
If
a check the game hides
Then
$LIEGE$ = { … }
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 (24 lines of game script)
court_position_obligation_hook_salary_trigger = {
trigger_if = {
limit = { exists = $LIEGE$ }
$LIEGE$ = {
employs_court_position = $POS$_court_position
any_court_position_holder = {
type = $POS$_court_position
$LIEGE$ = {
OR = {
has_hook_of_type = {
type = obligation_hook
target = prev
}
has_hook_of_type = {
type = strong_obligation_hook
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_obligation_hook_salary_trigger.
Scripted triggers (1)
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.