Scripted trigger · Coronations files
has_regal_presence_trait_trigger
has_regal_presence_trait_trigger = yesgame/common/scripted_triggers/10_ach_scripted_triggers.txt, line 280 (144 lines). No parameters.
has_regal_presence_trait_trigger is a scripted trigger in Crusader Kings III, in the Coronations files, written at line 280 of its file. It takes no parameters: has_regal_presence_trait_trigger = yes (or no). The game's script calls it in 2 places, among them The Ceremony (event coronation_events.0205) and coronation_ceremony_magnificence_adjustment_value (script value). Patch 1.20.1.2, from game/common/scripted_triggers/10_ach_scripted_triggers.txt.
What it checks
- If has the Trait: Greatest of Khans: Has the Trait: Greatest of Khans
- Else, if has the Trait: Chakravarti: Has the Trait: Chakravarti
- Else, if has the Trait: Augustus: Has the Trait: Augustus
- Else, if has the Trait: Golden Lineage: Has the Trait: Golden Lineage
- Else, if has the Trait: Living Legend: Has the Trait: Living Legend
- Else, if has the Trait: Golden Lineage: Has the Trait: Golden Lineage
- Else, if has the Trait: Conqueror: Has the Trait: Conqueror
- Else, if has the Trait: Inspector: Has the Trait: Inspector
- Else, if has the Trait: Administrator: Has the Trait: Administrator
- Else, if has the Trait: Family Hierarch: Has the Trait: Family Hierarch
- Else, if has the Trait: August: Has the Trait: August
- Else, if has the Trait: Overseer: Has the Trait: Overseer
- Else, if has the Trait: Giant: Has the Trait: Giant
- Else, if has the Trait: Arrogant: Has the Trait: Arrogant
- Else, if has the Trait: Gregarious: Has the Trait: Gregarious
- Else, if has the Trait: Ambitious: Has the Trait: Ambitious
- Else, if has the Trait: Just: Has the Trait: Just
- Else, if has the Trait: Calm: Has the Trait: Calm
- Else, if has the Trait: Zealous: Has the Trait: Zealous
- Else, if has the Trait: Strong: Has the Trait: Strong
- Else, if has the Trait: Beautiful: Has the Trait: Beautiful
- Else, if has the Trait: Handsome: Has the Trait: Handsome
- Else, if has the Trait: Herculean: Has the Trait: Herculean
- Otherwise: Has the Trait: Robust
• 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 (120 lines of game script)
has_regal_presence_trait_trigger = {
#Done this way to prevent traits blocking event option text
trigger_if = {
limit = {
has_trait = greatest_of_khans
}
has_trait = greatest_of_khans
}
trigger_else_if = {
limit = {
has_trait = chakravarti
}
has_trait = chakravarti
}
trigger_else_if = {
limit = {
has_trait = augustus
}
has_trait = augustus
}
trigger_else_if = {
limit = {
has_trait = golden_lineage
}
has_trait = golden_lineage
}
trigger_else_if = {
limit = {
has_trait = legend
}
has_trait = legend
}
trigger_else_if = {
limit = {
has_trait = golden_lineage
}
has_trait = golden_lineage
}
trigger_else_if = {
limit = {
has_trait = conqueror
}
has_trait = conqueror
}
trigger_else_if = {
limit = {
has_trait = lifestyle_surveyor
}
has_trait = lifestyle_surveyor
}
trigger_else_if = {
limit = {
has_trait = administrator
}
has_trait = administrator
}
trigger_else_if = {
limit = {
has_trait = family_first
}
has_trait = family_first
}
trigger_else_if = {
limit = {
has_trait = august
}
has_trait = august
}
trigger_else_if = {
limit = {
has_trait = overseer
}
has_trait = overseer
}
trigger_else_if = {
limit = {
has_trait = giant
}
has_trait = giant
}
trigger_else_if = {
limit = {
has_trait = arrogant
}
has_trait = arrogant
}
trigger_else_if = {
limit = {
has_trait = gregarious
}
has_trait = gregarious
}
trigger_else_if = {
limit = {
has_trait = ambitious
}
has_trait = ambitious
}
trigger_else_if = {
limit = {
has_trait = just
}
has_trait = just
}
trigger_else_if = {
limit = {
has_trait = calm
}
has_trait = calm
}
trigger_else_if = {
limit = {
has_trait = zealous
}
has_trait = zealous
}
trigger_else_if = {
limit = {
has_trait = strong
}As written in game/common/scripted_triggers/10_ach_scripted_triggers.txt.
The first 120 of its 144 lines; the rest is in game/common/scripted_triggers/10_ach_scripted_triggers.txt from line 280.
Where it is used
Every place in common/, events/ and history/ that calls has_regal_presence_trait_trigger.
Events (1)
- The Ceremony
coronation_events.0205
Script values (1)
- coronation_ceremony_magnificence_adjustment_value
Source: game/common/scripted_triggers/10_ach_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.