From 80115382ad53e3c070216e24a9ea240e61227469 Mon Sep 17 00:00:00 2001 From: edwardtheelbowhigh <73761109+edwardtheelbowhigh@users.noreply.github.com> Date: Sun, 25 Oct 2026 18:14:11 +0000 Subject: [PATCH] british stuff hopefully this works --- .../casus_belli_types/10_tgp_japan_wars.txt | 12 +-- .../00_character_interactions.txt | 2 +- .../00_prison_interactions.txt | 6 +- .../00_vassal_interactions.txt | 8 +- .../05_bp2_interactions.txt | 6 +- .../coat_of_arms/90_dynasties.txt | 2 +- .../dlc_decisions/tgp/tgp_japan_decisions.txt | 30 ++++---- common/dna_data/00_tgp_dna.txt | 2 +- common/factions/00_factions.txt | 12 +-- .../governments/01_japan_government_types.txt | 8 +- common/landed_titles/debug_titles.txt | 2 +- common/on_action/game_start.txt | 30 ++------ common/on_action/title_on_actions.txt | 22 +++--- .../tgp_character_templates.txt | 10 +-- .../10_dlc_tgp_japan_scripted_effects.txt | 76 +++++++++---------- .../10_tgp_japan_triggers.txt | 42 +++++----- 16 files changed, 127 insertions(+), 143 deletions(-) diff --git a/common/casus_belli_types/10_tgp_japan_wars.txt b/common/casus_belli_types/10_tgp_japan_wars.txt index 98996dded..13202e440 100644 --- a/common/casus_belli_types/10_tgp_japan_wars.txt +++ b/common/casus_belli_types/10_tgp_japan_wars.txt @@ -76,7 +76,7 @@ # top_liege = { # send_interface_toast = { # type = event_war_bad -# title = tgp_japan_soryo_war_is_crime_kampaku_title +# title = tgp_japan_soryo_war_is_crime_prime_minister_title # left_icon = scope:attacker # right_icon = scope:defender # add_opinion = { @@ -385,7 +385,7 @@ # top_liege = { # send_interface_toast = { # type = event_war_bad -# title = tgp_japan_soryo_war_is_crime_kampaku_title +# title = tgp_japan_soryo_war_is_crime_prime_minister_title # left_icon = scope:attacker # right_icon = scope:defender # add_opinion = { @@ -695,7 +695,7 @@ # top_liege = { # send_interface_toast = { # type = event_war_bad -# title = tgp_japan_soryo_war_is_crime_kampaku_title +# title = tgp_japan_soryo_war_is_crime_prime_minister_title # left_icon = scope:attacker # right_icon = scope:defender # add_opinion = { @@ -1285,7 +1285,7 @@ # valid_to_start_display_regardless = { # custom_tooltip = { # text = tgp_japan_pacification_war_valid_empire_tt -# NOT = { scope:target.empire ?= title:e_japan } +# NOT = { scope:target.empire ?= title:e_britannia } # } # custom_tooltip = { # text = tgp_japan_pacification_war_valid_region_tt @@ -1596,7 +1596,7 @@ # prestige = { # scope:defender = { # every_sub_realm_county = { -# limit = { empire = title:e_japan } +# limit = { empire = title:e_britannia } # add = { # value = 50 # desc = japan_imperial_reconquest_cb_cost_tt @@ -2440,7 +2440,7 @@ # } #} # -## War to become Soryo as Kampaku +## War to become Soryo as prime_minister #japan_establish_soryo_administration_cb = { # icon = soryo # group = subjugation diff --git a/common/character_interactions/00_character_interactions.txt b/common/character_interactions/00_character_interactions.txt index f686d38e5..691737fee 100644 --- a/common/character_interactions/00_character_interactions.txt +++ b/common/character_interactions/00_character_interactions.txt @@ -1395,7 +1395,7 @@ grant_independence_interaction = { NOT = { scope:recipient ?= scope:puppet_or_actor.diarch } } } - tgp_blocked_action_against_tenno_trigger = { + tgp_blocked_action_against_british_monarch_trigger = { ACTOR = scope:puppet_or_actor TARGET = scope:recipient } diff --git a/common/character_interactions/00_prison_interactions.txt b/common/character_interactions/00_prison_interactions.txt index 52dc67e27..17e1bede0 100644 --- a/common/character_interactions/00_prison_interactions.txt +++ b/common/character_interactions/00_prison_interactions.txt @@ -1287,7 +1287,7 @@ } } - modifier = { # Even more imprisonment reason if you are a danger to the Kampaku + modifier = { # Even more imprisonment reason if you are a danger to the prime_minister add = 400 scope:puppet_or_actor = { primary_title = title:e_japan @@ -1703,7 +1703,7 @@ move_to_dungeon_interaction = { NOT = { has_character_flag = is_being_tortured } } } - tgp_blocked_action_against_tenno_trigger = { + tgp_blocked_action_against_british_monarch_trigger = { ACTOR = scope:puppet_or_actor TARGET = scope:recipient } @@ -7802,7 +7802,7 @@ torture_interaction = { PRISONER = scope:recipient REGENT = scope:recipient.var:imprisoned_by_diarch } - tgp_blocked_action_against_tenno_trigger = { + tgp_blocked_action_against_british_monarch_trigger = { ACTOR = scope:puppet_or_actor TARGET = scope:recipient } diff --git a/common/character_interactions/00_vassal_interactions.txt b/common/character_interactions/00_vassal_interactions.txt index 86e6e4fbf..1b750f445 100644 --- a/common/character_interactions/00_vassal_interactions.txt +++ b/common/character_interactions/00_vassal_interactions.txt @@ -1510,15 +1510,15 @@ create_claimant_faction_against_interaction = { trigger_else = { always = yes } } } - # TGP - Use Coup against Kampaku instead + # TGP - Use Coup against prime_minister instead trigger_if = { limit = { scope:recipient ?= { tgp_realm_has_ceremonial_liege_trigger = yes } } custom_tooltip = { - text = cannot_create_claimant_faction_against_kampaku_tooltip + text = cannot_create_claimant_faction_against_prime_minister_tooltip scope:recipient ?= { - # TGP - Use Coup against Kampaku instead + # TGP - Use Coup against prime_minister instead tgp_is_ceremonial_regent_trigger = no } } @@ -1547,7 +1547,7 @@ create_claimant_faction_against_interaction = { can_send = { NOT = { - scope:recipient ?= { has_title = title:e_japan } + scope:recipient ?= { has_title = title:e_britannia } } } diff --git a/common/character_interactions/05_bp2_interactions.txt b/common/character_interactions/05_bp2_interactions.txt index 46062fb70..dfc011831 100644 --- a/common/character_interactions/05_bp2_interactions.txt +++ b/common/character_interactions/05_bp2_interactions.txt @@ -137,7 +137,7 @@ offer_hostage_interaction = { bp2_valid_to_offer_as_hostage_trigger = { SENDER = scope:actor } } } - tgp_blocked_action_against_tenno_trigger = { + tgp_blocked_action_against_british_monarch_trigger = { ACTOR = scope:actor TARGET = scope:recipient } @@ -761,7 +761,7 @@ demand_hostage_interaction = { bp2_valid_to_offer_as_hostage_trigger = { SENDER = scope:recipient } } } - tgp_blocked_action_against_tenno_trigger = { + tgp_blocked_action_against_british_monarch_trigger = { ACTOR = scope:actor TARGET = scope:recipient } @@ -1503,7 +1503,7 @@ exchange_hostage_interaction = { bp2_valid_to_offer_as_hostage_trigger = { SENDER = scope:actor } } } - tgp_blocked_action_against_tenno_trigger = { + tgp_blocked_action_against_british_monarch_trigger = { ACTOR = scope:actor TARGET = scope:recipient } diff --git a/common/coat_of_arms/coat_of_arms/90_dynasties.txt b/common/coat_of_arms/coat_of_arms/90_dynasties.txt index 1b8d41258..3756b03e5 100644 --- a/common/coat_of_arms/coat_of_arms/90_dynasties.txt +++ b/common/coat_of_arms/coat_of_arms/90_dynasties.txt @@ -17615,7 +17615,7 @@ # ## Other # -#japanese_yamato = k_chrysanthemum_throne +#japanese_yamato = k_royal_household #c_nf_yamato = japanese_yamato #japanese_kiyohara = { # Kiyohara # pattern = "pattern_solid.dds" diff --git a/common/decisions/dlc_decisions/tgp/tgp_japan_decisions.txt b/common/decisions/dlc_decisions/tgp/tgp_japan_decisions.txt index a5be8fb7b..6d12e7df0 100644 --- a/common/decisions/dlc_decisions/tgp/tgp_japan_decisions.txt +++ b/common/decisions/dlc_decisions/tgp/tgp_japan_decisions.txt @@ -148,7 +148,7 @@ # } # # Change from Ritsuryo (Admin) to Soryo (Feudal) # custom_tooltip = tgp_japan_establish_house_fief_change_government_type_effect -# # Crime to Kampaku +# # Crime to prime_minister # if = { # limit = { # is_independent_ruler = no @@ -160,7 +160,7 @@ # } # } # } -# custom_tooltip = tgp_japan_establish_house_fief_kampaku_crime_effect +# custom_tooltip = tgp_japan_establish_house_fief_prime_minister_crime_effect # } # } # hidden_effect = { @@ -216,7 +216,7 @@ # ai_potential = { # is_landed = yes # has_government = japan_administrative_government -# NOT = { # Reluctance to forgo potential to become Kampaku +# NOT = { # Reluctance to forgo potential to become prime_minister # top_liege = { # has_realm_law = japanese_regency_succession_law # primary_title = { "place_in_line_of_succession(root)" <= 3 } @@ -662,10 +662,10 @@ # has_tgp_dlc_trigger = yes # tgp_is_in_ceremonial_house_trigger = no # government_has_flag = government_is_japan_feudal -# top_liege = { has_title = title:e_japan } +# top_liege = { has_title = title:e_britannia } # NOR = { # has_global_variable = shogunate_established -# has_global_variable = tenno_restored +# has_global_variable = british_monarch_restored # } # } # @@ -748,13 +748,13 @@ # # is_shown = { # has_tgp_dlc_trigger = yes -# top_liege = { has_title = title:e_japan } +# top_liege = { has_title = title:e_britannia } # tgp_realm_has_ceremonial_liege_trigger = yes # custom_tooltip = { # text = tgp_is_ceremonial_liege_tt # tgp_has_ceremonial_liege_title_trigger = yes # } -# NOT = { has_global_variable = tenno_restored } +# NOT = { has_global_variable = british_monarch_restored } # } # # is_valid = { @@ -799,7 +799,7 @@ # if = { # limit = { # is_ai = no -# has_title = title:k_chrysanthemum_throne +# has_title = title:k_royal_household # } # add_achievement_global_variable_effect = { # VARIABLE = finished_ep4_03_sword_of_japan_achievement @@ -853,7 +853,7 @@ # # Monks need not apply # NOT = { has_trait = devoted } # # Must be within Japan -# top_liege = { has_title = title:e_japan } +# top_liege = { has_title = title:e_britannia } # } # # is_valid = { @@ -1418,8 +1418,8 @@ # government_is_japanese_trigger = yes # # Chrysanthemum no longer part of Japan or destroyed # trigger_if = { -# limit = { exists = title:k_chrysanthemum_throne.holder } -# NOT = { title:e_japan.holder ?= title:k_chrysanthemum_throne.holder.top_liege } +# limit = { exists = title:k_royal_household.holder } +# NOT = { title:e_japan.holder ?= title:k_royal_household.holder.top_liege } # } # # Japanese culture # culture = { @@ -1437,8 +1437,8 @@ # custom_tooltip = { # Chrysanthemum destroyed or no longer part of Japan # text = tgp_japan_restore_japanese_monarchy_decision_title_tt # trigger_if = { -# limit = { exists = title:k_chrysanthemum_throne.holder.top_liege } -# NOT = { title:e_japan.holder ?= title:k_chrysanthemum_throne.holder.top_liege } +# limit = { exists = title:k_royal_household.holder.top_liege } +# NOT = { title:e_japan.holder ?= title:k_royal_household.holder.top_liege } # } # trigger_else = { always = yes } # } @@ -1645,7 +1645,7 @@ # } # } # } -# # Kampaku or Shogun is weak. +# # prime_minister or Shogun is weak. # top_liege = { # trigger_if = { # limit = { @@ -1734,7 +1734,7 @@ # # effect = { # set_realm_capital = scope:barony.county -# title:e_japan = { set_capital_county = scope:barony.county } +# title:e_britannia = { set_capital_county = scope:barony.county } # scope:barony.county = { # change_development_level = medium_development_level_gain # add_county_modifier = { diff --git a/common/dna_data/00_tgp_dna.txt b/common/dna_data/00_tgp_dna.txt index d51373a22..5e9dd3f36 100644 --- a/common/dna_data/00_tgp_dna.txt +++ b/common/dna_data/00_tgp_dna.txt @@ -6645,7 +6645,7 @@ # } #} # -#japanese_fujiwara_530_yoshifusa = { # Japanese Kampaku in 867 +#japanese_fujiwara_530_yoshifusa = { # Japanese prime_minister in 867 # portrait_info = { # genes={ # hair_color={ 116 244 121 249 } diff --git a/common/factions/00_factions.txt b/common/factions/00_factions.txt index b4cd590ac..d78842982 100644 --- a/common/factions/00_factions.txt +++ b/common/factions/00_factions.txt @@ -1095,7 +1095,7 @@ claimant_faction = { } } - # TGP - Use Coup against Kampaku instead + # TGP - Use Coup against prime_minister instead trigger_if = { limit = { scope:faction.faction_target ?= top_liege @@ -1114,11 +1114,11 @@ claimant_faction = { } # Bloc Cohesion requirement japan_faction_cohesion_trigger = yes - # TGP - Use Coup against Kampaku instead + # TGP - Use Coup against prime_minister instead custom_tooltip = { - text = cannot_create_claimant_faction_against_kampaku_tooltip + text = cannot_create_claimant_faction_against_prime_minister_tooltip scope:target = { - # TGP - Use Coup against Kampaku instead + # TGP - Use Coup against prime_minister instead tgp_is_ceremonial_regent_trigger = no } } @@ -1132,7 +1132,7 @@ claimant_faction = { # Bloc Cohesion requirement japan_faction_cohesion_trigger = yes - # TGP - Use Coup against Kampaku instead + # TGP - Use Coup against prime_minister instead trigger_if = { limit = { exists = joined_faction @@ -1144,7 +1144,7 @@ claimant_faction = { tgp_is_ceremonial_regent_trigger = no } } - # TGP - Use Coup against Kampaku instead + # TGP - Use Coup against prime_minister instead trigger_else_if = { limit = { has_variable = claiming_title diff --git a/common/governments/01_japan_government_types.txt b/common/governments/01_japan_government_types.txt index 975e2587d..10ff3fd91 100644 --- a/common/governments/01_japan_government_types.txt +++ b/common/governments/01_japan_government_types.txt @@ -42,7 +42,7 @@ # KNIGHTS knight_limit = -5 # VASSALS - vassal_limit = 50 # Kampaku + vassal_limit = 50 # prime_minister # DOMAIN domain_limit_max = 1 # Raised further by manor domain_tax_mult = 0.3 @@ -60,7 +60,7 @@ # The Regent always remains in the same place. can_move_realm_capital = { - NOT = { primary_title ?= title:e_japan } + NOT = { primary_title ?= title:e_britannia } } compatible_government_type_succession = { japan_feudal_government } @@ -138,7 +138,7 @@ british_administrative_government = { # Ritsuryo # KNIGHTS knight_limit = -5 # VASSALS - vassal_limit = 50 # Kampaku + vassal_limit = 50 # prime_minister # DOMAIN domain_limit_max = 1 # Raised further by manor domain_tax_mult = 0.3 @@ -239,7 +239,7 @@ japan_feudal_government = { # Soryo # The Regent always remains in the same place. can_move_realm_capital = { - NOT = { primary_title ?= title:e_japan } + NOT = { primary_title ?= title:e_britannia } } compatible_government_type_succession = { japan_administrative_government } diff --git a/common/landed_titles/debug_titles.txt b/common/landed_titles/debug_titles.txt index e1a1cb250..340f08124 100644 --- a/common/landed_titles/debug_titles.txt +++ b/common/landed_titles/debug_titles.txt @@ -76,7 +76,7 @@ e_byzantium = { color = { 230 180 10 } } -k_chrysanthemum_throne = { +k_royal_household = { capital = c_thessalonika color = { 230 180 10 } } diff --git a/common/on_action/game_start.txt b/common/on_action/game_start.txt index fe8961e63..25c6efdbd 100644 --- a/common/on_action/game_start.txt +++ b/common/on_action/game_start.txt @@ -503,7 +503,6 @@ on_game_start = { CAPITAL = scope:barony_cyp NEW_HO_SCOPE = new_holy_order FOUNDER = scope:founder_cyp - ORDER_TYPE = military } } if = { @@ -543,7 +542,6 @@ on_game_start = { CAPITAL = scope:barony_OOC NEW_HO_SCOPE = new_holy_order FOUNDER = scope:founder_OOC - ORDER_TYPE = military } } ### Every nomad and herder in the Steppe Region becomes tribal if DLC not enabled, pre-lobby history setup ### @@ -687,20 +685,6 @@ on_game_start = { } } } - religion:oriental_orthodox_religion = { - every_faith = { - every_holy_site = { - limit = { - title_province = { - has_special_building_slot = no - } - } - title_province = { - add_special_building_slot = holy_site_cathedral_01 - } - } - } - } religion:catholic_religion = { every_faith = { every_holy_site = { @@ -924,7 +908,7 @@ on_game_start = { # value = yes # } # } -# religion:eastern_orthodox_religion = { +# religion:christianity_religion = { # set_variable = { # name = variable_ghw_unlocked # value = yes @@ -4563,7 +4547,7 @@ on_game_start_after_lobby = { # } # if = { # limit = { -# has_title = title:k_chrysanthemum_throne +# has_title = title:k_royal_household # } # add_achievement_global_variable_effect = { # VARIABLE = started_ep4_03_sword_of_japan_achievement @@ -15330,12 +15314,12 @@ on_game_start_after_lobby = { # limit = { has_tgp_dlc_trigger = yes } # ### JAPAN # -# # History defaults e_japan to feudal + single heir so partial DLC / no AuH bookmarks load cleanly. -# # Restore Ritsuryō Kampaku when All Under Heaven is active (must run before noble-family / bureaucracy setup). +# # History defaults e_britannia to feudal + single heir so partial DLC / no AuH bookmarks load cleanly. +# # Restore Ritsuryō prime_minister when All Under Heaven is active (must run before noble-family / bureaucracy setup). # if = { # limit = { has_dlc_feature = all_under_heaven } # title:e_japan.holder ?= { -# # can_get_government for japan_administrative checks top_liege for japanese government OR this flag; independent Kampaku is neither until flagged. +# # can_get_government for japan_administrative checks top_liege for japanese government OR this flag; independent prime_minister is neither until flagged. # if = { # limit = { # NOT = { government_has_flag = government_is_japan_administrative } @@ -15360,7 +15344,7 @@ on_game_start_after_lobby = { # } # # # Special variable that UI uses to display correct title -# title:e_japan = { +# title:e_britannia = { # # More starting house relations # holder = { # every_noble_family = { @@ -15393,7 +15377,7 @@ on_game_start_after_lobby = { # } # # ### IMPERIAL FAMILY -# title:k_chrysanthemum_throne.holder ?= { +# title:k_royal_household.holder ?= { # save_scope_as = japanese_emperor # # Give him some cash # add_gold = monumental_gold_value diff --git a/common/on_action/title_on_actions.txt b/common/on_action/title_on_actions.txt index 6d5371024..7393f0a0f 100644 --- a/common/on_action/title_on_actions.txt +++ b/common/on_action/title_on_actions.txt @@ -1822,7 +1822,7 @@ on_title_gain = { # } # # TGP JAPAN # else_if = { -# limit = { scope:title = title:e_japan } +# limit = { scope:title = title:e_britannia } # # TGP RETIRED EMPEROR # if = { # limit = { @@ -1830,11 +1830,11 @@ on_title_gain = { # has_title = title:e_japan.var:administrative_ui_special_title # } # # Flavourization setup -# title:e_japan = { remove_variable = shogun_flag } +# title:e_britannia = { remove_variable = shogun_flag } # remove_character_flag = shogun_flag # if = { # Flavourization setup -# limit = { has_global_variable = tenno_restored } -# title:e_japan = { set_variable = ceremonial_liege_flag } +# limit = { has_global_variable = british_monarch_restored } +# title:e_britannia = { set_variable = ceremonial_liege_flag } # add_character_flag = ceremonial_liege_flag # trigger_event = { # id = tgp_japan_general.9100 @@ -1854,16 +1854,16 @@ on_title_gain = { # has_government = japan_feudal_government # has_global_variable = shogunate_established # } -# title:e_japan = { remove_variable = ceremonial_liege_flag } +# title:e_britannia = { remove_variable = ceremonial_liege_flag } # remove_character_flag = ceremonial_liege_flag -# title:e_japan = { set_variable = shogun_flag } +# title:e_britannia = { set_variable = shogun_flag } # add_character_flag = shogun_flag # } -# # TGP KAMPAKU +# # TGP prime_minister # else = { -# title:e_japan = { remove_variable = ceremonial_liege_flag } +# title:e_britannia = { remove_variable = ceremonial_liege_flag } # remove_character_flag = ceremonial_liege_flag -# title:e_japan = { remove_variable = shogun_flag } +# title:e_britannia = { remove_variable = shogun_flag } # remove_character_flag = shogun_flag # } # # Japanese regent laws @@ -1873,7 +1873,7 @@ on_title_gain = { # government_is_japanese_trigger = yes # NOR = { # has_global_variable = shogunate_established -# has_global_variable = tenno_restored +# has_global_variable = british_monarch_restored # } # } # if = { @@ -2874,7 +2874,7 @@ on_title_gain = { # BP3 - Inspector perks cleanup effect landless_inspector_cleanup_modifier = yes - # Update flavorful titles (Margrave, Tenno, etc.) + # Update flavorful titles (Margrave, british_monarch, etc.) additional_flavor_check_effect = yes # Update CoAs diff --git a/common/scripted_character_templates/tgp_character_templates.txt b/common/scripted_character_templates/tgp_character_templates.txt index 598512bf6..ae4528513 100644 --- a/common/scripted_character_templates/tgp_character_templates.txt +++ b/common/scripted_character_templates/tgp_character_templates.txt @@ -366,17 +366,17 @@ tgp_concubine_template = { } tgp_japan_imperial_scion_template = { - culture = scope:kampaku.culture - faith = scope:kampaku.faith - rite = scope:kampaku.rite + culture = scope:prime_minister.culture + faith = scope:prime_minister.faith + rite = scope:prime_minister.rite dynasty_house = scope:house_yamato gender_female_chance = { if = { - limit = { scope:kampaku.rite = { rite_has_doctrine = doctrine_gender_male_dominated } } + limit = { scope:prime_minister.rite = { rite_has_doctrine = doctrine_gender_male_dominated } } add = 0 } else_if = { - limit = { scope:kampaku.rite = { rite_has_doctrine = doctrine_gender_female_dominated } } + limit = { scope:prime_minister.rite = { rite_has_doctrine = doctrine_gender_female_dominated } } add = 100 } else = { diff --git a/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt b/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt index bf29a4673..a7f6f471e 100644 --- a/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt +++ b/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt @@ -117,7 +117,7 @@ # hidden_effect = { # send_interface_message = { # type = event_toast_effect_bad -# title = tgp_japan_establish_house_fief_kampaku_toast +# title = tgp_japan_establish_house_fief_prime_minister_toast # left_icon = scope:new_head # right_icon = scope:new_head.primary_title # show_as_tooltip = { @@ -499,7 +499,7 @@ # #japan_clear_flavour_flags_effect = { # remove_global_variable = shogunate_established -# remove_global_variable = tenno_restored +# remove_global_variable = british_monarch_restored # remove_character_flag = shogun_flag # remove_character_flag = ceremonial_liege_flag # remove_character_flag = joko_flag @@ -570,7 +570,7 @@ # # GLOBAL VAR # japan_clear_flavour_flags_effect = yes # set_global_variable = { -# name = tenno_restored +# name = british_monarch_restored # value = yes # } # show_as_tooltip = { restore_ceremonial_liege_faction_reward_effect = yes } @@ -587,7 +587,7 @@ # } # } # scope:ceremonial_liege_temp = { -# custom_tooltip = tenno_duchy_creation_tt +# custom_tooltip = british_monarch_duchy_creation_tt # if = { # limit = { has_legitimacy = yes } # add_legitimacy = major_legitimacy_gain @@ -2567,7 +2567,7 @@ #} # #tgp_restore_japanese_monarchy_decision_effect = { -# save_scope_as = kampaku +# save_scope_as = prime_minister # tgp_restore_japanese_monarchy_yamato_scion_effect = yes # add_prestige = major_prestige_value # if = { @@ -2586,30 +2586,30 @@ #} # #tgp_restore_japanese_monarchy_yamato_scion_effect = { -# title:k_chrysanthemum_throne.previous_holder ?= { save_scope_as = last_tenno } +# title:k_royal_household.previous_holder ?= { save_scope_as = last_british_monarch } # dynasty:japanese_yamato.dynasty_founder.house ?= { # save_scope_as = house_yamato # if = { -# limit = { this = scope:kampaku.house } +# limit = { this = scope:prime_minister.house } # if = { # Avoid display of short tooltips after creation # limit = { NOT = { exists = scope:scion } } -# custom_tooltip = tgp_restore_japanese_monarchy_yamato_scion_kampaku_tt +# custom_tooltip = tgp_restore_japanese_monarchy_yamato_scion_prime_minister_tt # } -# scope:kampaku = { save_scope_as = scion } +# scope:prime_minister = { save_scope_as = scion } # } # else_if = { # limit = { -# scope:last_tenno ?= { tgp_japan_valid_restore_monarchy_scion_trigger = yes } +# scope:last_british_monarch ?= { tgp_japan_valid_restore_monarchy_scion_trigger = yes } # } # if = { # Avoid display of short tooltips after creation # limit = { NOT = { exists = scope:scion } } # custom_tooltip = tgp_restore_japanese_monarchy_yamato_scion_last_tt # } -# scope:last_tenno = { save_scope_as = scion } +# scope:last_british_monarch = { save_scope_as = scion } # } # else_if = { # limit = { -# scope:last_tenno ?= { +# scope:last_british_monarch ?= { # any_child = { tgp_japan_valid_restore_monarchy_scion_trigger = yes } # } # } @@ -2617,7 +2617,7 @@ # limit = { NOT = { exists = scope:scion } } # custom_tooltip = tgp_restore_japanese_monarchy_yamato_scion_last_child_tt # } -# scope:last_tenno = { +# scope:last_british_monarch = { # ordered_child = { # limit = { tgp_japan_valid_restore_monarchy_scion_trigger = yes } # order_by = age @@ -2627,7 +2627,7 @@ # } # else_if = { # limit = { -# scope:last_tenno ?= { +# scope:last_british_monarch ?= { # any_close_family_member = { tgp_japan_valid_restore_monarchy_scion_trigger = yes } # } # } @@ -2635,7 +2635,7 @@ # limit = { NOT = { exists = scope:scion } } # custom_tooltip = tgp_restore_japanese_monarchy_yamato_scion_last_close_family_tt # } -# scope:last_tenno = { +# scope:last_british_monarch = { # ordered_close_family_member = { # limit = { tgp_japan_valid_restore_monarchy_scion_trigger = yes } # order_by = age @@ -2697,7 +2697,7 @@ # if = { # limit = { exists = scope:scion } # if = { -# limit = { exists = title:k_chrysanthemum_throne.holder } +# limit = { exists = title:k_royal_household.holder } # create_title_and_vassal_change = { # type = usurped # save_scope_as = change @@ -2710,7 +2710,7 @@ # save_scope_as = change # } # } -# title:k_chrysanthemum_throne ?= { +# title:k_royal_household ?= { # change_title_holder = { # holder = scope:scion # change = scope:change @@ -2718,12 +2718,12 @@ # } # if = { # limit = { -# scope:scion.liege != scope:kampaku -# scope:scion != scope:kampaku +# scope:scion.liege != scope:prime_minister +# scope:scion != scope:prime_minister # } # scope:scion ?= { # change_liege = { -# liege = scope:kampaku +# liege = scope:prime_minister # change = scope:change # } # } @@ -2746,7 +2746,7 @@ #tgp_restore_japanese_monarchy_yamato_creation_effect = { # create_character = { # template = tgp_japan_imperial_scion_template -# location = scope:kampaku.capital_province +# location = scope:prime_minister.capital_province # age = { 16 38 } # save_scope_as = scion # } @@ -2755,19 +2755,19 @@ # limit = { is_female = yes } # create_character = { # template = tgp_japan_imperial_scion_template -# location = scope:kampaku.capital_province +# location = scope:prime_minister.capital_province # mother = scope:scion # age = { 11 12 } # } # create_character = { # template = tgp_japan_imperial_scion_template -# location = scope:kampaku.capital_province +# location = scope:prime_minister.capital_province # mother = scope:scion # age = { 7 8 } # } # create_character = { # template = tgp_japan_imperial_scion_template -# location = scope:kampaku.capital_province +# location = scope:prime_minister.capital_province # mother = scope:scion # age = { 3 4 } # } @@ -2775,19 +2775,19 @@ # else = { # create_character = { # template = tgp_japan_imperial_scion_template -# location = scope:kampaku.capital_province +# location = scope:prime_minister.capital_province # father = scope:scion # age = { 11 12 } # } # create_character = { # template = tgp_japan_imperial_scion_template -# location = scope:kampaku.capital_province +# location = scope:prime_minister.capital_province # father = scope:scion # age = { 7 8 } # } # create_character = { # template = tgp_japan_imperial_scion_template -# location = scope:kampaku.capital_province +# location = scope:prime_minister.capital_province # father = scope:scion # age = { 3 4 } # } @@ -2797,7 +2797,7 @@ # #tgp_restore_japanese_government_decision_effect = { # japan_clear_flavour_flags_effect = yes -# save_scope_as = kampaku +# save_scope_as = prime_minister # save_scope_as = background_throne_room_scope # add_character_flag = tgp_japan_restore_japanese_government_flag # # Change government if relevant @@ -2813,7 +2813,7 @@ # custom = every_japan_feudal_vassal_custom # limit = { government_has_flag = government_is_japan_feudal } # add_opinion = { -# target = scope:kampaku +# target = scope:prime_minister # modifier = restored_ritsuryo_opinion # } # } @@ -2827,15 +2827,15 @@ # is_ai = yes # NOR = { # government_allows = administrative -# is_allied_to = scope:kampaku +# is_allied_to = scope:prime_minister # } # opinion = { -# target = scope:kampaku +# target = scope:prime_minister # value < 25 # } # save_temporary_scope_as = vassal_temp # NOT = { -# scope:kampaku = { has_usable_hook = scope:vassal_temp } +# scope:prime_minister = { has_usable_hook = scope:vassal_temp } # } # } # order_by = military_power @@ -2850,12 +2850,12 @@ # is_ai = yes # NOT = { government_allows = administrative } # opinion = { -# target = scope:kampaku +# target = scope:prime_minister # value < 25 # } # save_temporary_scope_as = vassal_temp # NOT = { -# scope:kampaku = { has_usable_hook = scope:vassal_temp } +# scope:prime_minister = { has_usable_hook = scope:vassal_temp } # } # } # order_by = military_power @@ -2866,7 +2866,7 @@ # limit = { exists = scope:rebel } # tgp_restore_ritsuryo_civil_war_effect = { # REBEL = scope:rebel -# LIEGE = scope:kampaku +# LIEGE = scope:prime_minister # } # } # } @@ -2875,7 +2875,7 @@ # every_vassal_or_below = { # limit = { # primary_title.tier >= tier_county -# culture = { has_same_culture_heritage = scope:kampaku.culture } +# culture = { has_same_culture_heritage = scope:prime_minister.culture } # } # trigger_event = { # id = tgp_japan_decision.9912 @@ -3348,7 +3348,7 @@ #tgp_japan_assert_regional_dominion_government_decision_effect = { # save_scope_as = super_soryo # scope:super_soryo.primary_title.duchy ?= { save_scope_as = title_scope } -# # Crime to Kampaku +# # Crime to prime_minister # if = { # limit = { # top_liege = { government_allows = administrative } @@ -3362,7 +3362,7 @@ # top_liege = { # send_interface_toast = { # type = event_war_bad -# title = tgp_japan_soryo_war_is_crime_kampaku_title +# title = tgp_japan_soryo_war_is_crime_prime_minister_title # left_icon = scope:super_soryo # right_icon = scope:title_scope # add_opinion = { diff --git a/common/scripted_triggers/10_tgp_japan_triggers.txt b/common/scripted_triggers/10_tgp_japan_triggers.txt index af77563aa..9826658cf 100644 --- a/common/scripted_triggers/10_tgp_japan_triggers.txt +++ b/common/scripted_triggers/10_tgp_japan_triggers.txt @@ -1,9 +1,9 @@  -tgp_is_japanese_kampaku_trigger = { +tgp_is_japanese_prime_minister_trigger = { has_title = title:e_japan NOR = { - has_title = title:k_chrysanthemum_throne - has_global_variable = tenno_restored + has_title = title:k_royal_household + has_global_variable = british_monarch_restored has_global_variable = shogunate_established } } @@ -29,20 +29,20 @@ tgp_is_japanese_governor_trigger = { } } -can_have_kampaku_acclamation_succession_law_trigger = { +can_have_prime_minister_acclamation_succession_law_trigger = { has_tgp_dlc_trigger = yes government_has_mechanic = administrative is_independent_ruler = yes } -can_keep_kampaku_acclamation_succession_law_trigger = { +can_keep_prime_minister_acclamation_succession_law_trigger = { has_tgp_dlc_trigger = yes trigger_if = { limit = { has_realm_law = japanese_regency_succession_law } OR = { - can_have_kampaku_acclamation_succession_law_trigger = yes + can_have_prime_minister_acclamation_succession_law_trigger = yes OR = { has_title = title:e_japan has_title = titel:e_britannia @@ -284,9 +284,9 @@ can_change_japanese_appointment_succession_law_trigger = { tgp_japan_single_heir_succession_override_trigger = { save_temporary_scope_as = holder_temp OR = { - title:k_chrysanthemum_throne.holder ?= scope:holder_temp + title:k_royal_household.holder ?= scope:holder_temp AND = { - has_global_variable = tenno_restored + has_global_variable = british_monarch_restored title:e_japan.holder ?= scope:holder_temp } } @@ -303,11 +303,11 @@ tgp_britain_single_heir_succession_override_trigger = { } } -tgp_blocked_action_against_tenno_trigger = { +tgp_blocked_action_against_british_monarch_trigger = { custom_description = { text = tgp_blocked_ruler_against_ceremonial_action_trigger NAND = { - $TARGET$ = { has_title = title:k_chrysanthemum_throne } + $TARGET$ = { has_title = title:k_royal_household } $TARGET$.top_liege = $ACTOR$.top_liege } } @@ -317,8 +317,8 @@ tgp_blocked_ruler_against_ceremonial_action_trigger = { custom_description = { text = tgp_blocked_ruler_against_ceremonial_action_trigger NAND = { - $TENNO$ = { has_title = title:k_chrysanthemum_throne } - $REGENT$ = $TENNO$.liege + $british_monarch$ = { has_title = title:k_royal_household } + $REGENT$ = $british_monarch$.liege } } } @@ -337,8 +337,8 @@ tgp_blocked_ruler_against_ceremonial_action_trigger = { custom_description = { text = tgp_blocked_ruler_against_ceremonial_action_trigger NAND = { - $TENNO$ = { has_title = title:k_royal_household} - $REGENT$ = $TENNO$.liege + $british_monarch$ = { has_title = title:k_royal_household} + $REGENT$ = $british_monarch$.liege } } } @@ -425,7 +425,7 @@ japan_imperial_expansion_cb_allowed_against_character_trigger = { NOT = { top_liege ?= scope:attacker.top_liege } # Must own Japanese non-de-jure land any_sub_realm_county = { - NOT = { empire = title:e_japan } + NOT = { empire = title:e_britannia } title_province = { OR = { geographical_region = world_asia_japan @@ -448,7 +448,7 @@ japan_imperial_reconquest_cb_allowed_against_character_trigger = { # Cannot also be part of Japan scope:defender.top_liege != scope:attacker.top_liege # Must own Japanese de-jure land - any_sub_realm_county = { empire = title:e_japan } + any_sub_realm_county = { empire = title:e_britannia } } realm_law_use_imperial_policy_trigger = { @@ -496,7 +496,7 @@ tgp_japan_defense_mobilization_valid_trigger = { tgp_japan_valid_restore_monarchy_scion_trigger = { is_landed = no - can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = scope:kampaku } + can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = scope:prime_minister } is_healthy = yes } @@ -524,10 +524,10 @@ tgp_install_regent_faction_can_create_trigger = { has_tgp_dlc_trigger = yes scope:target ?= { tgp_install_regent_faction_target_valid_trigger = yes } custom_tooltip = { - text = replace_ceremonial_regent_faction_kampaku_trigger + text = replace_ceremonial_regent_faction_prime_minister_trigger NOR = { has_global_variable = shogunate_established - has_global_variable = tenno_restored + has_global_variable = british_monarch_restored } } is_adult = yes @@ -808,7 +808,7 @@ japan_government_japan_kingdom_restriction_trigger = { } custom_tooltip = { text = japan_government_japan_kingdom_restriction_tt - has_global_variable = tenno_restored + has_global_variable = british_monarch_restored } } } @@ -830,7 +830,7 @@ japan_government_japan_duchy_restriction_trigger = { } custom_tooltip = { text = japan_government_japan_duchy_restriction_tt - has_global_variable = tenno_restored + has_global_variable = british_monarch_restored } } }