Scripted trigger · All Under Heaven files
tgp_can_become_japan_administrative_trigger
tgp_can_become_japan_administrative_trigger = yesgame/common/scripted_triggers/10_tgp_triggers.txt, line 543 (12 lines). No parameters.
tgp_can_become_japan_administrative_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 543 of its file. It takes no parameters: tgp_can_become_japan_administrative_trigger = yes (or no). The game's script calls it in 2 places, among them Adopt Centralized Administration (decision) and change_to_administrative_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_triggers.txt.
What it checks
One of these
- Their top liege:
One of these
government_is_japanese_trigger = yesor
has_character_flag = tgp_japan_restore_japanese_government_flag
or
government_is_japanese_trigger = yesor
has_character_flag = tgp_japan_restore_japanese_government_flag
- Their top liege:
• 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 (12 lines of game script)
tgp_can_become_japan_administrative_trigger = {
OR = {
top_liege = {
OR = {
government_is_japanese_trigger = yes
has_character_flag = tgp_japan_restore_japanese_government_flag
}
}
government_is_japanese_trigger = yes
has_character_flag = tgp_japan_restore_japanese_government_flag
}
}As written in game/common/scripted_triggers/10_tgp_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_can_become_japan_administrative_trigger.
Decisions (1)
Scripted effects (1)
Source: game/common/scripted_triggers/10_tgp_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.