Scripted effect
get_valid_commander_list_effect
get_valid_commander_list_effect = { ARMY_OWNER = … LIST = … }game/common/scripted_effects/00_commander_effects.txt, line 5 (14 lines). Parameters: $ARMY_OWNER$, $LIST$.
get_valid_commander_list_effect is a scripted effect in Crusader Kings III, written at line 5 of its file. A call passes 2 parameters: ARMY_OWNER and LIST. The game's script calls it in 1 place, among them An Anonymous Informant (event intrigue_scheming.1804). Patch 1.20.1.2, from game/common/scripted_effects/00_commander_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (14 lines of game script)
get_valid_commander_list_effect = {
every_vassal = {
limit = {
can_be_commander_now_trigger = { ARMY_OWNER = $ARMY_OWNER$ }
}
add_to_list = $LIST$
}
every_courtier = {
limit = {
can_be_commander_now_trigger = { ARMY_OWNER = $ARMY_OWNER$ }
}
add_to_list = $LIST$
}
}As written in game/common/scripted_effects/00_commander_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls get_valid_commander_list_effect.
Events (1)
- An Anonymous Informant
intrigue_scheming.1804
Source: game/common/scripted_effects/00_commander_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.