Scripted effect
pam_celestial_hierarchy_hire_fulfillment_effect
pam_celestial_hierarchy_hire_fulfillment_effect = { COURT_POSITION = … }game/common/scripted_effects/00_court_position_effects.txt, line 54 (22 lines). Parameters: $COURT_POSITION$.
pam_celestial_hierarchy_hire_fulfillment_effect is a scripted effect in Crusader Kings III, written at line 54 of its file. A call passes 1 parameter: COURT_POSITION. The game's script calls it in 52 places, among them Bookmaker (court position), Champion Charioteer (court position) and Cherbi (court position). Patch 1.20.1.2, from game/common/scripted_effects/00_court_position_effects.txt.
The comment above it in the file
PAM Celestial Hierarchy personal tenet: fulfillment on high-aptitude hire Needs COURT_POSITION = <court_position_type>
What it does
scope:liege:If
- The Personal Tenets unlock tenet celestial hierarchy sp from court position
scope:employee:aptitude = { court_position = $COURT_POSITION$ value >= 3 }
Then
- Spiritual fulfillment +3
• 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)
pam_celestial_hierarchy_hire_fulfillment_effect = {
scope:liege = {
if = {
limit = {
has_personal_tenet_flag = tenet_celestial_hierarchy_sp_from_court_position
scope:employee = {
aptitude = {
court_position = $COURT_POSITION$
value >= 3
}
}
}
send_interface_toast = {
type = event_generic_good
title = pam_celestial_hierarchy_hire_sp_toast
left_icon = scope:liege
right_icon = scope:employee
change_spiritual_fulfillment = minor_spiritual_fulfillment_value
}
}
}
}As written in game/common/scripted_effects/00_court_position_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_celestial_hierarchy_hire_fulfillment_effect.
Court positions (22)
Scripted effects (30)
- akolouthos_title_accepted_effect
- antiquarian_title_accepted_effect
- bodyguard_title_accepted_effect
- champion_title_accepted_effect
- chief_eunuch_title_accepted_effect
- court_brewmaster_title_accepted_effect
24 more
- court_gardener_title_accepted_effect
- court_jester_title_accepted_effect
- court_musician_title_accepted_effect
- court_physician_title_accepted_effect
- court_poet_title_accepted_effect
- court_travel_leader_title_accepted_effect
- court_tutor_title_accepted_effect
- cupbearer_title_accepted_effect
- executioner_title_accepted_effect
- fire_dragon_engineer_title_accepted_effect
- food_taster_title_accepted_effect
- garuda_title_accepted_effect
- grand_guardian_title_accepted_effect
- grand_mentor_title_accepted_effect
- grand_preceptor_title_accepted_effect
- high_almoner_title_accepted_effect
- keeper_of_swans_title_accepted_effect
- keeper_of_the_harem_title_accepted_effect
- lady_in_waiting_title_accepted_effect
- master_of_horse_title_accepted_effect
- master_of_hunt_title_accepted_effect
- royal_architect_title_accepted_effect
- seneschal_title_accepted_effect
- wet_nurse_title_accepted_effect
Source: game/common/scripted_effects/00_court_position_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.