Scripted trigger
has_same_lifestyle_as_root_trigger
has_same_lifestyle_as_root_trigger = yesgame/common/scripted_triggers/00_general_trait_triggers.txt, line 278 (56 lines). No parameters.
has_same_lifestyle_as_root_trigger is a scripted trigger in Crusader Kings III, written at line 278 of its file. It takes no parameters: has_same_lifestyle_as_root_trigger = yes (or no). The game's script calls it in 1 place, among them The Things We Do (event spouse.0003). Patch 1.20.1.2, from game/common/scripted_triggers/00_general_trait_triggers.txt.
What it checks
One of these
or
All of these
- Has the Trait: Eager Reveler
- You: Has the Trait: Eager Reveler
or
All of these
- Has the Trait: Aspiring Blademaster
- You: Has the Trait: Aspiring Blademaster
or
or
All of these
- Has the Trait: Strategist
- You: Has the Trait: Strategist
or
or
All of these
has_intrigue_lifestyle_trait_trigger = yes- You:
or
or
or
All of these
has_learning_lifestyle_trait_trigger = yes- You:
or
All of these
- Has the Trait: Family Hierarch
- You: Has the Trait: Family Hierarch
or
or
• 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 (56 lines of game script)
has_same_lifestyle_as_root_trigger = {
OR = {
AND = {
has_trait = diplomat
root = { has_trait = diplomat }
}
AND = {
has_trait = lifestyle_reveler
root = { has_trait = lifestyle_reveler }
}
AND = {
has_trait = lifestyle_blademaster
root = { has_trait = lifestyle_blademaster }
}
AND = {
has_trait = lifestyle_hunter
root = { has_trait = lifestyle_hunter }
}
AND = {
has_trait = strategist
root = { has_trait = strategist }
}
AND = {
has_trait = architect
root = { has_trait = architect }
}
AND = {
has_intrigue_lifestyle_trait_trigger = yes
root = { has_intrigue_lifestyle_trait_trigger = yes }
}
AND = {
has_trait = seducer
root = { has_trait = seducer }
}
AND = {
has_trait = celibate
root = { has_trait = celibate }
}
AND = {
has_learning_lifestyle_trait_trigger = yes
root = { has_learning_lifestyle_trait_trigger = yes }
}
AND = {
has_trait = family_first
root = { has_trait = family_first }
}
AND = {
has_trait = sadistic
root = { has_trait = sadistic }
}
AND = {
has_trait = lunatic
root = { has_trait = lunatic }
}
}
}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_same_lifestyle_as_root_trigger.
Events (1)
- The Things We Do
spouse.0003
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.