CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

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 = yes
  • One 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)

8 more

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.

Spotted a mistake on this page?