Scripted trigger · All Under Heaven files
restore_ceremonial_liege_faction_can_create_trigger
restore_ceremonial_liege_faction_can_create_trigger = yesgame/common/scripted_triggers/10_tgp_japan_triggers.txt, line 559 (37 lines). No parameters.
restore_ceremonial_liege_faction_can_create_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 559 of its file. It takes no parameters: restore_ceremonial_liege_faction_can_create_trigger = yes (or no). The game's script calls it in 1 place, among them Restore Ceremonial Monarch Faction (factions). Its body carries 3 texts 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
tgp_realm_has_ceremonial_liege_trigger = yesOne of these
- … must be House Head of a Noble Family
or
Is landed
scope:target:
• 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 (37 lines of game script)
restore_ceremonial_liege_faction_can_create_trigger = {
tgp_realm_has_ceremonial_liege_trigger = yes
trigger_if = {
limit = { government_is_japanese_trigger = yes }
custom_tooltip = {
text = house_head_create_faction_cohesion_hard_tt
OR = {
house.house_confederation ?= { cohesion >= 75 }
joined_faction ?= {
faction_is_at_war = yes
}
}
}
custom_tooltip = {
text = bloc_leader_unlocks_restore_emperor_faction_tt
OR = {
house.house_confederation ?= { has_cohesion_level_parameter = bloc_leader_unlocks_restore_emperor_faction }
joined_faction ?= {
faction_is_at_war = yes
}
}
}
}
OR = {
custom_tooltip = {
text = is_house_head_of_noble_family_tt
is_house_head = yes
any_held_title = { is_noble_family_title = yes }
}
is_landed = yes
}
scope:target ?= {
is_independent_ruler = yes
tgp_realm_has_ceremonial_liege_trigger = yes
tgp_has_ceremonial_liege_title_trigger = no
}
}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 restore_ceremonial_liege_faction_can_create_trigger.
Factions (1)
- Restore Ceremonial Monarch Faction
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.