Scripted trigger
is_old_character
is_old_character = yesgame/common/scripted_triggers/20_health_balancing_triggers.txt, line 63 (11 lines). No parameters.
is_old_character is a scripted trigger in Crusader Kings III, written at line 63 of its file. It takes no parameters: is_old_character = yes (or no). The game's script calls it in 6 places, among them …: the … (event ep3_laamp_decision_event.1030), A Divine Right Unearned (event ach_coronation.0017) and After You're Gone (event pam_secular_faith_events.0052). Patch 1.20.1.2, from game/common/scripted_triggers/20_health_balancing_triggers.txt.
What it checks
If
is_male = yes
Then
effective_age >= define:NCharacter|MALE_ELDERLY_AGE
Otherwise
effective_age >= define:NCharacter|FEMALE_ELDERLY_AGE
• 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 (11 lines of game script)
is_old_character = {
trigger_if = {
limit = {
is_male = yes
}
effective_age >= define:NCharacter|MALE_ELDERLY_AGE
}
trigger_else = {
effective_age >= define:NCharacter|FEMALE_ELDERLY_AGE
}
}As written in game/common/scripted_triggers/20_health_balancing_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_old_character.
Events (3)
- …: the …
ep3_laamp_decision_event.1030 - A Divine Right Unearned
ach_coronation.0017 - After You're Gone
pam_secular_faith_events.0052
Scripted triggers inside an event file (1)
- pam_sf_doomed_soul_valid_trigger
Source: game/common/scripted_triggers/20_health_balancing_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.