Scripted trigger
has_any_lifestyle_focus_trigger
has_any_lifestyle_focus_trigger = yesgame/common/scripted_triggers/00_scripted_triggers.txt, line 123 (9 lines). No parameters.
has_any_lifestyle_focus_trigger is a scripted trigger in Crusader Kings III, written at line 123 of its file. It takes no parameters: has_any_lifestyle_focus_trigger = yes (or no). The game's script calls it in 4 places, among them The Search for Knowledge (event yearly.4071), find_third_divination_option (local effect) and gain_appropriate_lifestyle_major_xp_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/00_scripted_triggers.txt.
What it checks
One of these
has_lifestyle = diplomacy_lifestyleor
has_lifestyle = martial_lifestyleor
has_lifestyle = stewardship_lifestyleor
has_lifestyle = intrigue_lifestyleor
has_lifestyle = learning_lifestyle
• 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 (9 lines of game script)
has_any_lifestyle_focus_trigger = {
OR = {
has_lifestyle = diplomacy_lifestyle
has_lifestyle = martial_lifestyle
has_lifestyle = stewardship_lifestyle
has_lifestyle = intrigue_lifestyle
has_lifestyle = learning_lifestyle
}
}As written in game/common/scripted_triggers/00_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_any_lifestyle_focus_trigger.
Events (1)
- The Search for Knowledge
yearly.4071
Scripted effects inside an event file (1)
- find_third_divination_option
Source: game/common/scripted_triggers/00_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.