Scripted trigger
has_focus_learning
has_focus_learning = yesgame/common/scripted_triggers/00_lifestyle_triggers.txt, line 293 (8 lines). No parameters.
has_focus_learning is a scripted trigger in Crusader Kings III, written at line 293 of its file. It takes no parameters: has_focus_learning = yes (or no). The game's script calls it in 14 places, among them apa_studying_scripture (activity pulse), Available Perks (…) (important action) and Available Perks (…) (important action). Patch 1.20.1.2, from game/common/scripted_triggers/00_lifestyle_triggers.txt.
What it checks
One of these
has_focus = learning_theology_focusor
has_focus = learning_scholarship_focusor
has_focus = learning_medicine_focusor
has_focus = learning_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_learning = {
OR = {
has_focus = learning_theology_focus
has_focus = learning_scholarship_focus
has_focus = learning_medicine_focus
has_focus = learning_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_learning.
Activity pulse actions (1)
- apa_studying_scripture
Important actions (2)
- Available Perks (…)
- Available Perks (…)
Events (7)
- … Deer
tgp_japan_yearly_events.1110 - …: Suq al-Warraqin
travel_events_cities.1010 - An Oni's Melody
tgp_japan_yearly_events.1020 - Beguiling Strokes
tgp_japan_yearly_events.1170 - Inspiration Funded
fund_inspiration.0031 - Inspiration Funded
fund_inspiration.5011
1 more
- The Fickleness of Youth
childhood_education.0004
Scripted effects inside an event file (1)
- fund_inspiration_0031_pick_options_to_show_effect
Scripted triggers inside an event file (1)
- fund_inspiration_0031_focus_option_trigger
Scripted effects (1)
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.