Scripted effect
assign_appropriate_councillor_position_effect
assign_appropriate_councillor_position_effect = { NEW_COUNCILLOR = … }game/common/scripted_effects/00_councillor_effects.txt, line 832 (54 lines). Parameters: $NEW_COUNCILLOR$.
assign_appropriate_councillor_position_effect is a scripted effect in Crusader Kings III, written at line 832 of its file. A call passes 1 parameter: NEW_COUNCILLOR. The game's script calls it in 1 place, among them A Courtly Offer (event prelude_events.0070). Patch 1.20.1.2, from game/common/scripted_effects/00_councillor_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (54 lines of game script)
assign_appropriate_councillor_position_effect = {
save_scope_as = court_owner
$NEW_COUNCILLOR$ = {
save_scope_as = new_councillor
switch = {
trigger = highest_skill
diplomacy = {
choose_and_assign_appropriate_councillor_position_effect = {
PREFERRED_POSITION = chancellor
FALLBACK_1 = steward
FALLBACK_2 = spymaster
FALLBACK_3 = marshal
FALLBACK_4 = court_chaplain
}
}
intrigue = {
choose_and_assign_appropriate_councillor_position_effect = {
PREFERRED_POSITION = marshal
FALLBACK_1 = spymaster
FALLBACK_2 = steward
FALLBACK_3 = chancellor
FALLBACK_4 = court_chaplain
}
}
stewardship = {
choose_and_assign_appropriate_councillor_position_effect = {
PREFERRED_POSITION = steward
FALLBACK_1 = chancellor
FALLBACK_2 = spymaster
FALLBACK_3 = marshal
FALLBACK_4 = court_chaplain
}
}
martial = {
choose_and_assign_appropriate_councillor_position_effect = {
PREFERRED_POSITION = spymaster
FALLBACK_1 = steward
FALLBACK_2 = chancellor
FALLBACK_3 = marshal
FALLBACK_4 = court_chaplain
}
}
learning = {
choose_and_assign_appropriate_councillor_position_effect = {
PREFERRED_POSITION = court_chaplain
FALLBACK_1 = chancellor
FALLBACK_2 = steward
FALLBACK_3 = spymaster
FALLBACK_4 = marshal
}
}
}
}
}As written in game/common/scripted_effects/00_councillor_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls assign_appropriate_councillor_position_effect.
Events (1)
- A Courtly Offer
prelude_events.0070
Source: game/common/scripted_effects/00_councillor_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.