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_4_trigger

holding_district_level_4_trigger = yes

game/common/scripted_triggers/district_triggers.txt, line 149 (20 lines). No parameters.

holding_district_level_4_trigger is a scripted trigger in Crusader Kings III, written at line 149 of its file. It takes no parameters: holding_district_level_4_trigger = yes (or no). The game's script calls it in 201 places, among them Alai Minar (building), Amber Works IX (building) and Amber Works VII (building). Its body carries 2 texts 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 (20 lines of game script)
holding_district_level_4_trigger = {
	trigger_if = {
		limit = { has_building_or_higher = tribe_01 }
		custom_tooltip = {
			text = holding_district_level_2_tt
			has_building_or_higher = tribe_02
		}
	}
	trigger_else = {
		custom_tooltip = {
			text = holding_district_level_4_tt
			OR = {
				has_building_or_higher = castle_04
				has_building_or_higher = city_04
				has_building_or_higher = temple_04
				has_building_or_higher = temple_citadel_04
			}
		}
	}
}

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_4_trigger — the first 120 of 201.

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?