Scripted trigger
is_available_adult_or_is_commanding
is_available_adult_or_is_commanding = yesgame/common/scripted_triggers/00_available_for_events_triggers.txt, line 575 (6 lines). No parameters.
is_available_adult_or_is_commanding is a scripted trigger in Crusader Kings III, written at line 575 of its file. It takes no parameters: is_available_adult_or_is_commanding = yes (or no). The game's script calls it in 16 places, among them Wild Goose Chase (decision), A Battle of Ideas (event diplomacy_majesty.4030) and A Gruesome Gift (event epidemic_events.1120). Patch 1.20.1.2, from game/common/scripted_triggers/00_available_for_events_triggers.txt.
What it checks
One of these
is_commanding_army = yesor
is_available_adult = yes
• 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 (6 lines of game script)
is_available_adult_or_is_commanding = {
OR = {
is_commanding_army = yes
is_available_adult = yes
}
}As written in game/common/scripted_triggers/00_available_for_events_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_available_adult_or_is_commanding.
Decisions (1)
- Wild Goose Chase
Events (15)
- A Battle of Ideas
diplomacy_majesty.4030 - A Gruesome Gift
epidemic_events.1120 - Bankrupt!
stewardship_wealth.1001 - Camp Dispute
martial_authority.2040 - Faction Organizing
stewardship_duty.4060 - fp1_trade_events.0001
9 more
- fp1_yearly.0622
- fp1_yearly.0632
- Paying For War
stewardship_wealth.1021 - Raid or Trade: A Holy Helping Hand
fp1_trade_events.1171 - Raid or Trade: Belligerents with Benefits
fp1_trade_events.0041 - Raid or Trade: Visitors from Afar
fp1_trade_events.0021 - Strategical Impasse
martial_strategy.3010 - Vassal Factionalism
stewardship_duty.4010 - Wave after Wave: A Visage of Calm
harm.0522
Source: game/common/scripted_triggers/00_available_for_events_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.