Scripted trigger
has_focus_martial
has_focus_martial = yesgame/common/scripted_triggers/00_lifestyle_triggers.txt, line 284 (8 lines). No parameters.
has_focus_martial is a scripted trigger in Crusader Kings III, written at line 284 of its file. It takes no parameters: has_focus_martial = yes (or no). The game's script calls it in 14 places, among them Available Perks (…) (important action), Available Perks (…) (important action) and A Sublime Vision (event mpo_events_tova.0030). Patch 1.20.1.2, from game/common/scripted_triggers/00_lifestyle_triggers.txt.
What it checks
One of these
has_focus = martial_chivalry_focusor
has_focus = martial_authority_focusor
has_focus = martial_strategy_focusor
has_focus = martial_adventurer_focus
• 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 (8 lines of game script)
has_focus_martial = {
OR = {
has_focus = martial_chivalry_focus
has_focus = martial_authority_focus
has_focus = martial_strategy_focus
has_focus = martial_adventurer_focus
}
}As written in game/common/scripted_triggers/00_lifestyle_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_focus_martial.
Important actions (2)
- Available Perks (…)
- Available Perks (…)
Events (7)
- A Sublime Vision
mpo_events_tova.0030 - An Oni's Melody
tgp_japan_yearly_events.1020 - Inspiration Funded
fund_inspiration.0031 - The Anointment
coronation_events.6130 - The Call of the Steel
ep2_locale_events.5000 - The Fickleness of Youth
childhood_education.0004
1 more
- The Pledge to the …
coronation_events.6120
Scripted effects inside an event file (3)
- coronation_events_6010_defender_effect_2
- ep2_locale_events_5000_martial_effect
- fund_inspiration_0031_pick_options_to_show_effect
Scripted triggers inside an event file (1)
- fund_inspiration_0031_focus_option_trigger
Scripted triggers (1)
Source: game/common/scripted_triggers/00_lifestyle_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.