british stuff hopefully this works

This commit is contained in:
edwardtheelbowhigh 2026-10-25 18:14:11 +00:00
parent 9cd86efdfd
commit 80115382ad
16 changed files with 127 additions and 143 deletions

View file

@ -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 = {