Scripted trigger
child_is_infant_trigger
child_is_infant_trigger = yesgame/common/scripted_triggers/00_childhood_triggers.txt, line 5 (4 lines). No parameters.
child_is_infant_trigger is a scripted trigger in Crusader Kings III, written at line 5 of its file. It takes no parameters: child_is_infant_trigger = yes (or no). The game's script calls it in 5 places, among them Mid-Winter Maladies: Chilled to the Bone (event harm.0542), Mid-Winter Maladies: Quiet & Still (event harm.0541) and ep3_laamp_flavour_ewan_1101_valid_starting_child_trigger (local trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_childhood_triggers.txt.
What it checks
- Age at most 2
- Is a child
• 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 (4 lines of game script)
child_is_infant_trigger = {
age <= @infant_upper_age_threshold_value
is_adult = no
}As written in game/common/scripted_triggers/00_childhood_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls child_is_infant_trigger.
Events (2)
Scripted triggers inside an event file (2)
- ep3_laamp_flavour_ewan_1101_valid_starting_child_trigger
- harm_0541_bad_winter_trigger
Scripted modifiers (AI weights) (1)
- intermediary_liege_will_accept_standard_modifiers
Source: game/common/scripted_triggers/00_childhood_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.