Scripted trigger · All Under Heaven files
tgp_japan_offensive_wars_ban_trigger
tgp_japan_offensive_wars_ban_trigger = yesgame/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
If
scope:attacker.top_liege:- Holds Japan
scope:defender.top_liege != thisgovernment_is_japanese_trigger = yesrealm_law_use_imperial_policy_trigger = yes
Then
- Rulers in Japan cannot declare external Wars unless the Imperial Policy is Imperial Pacification
• 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.
Casus belli (34)
- …… Ancestral Claim on …
- ……-… Vassalization War (Dynastic Cycle)
- Border Raid
- Border Raid against the Roman Empire
- Bring Under Tribute
- Claim
28 more
- Clan Invasion
- County Conquest
- County Expansion
- De Jure
- Demand Fealty
- Ducal Conquest
- Duchy Conquest
- Duchy Expansion
- Great Holy War
- Holy
- Individual De Jure County
- Individual De Jure Duchy
- Invasion
- Laudabiliter Conquest
- Legendary Adventure
- Major Holy
- Mediterranean Conquest
- Minor Holy
- Mongol Invasion
- Mongol Realm Invasion
- Naval County Expansion
- Naval Duchy Expansion
- Pax Romana
- Seize Peripheral Duchy
- Subjugation
- Unify The House
- Varangian Adventurer
- Vassalization
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.