N3OW/common/scripted_triggers/20_health_balancing_triggers.txt

67 lines
No EOL
1.1 KiB
Text

### HEALTH BALANCING TRIGGERS ###
# Along with the health balancing effects, these triggers are only used to get data output used for balancing diseases.
# For activating data output on the number of victims (total, dead and surviving) for contagious disease outbreaks. Combine with a run file like this to quickly collect data:
#every_independent_ruler = {
# random_courtier = {
# trigger_event = health.1011 #1011 is plague, 1010 is smallpox
# }
#}
debug_activate_contagious_disease_outbreak_data_trigger = {
always = no
}
is_very_young_character = {
OR = {
age <= 20
AND = {
OR = {
has_trait = whole_of_body
has_trait = fecund
}
age <= 25
}
}
}
is_young_character = {
OR = {
age <= 30
AND = {
OR = {
has_trait = whole_of_body
has_trait = fecund
}
age <= 35
}
}
}
is_aging_character = {
OR = {
age >= 40
AND = {
OR = {
has_trait = whole_of_body
has_trait = fecund
}
age >= 45
}
}
}
is_old_character = {
trigger_if = {
limit = {
is_male = yes
}
age >= define:NCharacter|MALE_ELDERLY_AGE
}
trigger_else = {
age >= define:NCharacter|FEMALE_ELDERLY_AGE
}
}