Scripted effect
court_position_old_holder_effect
court_position_old_holder_effect = { EMPLOYER = … POS = … }game/common/scripted_effects/00_court_position_effects.txt, line 623 (11 lines). Parameters: $EMPLOYER$, $POS$.
court_position_old_holder_effect is a scripted effect in Crusader Kings III, written at line 623 of its file. A call passes 2 parameters: EMPLOYER and POS. The game's script calls it in 3 places, among them Eminent Eunuch: … (event ep3_story_cycle_admin_eunuch.1001), Serious Business (event hold_court.8110) and court_position_generator_variable_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_court_position_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (11 lines of game script)
court_position_old_holder_effect = { # Save existing holder if relevant
$EMPLOYER$ = {
if = {
limit = { employs_court_position = $POS$_court_position }
random_court_position_holder = {
type = $POS$_court_position
save_scope_as = old_holder
}
}
}
}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 court_position_old_holder_effect.
Events (2)
- Eminent Eunuch: …
ep3_story_cycle_admin_eunuch.1001 - Serious Business
hold_court.8110
Scripted effects (1)
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.