Scripted trigger
has_disfiguring_physical_attribute_trigger
has_disfiguring_physical_attribute_trigger = yesgame/common/scripted_triggers/20_health_triggers.txt, line 142 (98 lines). No parameters.
has_disfiguring_physical_attribute_trigger is a scripted trigger in Crusader Kings III, written at line 142 of its file. It takes no parameters: has_disfiguring_physical_attribute_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/20_health_triggers.txt.
What it checks
- If has the Trait: Measles: Has the Trait: Measles
- Else, if has the Trait: Smallpox: Has the Trait: Smallpox
- Else, if has the Trait: Pneumonia: Has the Trait: Pneumonia
- Else, if has the Trait: Typhus: Has the Trait: Typhus
- Else, if has the Trait: Holy Fire: Has the Trait: Holy Fire
- Else, if has the Trait: Consumption: Has the Trait: Consumption
- Else, if has the Trait: Bubonic Plague: Has the Trait: Bubonic Plague
- Else, if has the Trait: Scaly: Has the Trait: Scaly
- Else, if has the Trait: Albino: Has the Trait: Albino
- Else, if has the Trait: Disfigured: Has the Trait: Disfigured
- Else, if has the Trait: Great Pox: Has the Trait: Great Pox
- Else, if has the Trait: Leper: Has the Trait: Leper
- Else, if has the Trait: Maimed: Has the Trait: Maimed
- Else, if has the Trait: Club-footed: Has the Trait: Club-footed
- Else, if has the Trait: Hunchbacked: Has the Trait: Hunchbacked
- Else, if has the Trait: Dwarf: Has the Trait: Dwarf
- Else, if has the Trait: Spindly: Has the Trait: Spindly
- Else, if has the Trait: One-Legged: Has the Trait: One-Legged
- Else, if has the Trait: Blind: Has the Trait: Blind
- Else, if has the Trait: Bloody Flux: Has the Trait: Bloody Flux
- Else, if has the Trait: Hideous: Has the Trait: Hideous
- Else, if has the Trait: Brutally Mauled: Has the Trait: Brutally Mauled
- Else, if has the Modifier: Obese: Has the Modifier: Obese
- Otherwise: Has the Trait: Ill
• 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 (98 lines of game script)
has_disfiguring_physical_attribute_trigger = {
# Done this stupid way to prevent it blocking option text
trigger_if = {
limit = { has_trait = measles }
has_trait = measles
}
trigger_else_if = {
limit = { has_trait = smallpox }
has_trait = smallpox
}
trigger_else_if = {
limit = { has_trait = pneumonic }
has_trait = pneumonic
}
trigger_else_if = {
limit = { has_trait = typhus }
has_trait = typhus
}
trigger_else_if = {
limit = { has_trait = ergotism }
has_trait = ergotism
}
trigger_else_if = {
limit = { has_trait = consumption }
has_trait = consumption
}
trigger_else_if = {
limit = { has_trait = bubonic_plague }
has_trait = bubonic_plague
}
trigger_else_if = {
limit = { has_trait = scaly }
has_trait = scaly
}
trigger_else_if = {
limit = { has_trait = albino }
has_trait = albino
}
trigger_else_if = {
limit = { has_trait = disfigured }
has_trait = disfigured
}
trigger_else_if = {
limit = { has_trait = great_pox }
has_trait = great_pox
}
trigger_else_if = {
limit = { has_trait = leper }
has_trait = leper
}
trigger_else_if = {
limit = { has_trait = maimed }
has_trait = maimed
}
trigger_else_if = {
limit = { has_trait = clubfooted }
has_trait = clubfooted
}
trigger_else_if = {
limit = { has_trait = hunchbacked }
has_trait = hunchbacked
}
trigger_else_if = {
limit = { has_trait = dwarf }
has_trait = dwarf
}
trigger_else_if = {
limit = { has_trait = spindly }
has_trait = spindly
}
trigger_else_if = {
limit = { has_trait = one_legged }
has_trait = one_legged
}
trigger_else_if = {
limit = { has_trait = blind }
has_trait = blind
}
trigger_else_if = {
limit = { has_trait = dysentery }
has_trait = dysentery
}
trigger_else_if = {
limit = { has_trait = beauty_bad_3 }
has_trait = beauty_bad_3
}
trigger_else_if = {
limit = { has_trait = wounded_3 }
has_trait = wounded_3
}
trigger_else_if = {
limit = { has_character_modifier = obese_modifier }
has_character_modifier = obese_modifier
}
trigger_else = {
has_trait = ill
}
}As written in game/common/scripted_triggers/20_health_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_disfiguring_physical_attribute_trigger.
Events (1)
- The Ceremony
coronation_events.0205
Script values (1)
- coronation_ceremony_magnificence_adjustment_value
Source: game/common/scripted_triggers/20_health_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.