Scripted effect
basic_revoked_court_position_effect
basic_revoked_court_position_effect = yesgame/common/scripted_effects/00_court_position_effects.txt, line 96 (49 lines). No parameters.
basic_revoked_court_position_effect is a scripted effect in Crusader Kings III, written at line 96 of its file. It takes no parameters: basic_revoked_court_position_effect = yes. The game's script calls it in 51 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
Basic effect for losing a court position
What it does
scope:employee:If
has_opinion_modifier = { modifier = courtly_court_position_opinion target = scope:liege }
Then
remove_opinion = { modifier = courtly_court_position_opinion target = scope:liege }
If
has_opinion_modifier = { modifier = hired_me_opinion target = scope:liege }
Then
remove_opinion = { modifier = hired_me_opinion target = scope:liege }
pam_celestial_hierarchy_fire_fulfillment_effect = yesemployed_booner_invalidation_effect = { EMPLOYEE = scope:employee LIEGE = scope:liege }
• 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 (49 lines of game script)
basic_revoked_court_position_effect = {
scope:employee = {
if = {
limit = {
has_opinion_modifier = {
modifier = courtly_court_position_opinion
target = scope:liege
}
}
remove_opinion = {
modifier = courtly_court_position_opinion
target = scope:liege
}
}
if = {
limit = {
has_opinion_modifier = {
modifier = hired_me_opinion
target = scope:liege
}
}
remove_opinion = {
modifier = hired_me_opinion
target = scope:liege
}
}
if = {
limit = {
NOT = { has_character_flag = no_revoke_opinion_loss }
}
add_opinion = {
modifier = revoked_court_position_opinion
target = scope:liege
opinion = -30
}
}
# Unity impact
#add_clan_unity_interaction_effect = {
# CHARACTER = scope:liege
# TARGET = this
# VALUE = 0 #minor_unity_loss
# DESC = clan_unity_assigned_to_court_position.desc
# REVERSE_NON_HOUSE_TARGET = no
#}
}
pam_celestial_hierarchy_fire_fulfillment_effect = yes
employed_booner_invalidation_effect = { EMPLOYEE = scope:employee LIEGE = scope:liege }
}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 basic_revoked_court_position_effect.
Court positions (22)
Scripted effects (29)
- akolouthos_title_revoked_effect
- antiquarian_title_revoked_effect
- bodyguard_title_revoked_effect
- champion_title_revoked_effect
- chief_eunuch_title_revoked_effect
- court_brewmaster_title_revoked_effect
23 more
- court_gardener_title_revoked_effect
- court_musician_title_revoked_effect
- court_physician_title_revoked_effect
- court_poet_title_revoked_effect
- court_travel_leader_title_revoked_effect
- court_tutor_title_revoked_effect
- cupbearer_title_revoked_effect
- executioner_title_revoked_effect
- fire_dragon_engineer_title_revoked_effect
- food_taster_title_revoked_effect
- garuda_title_revoked_effect
- grand_guardian_title_revoked_effect
- grand_mentor_title_revoked_effect
- grand_preceptor_title_revoked_effect
- high_almoner_title_revoked_effect
- keeper_of_swans_title_revoked_effect
- keeper_of_the_harem_title_revoked_effect
- lady_in_waiting_title_revoked_effect
- master_of_horse_title_revoked_effect
- master_of_hunt_title_revoked_effect
- royal_architect_title_revoked_effect
- seneschal_title_revoked_effect
- wet_nurse_title_revoked_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.