Scripted trigger
inform_about_relative_recovery_trigger
inform_about_relative_recovery_trigger = yesgame/common/scripted_triggers/20_health_triggers.txt, line 813 (20 lines). No parameters.
inform_about_relative_recovery_trigger is a scripted trigger in Crusader Kings III, written at line 813 of its file. It takes no parameters: inform_about_relative_recovery_trigger = yes (or no). The game's script calls it in 1 place, among them recover_from_disease_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/20_health_triggers.txt.
What it checks
- Is a ruler
One of these
scope:disease_type = flag:lovers_poxor
scope:disease_type = flag:early_great_poxor
scope:disease_type = flag:great_poxor
All of these
- Is played by a person
One of these
NOT = { minor_disease_flag_for_notification_trigger = yes }or
scope:sick_character:is_target_in_variable_list = { name = recovery_event_receivers target = prev }
• 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 (20 lines of game script)
inform_about_relative_recovery_trigger = {
is_ruler = yes
OR = {
scope:disease_type = flag:lovers_pox #Because it has an effect (removes rejected from bed modifier)
scope:disease_type = flag:early_great_pox #Because it has an effect (removes rejected from bed modifier)
scope:disease_type = flag:great_pox #Because it has an effect (removes rejected from bed modifier)
AND = {
is_ai = no
OR = {
NOT = { minor_disease_flag_for_notification_trigger = yes } #I.e. it's an important disease
scope:sick_character = {
is_target_in_variable_list = { #The character got an event when sick character got sick and needs to be updated
name = recovery_event_receivers
target = prev
}
}
}
}
}
}As written in game/common/scripted_triggers/20_health_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls inform_about_relative_recovery_trigger.
Scripted effects (1)
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.