Scripted trigger · All Under Heaven files
tgp_japanese_high_nobility_clothing_trigger
tgp_japanese_high_nobility_clothing_trigger = yesgame/common/scripted_triggers/10_tgp_triggers.txt, line 602 (32 lines). No parameters.
tgp_japanese_high_nobility_clothing_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 602 of its file. It takes no parameters: tgp_japanese_high_nobility_clothing_trigger = yes (or no). The game's script calls it in 2 places, among them portrait_high_nobles_headgear_trigger (scripted trigger) and portrait_high_nobles_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_triggers.txt.
What it checks
tgp_is_ceremonial_liege_trigger = noIf
a check the game hides
Then
always = yes
- Else, if government is Sōryō:
One of these
- Is an Independent Ruler
or
If
a check the game hides
Then
One of these
is_councillor_of = top_liegeor
is_spouse_of = top_liege
All of these
is_house_head = yeshas_same_government = top_liege
- Else, if government is Ritsuryō:
One of these
- Highest held Title is at least County Rank
or
tgp_is_in_ceremonial_house_trigger = yes
- Otherwise: Highest held Title is at least Kingdom Rank
• 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 (32 lines of game script)
tgp_japanese_high_nobility_clothing_trigger = {
tgp_is_ceremonial_liege_trigger = no
trigger_if = {
limit = { has_character_flag = murasaki }
always = yes
}
trigger_else_if = {
limit = { government_has_flag = government_is_japan_feudal }
OR = {
is_independent_ruler = yes
trigger_if = {
limit = { exists = top_liege }
OR = {
is_councillor_of = top_liege
is_spouse_of = top_liege
}
AND = {
is_house_head = yes
has_same_government = top_liege
}
}
}
}
trigger_else_if = {
limit = { government_has_flag = government_is_japan_administrative }
OR = {
highest_held_title_tier >= tier_county
tgp_is_in_ceremonial_house_trigger = yes
}
}
trigger_else = { highest_held_title_tier >= tier_kingdom }
}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_japanese_high_nobility_clothing_trigger.
Scripted triggers (2)
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.