Scripted trigger
character_can_easily_self_treat_trigger
character_can_easily_self_treat_trigger = yesgame/common/scripted_triggers/20_health_triggers.txt, line 536 (33 lines). No parameters.
character_can_easily_self_treat_trigger is a scripted trigger in Crusader Kings III, written at line 536 of its file. It takes no parameters: character_can_easily_self_treat_trigger = yes (or no). The game's script calls it in 10 places, among them A Clogged Throat: Suffocation (event harm.1031), Camp Fever (event harm.2001) and Fluid Intake: Some Slight Swelling (event harm.0641). Patch 1.20.1.2, from game/common/scripted_triggers/20_health_triggers.txt.
What it checks
One of these
- Has the Trait: Novice Physician
or
Has the Trait: Herbalistor
Has the Trait: Monkor
Learning at least 35or
or
All of these
- Learning at least 18
One of these
- Has the Trait: Valued Intrigue Courtier
or
Has the Trait: Valued Scholarly Courtier
or
All of these
- Learning at least 20
One of these
- Has the Trait: Intrigue Courtier
or
Has the Trait: Scholarly Courtier
• 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 (33 lines of game script)
character_can_easily_self_treat_trigger = {
OR = {
# Understand medicine implicitly.
has_trait = lifestyle_physician
has_trait = lifestyle_herbalist
has_trait = devoted
## Truly, obscenely high learning means your general knowledge is good enough for anything even if you aren't specifically an expert on it.
learning >= 35
# Understands medicine if learning is high enough.
AND = {
learning >= high_skill_rating
OR = {
has_trait = lifestyle_gardener
has_trait = lifestyle_traveler
}
}
# Might understand medicine if learning is really, really high.
AND = {
learning >= very_high_skill_rating
OR = {
has_trait = intrigue_court_2
has_trait = scholarly_court_2
}
}
AND = {
learning >= extremely_high_skill_rating
OR = {
has_trait = intrigue_court_1
has_trait = scholarly_court_1
}
}
}
}As written in game/common/scripted_triggers/20_health_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls character_can_easily_self_treat_trigger.
Events (10)
- A Clogged Throat: Suffocation
harm.1031 - Camp Fever
harm.2001 - Fluid Intake: Some Slight Swelling
harm.0641 - Full Bellied: Not Enough
harm.1022 - Internal Trouble: The World Slipping
harm.0531 - Marching Malaise
harm.2011
4 more
- So... Cold...
harm.2021 - So... Hot...
harm.2031 - Thumping Heart: Burning Thoughts
harm.1091 - Too Far, Too Fast: A Rush
harm.0612
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.