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

Scripted trigger

port_district_trigger

port_district_trigger = yes

game/common/scripted_triggers/district_triggers.txt, line 63 (10 lines). No parameters.

port_district_trigger is a scripted trigger in Crusader Kings III, written at line 63 of its file. It takes no parameters: port_district_trigger = yes (or no). The game's script calls it in 6 places, among them Admiralty Court (building), Admiralty Court II (building) and Admiralty Court III (building). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_triggers/district_triggers.txt.

What it checks

• 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 (10 lines of game script)
port_district_trigger = {
	custom_tooltip = {
		text = port_district_water_trigger
		OR = {
			is_coastal = yes
			is_riverside_province = yes
		}
	}
	is_county_capital = yes
}

As written in game/common/scripted_triggers/district_triggers.txt.

Where it is used

Every place in common/, events/ and history/ that calls port_district_trigger.

Source: game/common/scripted_triggers/district_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.

Spotted a mistake on this page, or have an idea for the site?