Scripted trigger
has_sea_danger_type
has_sea_danger_type = { TRAVEL = … }game/common/scripted_triggers/00_travel_triggers.txt, line 140 (13 lines). Parameters: $TRAVEL$.
has_sea_danger_type is a scripted trigger in Crusader Kings III, written at line 140 of its file. A call passes 1 parameter: TRAVEL. The game's script calls it in 14 places, among them … A Good Prophecy (event pilgrimage_seasia.300), … An Offering of Rice (event pilgrimage_seasia.600) and … Floating Shrine (event pilgrimage_seasia.400). Patch 1.20.1.2, from game/common/scripted_triggers/00_travel_triggers.txt.
What it checks
is_sea_province = yesOne of these
travel_danger_type = { travel_plan = $TRAVEL$ terrain = sea }or
travel_danger_type = { travel_plan = $TRAVEL$ terrain = coastal_sea }
• 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 (13 lines of game script)
has_sea_danger_type = {
is_sea_province = yes
OR = {
travel_danger_type = {
travel_plan = $TRAVEL$
terrain = sea
}
travel_danger_type = {
travel_plan = $TRAVEL$
terrain = coastal_sea
}
}
}As written in game/common/scripted_triggers/00_travel_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_sea_danger_type.
Events (14)
- … A Good Prophecy
pilgrimage_seasia.300 - … An Offering of Rice
pilgrimage_seasia.600 - … Floating Shrine
pilgrimage_seasia.400 - … Mangrove Spirits
pilgrimage_seasia.200 - … Sampan Pirates
pilgrimage_seasia.900 - … Shadows in the Water
pilgrimage_seasia.800
8 more
- … The Fishermen of …
pilgrimage_seasia.500 - … The Flaming Helene
pilgrimage.1100 - … The Nāga's Victim
pilgrimage_seasia.700 - … The Pearl Diver
pilgrimage_seasia.100 - … Traders of Tanah Makkah
pilgrimage_seasia.1000 - Danger: … Toll
travel_events.1005 - Danger: Sticks in the Wheel
travel_danger_events.9010 - Danger: Stormy Weather
travel_events.4007
Source: game/common/scripted_triggers/00_travel_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.