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

tgp_japan_offensive_wars_ban_trigger

tgp_japan_offensive_wars_ban_trigger = yes

game/common/scripted_triggers/10_tgp_japan_triggers.txt, line 126 (17 lines). No parameters.

tgp_japan_offensive_wars_ban_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 126 of its file. It takes no parameters: tgp_japan_offensive_wars_ban_trigger = yes (or no). The game's script calls it in 37 places, among them …… Ancestral Claim on … (casus belli), ……-… Vassalization War (Dynastic Cycle) (casus belli) and Border Raid (casus belli). 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 (17 lines of game script)
tgp_japan_offensive_wars_ban_trigger = {
	trigger_if = {
		limit = {
			exists = scope:defender.top_liege
			scope:attacker.top_liege ?= {
				has_title = title:e_japan
				scope:defender.top_liege != this
				government_is_japanese_trigger = yes
				realm_law_use_imperial_policy_trigger = yes
			}
		}
		custom_tooltip = {
			text = japan_offensive_wars_ban_tt
			scope:attacker.top_liege = { has_realm_law = imperial_expansion_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 tgp_japan_offensive_wars_ban_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?