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

Scripted trigger · All Under Heaven files

japan_castle_construction_trigger

japan_castle_construction_trigger = yes

game/common/scripted_triggers/10_tgp_japan_triggers.txt, line 802 (14 lines). No parameters.

japan_castle_construction_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 802 of its file. It takes no parameters: japan_castle_construction_trigger = yes (or no). The game's script calls it in 4 places, among them Concentric Castle (building), Fortress (building) and Keep (building). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_japan_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 (14 lines of game script)
japan_castle_construction_trigger = {
	trigger_if = {
		limit = {
			county.holder ?= {
				government_has_flag = government_is_japan_administrative
				realm_law_use_imperial_policy_trigger = yes
			}
		}
		custom_tooltip = {
			text = japan_castle_construction_trigger_tt
			county.holder.top_liege ?= { has_realm_law_flag = disarmament_law }
		}
	}
}

As written in game/common/scripted_triggers/10_tgp_japan_triggers.txt.

Where it is used

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

Source: game/common/scripted_triggers/10_tgp_japan_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?