Scripted trigger · All Under Heaven files
is_military_candidate_trigger
is_military_candidate_trigger = yesgame/common/scripted_triggers/10_tgp_triggers.txt, line 324 (11 lines). No parameters.
is_military_candidate_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 324 of its file. It takes no parameters: is_military_candidate_trigger = yes (or no). The game's script calls it in 3 places, among them Ask for Governorship (interaction), Influence Career (interaction) and Make a Request (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_triggers.txt.
What it checks
- If has “appointment trait override” (a variable the game's script sets): Appointment trait override is trait:education martial 1
- Otherwise: Has one of the traits: Misguided Warrior, Tough Soldier, Skilled Tactician, Brilliant Strategist, Exalted Warlord
• 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 (11 lines of game script)
is_military_candidate_trigger = {
trigger_if = {
limit = {
has_variable = appointment_trait_override
}
var:appointment_trait_override = trait:education_martial_1
}
trigger_else = {
has_trait_with_flag = military_province
}
}As written in game/common/scripted_triggers/10_tgp_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_military_candidate_trigger.
Character interactions (3)
Source: game/common/scripted_triggers/10_tgp_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.