Scripted trigger
has_completed_current_lifestyle_trigger
has_completed_current_lifestyle_trigger = yesgame/common/scripted_triggers/00_lifestyle_triggers.txt, line 119 (54 lines). No parameters.
has_completed_current_lifestyle_trigger is a scripted trigger in Crusader Kings III, written at line 119 of its file. It takes no parameters: has_completed_current_lifestyle_trigger = yes (or no). The game's script calls it in 1 place, among them ai_chance_to_switch_to_travel_focus_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/00_lifestyle_triggers.txt.
What it checks
One of these
or
or
All of these
One of these
has_focus = learning_medicine_focusor
has_focus = learning_scholarship_focusor
has_focus = learning_theology_focus
- Has the Whole of Body Perk
- Has the Erudite Perk
- Has the Theologian Perk
or
or
All of these
One of these
has_focus = stewardship_wealth_focusor
has_focus = stewardship_domain_focusor
has_focus = stewardship_duty_focus
- Has the Architect Perk
- Has the Administrator Perk
- Has the Avaricious Perk
• 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 (54 lines of game script)
has_completed_current_lifestyle_trigger = {
OR = {
AND = {
OR = {
has_focus = diplomacy_foreign_affairs_focus
has_focus = diplomacy_majesty_focus
has_focus = diplomacy_family_focus
}
has_perk = august_perk
has_perk = family_man_perk
has_perk = diplomat_perk
}
AND = {
OR = {
has_focus = intrigue_skulduggery_focus
has_focus = intrigue_temptation_focus
has_focus = intrigue_intimidation_focus
}
has_perk = torturer_perk
has_perk = schemer_perk
has_perk = seducer_perk
}
AND = {
OR = {
has_focus = learning_medicine_focus
has_focus = learning_scholarship_focus
has_focus = learning_theology_focus
}
has_perk = whole_of_body_perk
has_perk = erudite_perk
has_perk = theologian_perk
}
AND = {
OR = {
has_focus = martial_strategy_focus
has_focus = martial_authority_focus
has_focus = martial_chivalry_focus
}
has_perk = gallant_perk
has_perk = overseer_perk
has_perk = strategist_perk
}
AND = {
OR = {
has_focus = stewardship_wealth_focus
has_focus = stewardship_domain_focus
has_focus = stewardship_duty_focus
}
has_perk = architect_perk
has_perk = administrator_perk
has_perk = avaricious_perk
}
}
}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_completed_current_lifestyle_trigger.
Scripted effects (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.