Scripted trigger · All Under Heaven files
japan_government_japan_kingdom_restriction_trigger
japan_government_japan_kingdom_restriction_trigger = yesgame/common/scripted_triggers/10_tgp_japan_triggers.txt, line 747 (18 lines). No parameters.
japan_government_japan_kingdom_restriction_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 747 of its file. It takes no parameters: japan_government_japan_kingdom_restriction_trigger = yes (or no). The game's script calls it in 3 places, among them Ask for Governorship (interaction), 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
If
government_is_japanese_trigger = yesOne of these
- Is not an Independent Ruler
or
Then
- Ritsuryō and Sōryō Rulers can only create Kingdoms in Japan if they are Independent or hold a Kingdom Title without holding Japan
• 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 (18 lines of game script)
japan_government_japan_kingdom_restriction_trigger = {
trigger_if = {
limit = {
government_is_japanese_trigger = yes
OR = {
is_independent_ruler = no
AND = {
NOT = { highest_held_title_tier = tier_kingdom }
has_title = title:e_japan
}
}
}
custom_tooltip = {
text = japan_government_japan_kingdom_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_kingdom_restriction_trigger.
Character interactions (1)
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.