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_government_japan_duchy_restriction_trigger

japan_government_japan_duchy_restriction_trigger = yes

game/common/scripted_triggers/10_tgp_japan_triggers.txt, line 766 (21 lines). No parameters.

japan_government_japan_duchy_restriction_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 766 of its file. It takes no parameters: japan_government_japan_duchy_restriction_trigger = yes (or no). The game's script calls it in 2 places, among them Amur (landed titles) and Japan (landed titles). 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 (21 lines of game script)
japan_government_japan_duchy_restriction_trigger = {
	trigger_if = {
		limit = {
			OR = {
				government_has_flag = government_is_japan_administrative
				AND = { # Soryo can create duchies if they're already a duke
					government_has_flag = government_is_japan_feudal
					primary_title.tier = tier_county
				}
			}
			NAND = {
				is_independent_ruler = yes
				government_has_flag = government_is_japan_feudal
			}
		}
		custom_tooltip = {
			text = japan_government_japan_duchy_restriction_tt
			has_global_variable = tenno_restored
		}
	}
}

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_government_japan_duchy_restriction_trigger.

Landed titles (2)

  • Amur
  • Japan

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?