Scripted trigger
has_lifestyle_trait
has_lifestyle_trait = yesgame/common/scripted_triggers/00_general_trait_triggers.txt, line 1156 (10 lines). No parameters.
has_lifestyle_trait is a scripted trigger in Crusader Kings III, written at line 1156 of its file. It takes no parameters: has_lifestyle_trait = yes (or no). The game's script calls it in 2 places, among them Trouble in the Garden (event yearly.9100) and fund_inspiration_0031_lifestyle_option_trigger (local trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_general_trait_triggers.txt.
What it checks
One of these
- Has the Trait: Eager Reveler
or
Has the Trait: Aspiring Blademasteror
Has the Trait: Hunteror
Has the Trait: Wise Manor
Has the Trait: Herbalistor
Has the Trait: Novice Physician
• 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 (10 lines of game script)
has_lifestyle_trait = {
OR = {
has_trait = lifestyle_reveler
has_trait = lifestyle_blademaster
has_trait = lifestyle_hunter
has_trait = lifestyle_mystic
has_trait = lifestyle_herbalist
has_trait = lifestyle_physician
}
}As written in game/common/scripted_triggers/00_general_trait_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_lifestyle_trait.
Events (1)
- Trouble in the Garden
yearly.9100
Scripted triggers inside an event file (1)
- fund_inspiration_0031_lifestyle_option_trigger
Source: game/common/scripted_triggers/00_general_trait_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.