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

Scripted trigger

holding_district_level_2_trigger

holding_district_level_2_trigger = yes

game/common/scripted_triggers/district_triggers.txt, line 115 (12 lines). No parameters.

holding_district_level_2_trigger is a scripted trigger in Crusader Kings III, written at line 115 of its file. It checks, in the game's words: Requires level 2 of the Holding District. It takes no parameters: holding_district_level_2_trigger = yes (or no). The game's script calls it in 176 places, among them Alamut Fortress (building), Amber Works III (building) and Amber Works IV (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.

The comment above it in the file

Holding district level gates

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 (12 lines of game script)
holding_district_level_2_trigger = {
	custom_tooltip = {
		text = holding_district_level_2_tt
		OR = {
			has_building_or_higher = castle_02
			has_building_or_higher = city_02
			has_building_or_higher = temple_02
			has_building_or_higher = temple_citadel_02
			has_building_or_higher = tribe_01
		}
	}
}

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

Where it is used

Every place in common/, events/ and history/ that calls holding_district_level_2_trigger — the first 120 of 176.

Buildings (120)

114 more

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?