Scripted trigger · All Under Heaven files
eligible_for_tgp_japan_legacy_trigger
eligible_for_tgp_japan_legacy_trigger = yesgame/common/scripted_triggers/10_tgp_triggers.txt, line 15 (14 lines). No parameters.
eligible_for_tgp_japan_legacy_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 15 of its file. It takes no parameters: eligible_for_tgp_japan_legacy_trigger = yes (or no). The game's script calls it in 5 places, among them Dynastic Duty (dynasty legacy), Etiquette (dynasty legacy) and Family Estates (dynasty legacy). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_triggers.txt.
What it checks
One of these
game_rule_unrestricted_dynasty_legacies_trigger = yesor
Their dynasty:One of these
dynast = { government_is_japanese_trigger = yes }or
The Dynasty has the Dynastic Duty Legacy
• 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 (14 lines of game script)
eligible_for_tgp_japan_legacy_trigger = {
has_tgp_dlc_trigger = yes
OR = {
game_rule_unrestricted_dynasty_legacies_trigger = yes
dynasty = {
OR = {
dynast = {
government_is_japanese_trigger = yes
}
has_dynasty_perk = tgp_japan_legacy_1
}
}
}
}As written in game/common/scripted_triggers/10_tgp_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls eligible_for_tgp_japan_legacy_trigger.
Dynasty legacies (5)
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.