Scripted trigger · All Under Heaven files
tgp_natural_disaster_situation_is_disaster_trigger
tgp_natural_disaster_situation_is_disaster_trigger = yesgame/common/scripted_triggers/10_tgp_natural_disaster_triggers.txt, line 25 (6 lines). No parameters.
tgp_natural_disaster_situation_is_disaster_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 25 of its file. It takes no parameters: tgp_natural_disaster_situation_is_disaster_trigger = yes (or no). The game's script calls it in 11 places, among them As Scavengers Gather (event natural_disaster_flavor_events.0001), Desperate Souls (event natural_disaster_flavor_events.0010) and Isolation (event natural_disaster.0110). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_natural_disaster_triggers.txt.
The comment above it in the file
ROOT: Situation
What it checks
One of these
situation_type = natural_disaster_earthquakeor
situation_type = natural_disaster_flood
• 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 (6 lines of game script)
tgp_natural_disaster_situation_is_disaster_trigger = {
OR = {
situation_type = natural_disaster_earthquake
situation_type = natural_disaster_flood
}
}As written in game/common/scripted_triggers/10_tgp_natural_disaster_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_natural_disaster_situation_is_disaster_trigger.
Events (7)
- As Scavengers Gather
natural_disaster_flavor_events.0001 - Desperate Souls
natural_disaster_flavor_events.0010 - Isolation
natural_disaster.0110 - Life Among the Ruins
tgp_travel_danger_events.0001 - Out of the Cage
natural_disaster.0111 - Selfless Acts
natural_disaster_flavor_events.0015
1 more
- Waking Nightmare
natural_disaster_flavor_events.0005
Scripted triggers inside an event file (1)
- is_location_affected_by_disaster_in_recovery_trigger
Scripted effects (2)
Scripted triggers (1)
Source: game/common/scripted_triggers/10_tgp_natural_disaster_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.