fixes big evebts abd on actions plus mroe
This commit is contained in:
parent
c9d520e5a1
commit
bce2aa31a1
207 changed files with 100377 additions and 9296 deletions
|
|
@ -2095,11 +2095,16 @@ ai_movement_petition_change_laws_decision = {
|
|||
}
|
||||
}
|
||||
# Renounce Family Title
|
||||
### Retire from Heading the [ROOT.Char.GetHouse.GetNameNoTooltip] House ###
|
||||
### Retire from Heading House [ROOT.Char.GetHouse.GetNameNoTooltip] ###
|
||||
renounce_noble_family_title_decision = {
|
||||
picture = {
|
||||
trigger = { tgp_retires_to_eastern_estate_trigger = yes }
|
||||
reference = "gfx/interface/illustrations/event_scenes/tgp_asia_estate.dds"
|
||||
}
|
||||
picture = {
|
||||
reference = "gfx/interface/illustrations/event_scenes/ep3_medi_estate.dds"
|
||||
}
|
||||
|
||||
sort_order = 85
|
||||
|
||||
desc = {
|
||||
|
|
@ -2121,8 +2126,11 @@ renounce_noble_family_title_decision = {
|
|||
|
||||
is_shown = {
|
||||
any_held_title = { is_noble_family_title = yes }
|
||||
NOT = { religion = religion:buddhism_religion } # Uses tgp_japan_become_a_monk_decision
|
||||
NOT = { top_liege = root } #This is not a general abdication decision
|
||||
NOR = {
|
||||
religion = religion:buddhism_religion # Uses tgp_japan_become_a_monk_decision
|
||||
top_liege = root # This is not a general abdication decision
|
||||
government_has_flag = government_is_republic
|
||||
}
|
||||
is_house_head = yes
|
||||
is_playable_character = yes
|
||||
has_tgp_dlc_trigger = yes
|
||||
|
|
@ -2140,15 +2148,22 @@ renounce_noble_family_title_decision = {
|
|||
current_heir ?= { is_available_ai_adult = yes }
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
government_has_flag = government_is_republic
|
||||
government_has_flag = government_is_administrative
|
||||
}
|
||||
}
|
||||
is_landed = no
|
||||
}
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
is_available_adult = yes
|
||||
is_at_war_with_liege = no
|
||||
trigger_if = {
|
||||
limit = {
|
||||
has_realm_law_flag = celestial_retirement_law
|
||||
}
|
||||
limit = { has_realm_law_flag = celestial_retirement_law }
|
||||
tgp_is_above_retirement_age_trigger = { REALM_OWNER = root }
|
||||
}
|
||||
}
|
||||
|
|
@ -2162,7 +2177,13 @@ renounce_noble_family_title_decision = {
|
|||
}
|
||||
}
|
||||
show_as_tooltip = {
|
||||
add_character_modifier = { modifier = ep3_renounced_estate }
|
||||
if = {
|
||||
limit = { tgp_retires_to_eastern_estate_trigger = yes }
|
||||
add_character_modifier = { modifier = ep3_renounced_estate }
|
||||
}
|
||||
else = {
|
||||
add_character_modifier = { modifier = tgp_western_renounced_estate }
|
||||
}
|
||||
custom_tooltip = renounce_noble_family_title_decision_tt
|
||||
if = {
|
||||
limit = { exists = scope:new_player }
|
||||
|
|
|
|||
|
|
@ -58,7 +58,8 @@ convert_to_mandala_government_decision = {
|
|||
picture = {
|
||||
reference = "gfx/interface/illustrations/decisions/tgp_decision_mandala.dds"
|
||||
}
|
||||
decision_group_type = major
|
||||
decision_group_type = realm
|
||||
sort_order = 40
|
||||
desc = convert_to_mandala_government_decision_desc
|
||||
|
||||
ai_check_interval_by_tier = {
|
||||
|
|
@ -248,7 +249,8 @@ assimilate_to_mandala_decision = {
|
|||
picture = {
|
||||
reference = "gfx/interface/illustrations/decisions/tgp_decision_mandala.dds"
|
||||
}
|
||||
decision_group_type = major
|
||||
decision_group_type = realm
|
||||
sort_order = 40
|
||||
desc = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
|
|
@ -273,6 +275,7 @@ assimilate_to_mandala_decision = {
|
|||
}
|
||||
|
||||
is_shown = {
|
||||
is_landed = yes
|
||||
highest_held_title_tier > tier_barony
|
||||
overlord ?= { government_has_flag = government_is_mandala }
|
||||
NAND = {
|
||||
|
|
@ -436,6 +439,7 @@ assimilate_to_mandala_decision = {
|
|||
this != top_overlord
|
||||
overlord = { government_has_flag = government_is_mandala }
|
||||
primary_title.tier > tier_barony
|
||||
NOT = { government_has_flag = government_is_republic }
|
||||
#Keep the tributaries Wanua
|
||||
trigger_if = {
|
||||
limit = {
|
||||
|
|
@ -524,7 +528,8 @@ mandala_adopt_clan_government_decision = {
|
|||
picture = {
|
||||
reference = "gfx/interface/illustrations/decisions/decision_realm.dds"
|
||||
}
|
||||
decision_group_type = major
|
||||
decision_group_type = realm
|
||||
sort_order = 40
|
||||
desc = mandala_adopt_clan_government_decision_desc
|
||||
|
||||
ai_check_interval_by_tier = {
|
||||
|
|
@ -668,7 +673,7 @@ seize_mandala_capital_decision = {
|
|||
any_sub_realm_barony = {
|
||||
title_province ?= {
|
||||
has_building_with_flag = mandala_capital_building
|
||||
has_ruined_great_building = no
|
||||
has_ruined_great_district = no
|
||||
}
|
||||
kingdom ?= root.capital_county.kingdom
|
||||
}
|
||||
|
|
@ -689,7 +694,7 @@ seize_mandala_capital_decision = {
|
|||
kingdom = root.capital_county.kingdom
|
||||
title_province = {
|
||||
has_building_with_flag = mandala_capital_building
|
||||
has_ruined_great_building = no
|
||||
has_ruined_great_district = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -698,7 +703,7 @@ seize_mandala_capital_decision = {
|
|||
kingdom = root.capital_county.kingdom
|
||||
title_province = {
|
||||
has_building_with_flag = mandala_capital_building
|
||||
has_ruined_great_building = no
|
||||
has_ruined_great_district = no
|
||||
}
|
||||
}
|
||||
holder = { save_scope_as = previous_holder }
|
||||
|
|
|
|||
|
|
@ -21,9 +21,15 @@ visit_silk_road_market_decision = {
|
|||
is_shown = {
|
||||
exists = situation:silk_road_situation
|
||||
OR = {
|
||||
any_character_situation = { situation_type = silk_road_situation }
|
||||
is_ai = no
|
||||
any_character_situation = { situation_type = silk_road_situation }
|
||||
}
|
||||
OR = {
|
||||
has_tgp_dlc_trigger = yes # All Under Heaven
|
||||
has_gdp_dlc_trigger = yes # Silk & Silver
|
||||
}
|
||||
is_playable_character = yes
|
||||
|
||||
#There is no point in showing this decision if you cannot benefit from going at all:
|
||||
OR = {
|
||||
silk_road_valid_market_to_visit_trigger = { SUB_REGION = china }
|
||||
|
|
@ -33,14 +39,10 @@ visit_silk_road_market_decision = {
|
|||
silk_road_valid_market_to_visit_trigger = { SUB_REGION = transcaspia }
|
||||
silk_road_valid_market_to_visit_trigger = { SUB_REGION = occident }
|
||||
}
|
||||
is_playable_character = yes
|
||||
|
||||
has_tgp_dlc_trigger = yes
|
||||
}
|
||||
|
||||
is_valid = {
|
||||
is_adult = yes
|
||||
gold >= major_gold_value
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
|
|
@ -49,6 +51,10 @@ visit_silk_road_market_decision = {
|
|||
is_incapable = no
|
||||
}
|
||||
|
||||
cost = {
|
||||
gold = major_gold_value
|
||||
}
|
||||
|
||||
widget = {
|
||||
gui = "decision_view_widget_option_list_generic"
|
||||
controller = decision_option_list_controller
|
||||
|
|
@ -62,8 +68,8 @@ visit_silk_road_market_decision = {
|
|||
is_valid = {
|
||||
custom_tooltip = {
|
||||
text = no_building_at_silk_road_market_desc
|
||||
title:c_jingzhao = { # Chang'an
|
||||
any_county_province = { has_building_with_flag = silk_road_node }
|
||||
title:b_zhouzhi.title_province = { # Chang'an
|
||||
has_building_with_flag = silk_road_node
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
|
|
@ -116,8 +122,8 @@ visit_silk_road_market_decision = {
|
|||
is_valid = {
|
||||
custom_tooltip = {
|
||||
text = no_building_at_silk_road_market_desc
|
||||
title:c_lhasa = {
|
||||
any_county_province = { has_building_with_flag = silk_road_node }
|
||||
title:b_potala.title_province = { # Lhasa
|
||||
has_building_with_flag = silk_road_node
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
|
|
@ -170,8 +176,8 @@ visit_silk_road_market_decision = {
|
|||
is_valid = {
|
||||
custom_tooltip = {
|
||||
text = no_building_at_silk_road_market_desc
|
||||
title:c_lahur = {
|
||||
any_county_province = { has_building_with_flag = silk_road_node }
|
||||
title:b_lahur.title_province = { # Lahur
|
||||
has_building_with_flag = silk_road_node
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
|
|
@ -224,8 +230,8 @@ visit_silk_road_market_decision = {
|
|||
is_valid = {
|
||||
custom_tooltip = {
|
||||
text = no_building_at_silk_road_market_desc
|
||||
title:c_shazhou = { # Dunhuang
|
||||
any_county_province = { has_building_with_flag = silk_road_node }
|
||||
title:b_dunhuang_2.title_province = { # Dunhuang
|
||||
has_building_with_flag = silk_road_node
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
|
|
@ -272,14 +278,14 @@ visit_silk_road_market_decision = {
|
|||
}
|
||||
}
|
||||
}
|
||||
item = { # Khiva
|
||||
value = c_khiva
|
||||
item = { # Gurganj
|
||||
value = c_gurganj
|
||||
is_shown = { always = yes }
|
||||
is_valid = {
|
||||
custom_tooltip = {
|
||||
text = no_building_at_silk_road_market_desc
|
||||
title:c_khiva = {
|
||||
any_county_province = { has_building_with_flag = silk_road_node }
|
||||
title:b_gurganj.title_province = { # Gurganj
|
||||
has_building_with_flag = silk_road_node
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
|
|
@ -287,7 +293,7 @@ visit_silk_road_market_decision = {
|
|||
silk_road_valid_market_to_visit_trigger = { SUB_REGION = transcaspia }
|
||||
}
|
||||
}
|
||||
localization = visit_silk_road_market_decision_khiva
|
||||
localization = visit_silk_road_market_decision_gurganj
|
||||
icon = "gfx/interface/icons/travel/icon_travel_silk_road_marketplace.dds"
|
||||
ai_chance = {
|
||||
value = 1
|
||||
|
|
@ -295,7 +301,7 @@ visit_silk_road_market_decision = {
|
|||
limit = {
|
||||
root.location = {
|
||||
squared_distance = {
|
||||
target = title:c_khiva.title_province
|
||||
target = title:c_gurganj.title_province
|
||||
value <= squared_distance_small
|
||||
}
|
||||
}
|
||||
|
|
@ -306,7 +312,7 @@ visit_silk_road_market_decision = {
|
|||
limit = {
|
||||
root.location = {
|
||||
squared_distance = {
|
||||
target = title:c_khiva.title_province
|
||||
target = title:c_gurganj.title_province
|
||||
value <= squared_distance_large
|
||||
}
|
||||
}
|
||||
|
|
@ -317,7 +323,7 @@ visit_silk_road_market_decision = {
|
|||
limit = {
|
||||
root.location = {
|
||||
squared_distance = {
|
||||
target = title:c_khiva.title_province
|
||||
target = title:c_gurganj.title_province
|
||||
value > squared_distance_huge
|
||||
}
|
||||
}
|
||||
|
|
@ -326,14 +332,14 @@ visit_silk_road_market_decision = {
|
|||
}
|
||||
}
|
||||
}
|
||||
item = { # Dvin
|
||||
value = c_dvin
|
||||
item = { # Tabriz
|
||||
value = c_tabriz
|
||||
is_shown = { always = yes }
|
||||
is_valid = {
|
||||
custom_tooltip = {
|
||||
text = no_building_at_silk_road_market_desc
|
||||
title:c_dvin = {
|
||||
any_county_province = { has_building_with_flag = silk_road_node }
|
||||
title:b_tabriz.title_province = { # Tabriz
|
||||
has_building_with_flag = silk_road_node
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
|
|
@ -341,7 +347,7 @@ visit_silk_road_market_decision = {
|
|||
silk_road_valid_market_to_visit_trigger = { SUB_REGION = occident }
|
||||
}
|
||||
}
|
||||
localization = visit_silk_road_market_decision_dvin
|
||||
localization = visit_silk_road_market_decision_tabriz
|
||||
icon = "gfx/interface/icons/travel/icon_travel_silk_road_marketplace.dds"
|
||||
ai_chance = {
|
||||
value = 1
|
||||
|
|
@ -349,7 +355,7 @@ visit_silk_road_market_decision = {
|
|||
limit = {
|
||||
root.location = {
|
||||
squared_distance = {
|
||||
target = title:c_dvin.title_province
|
||||
target = title:c_tabriz.title_province
|
||||
value <= squared_distance_small
|
||||
}
|
||||
}
|
||||
|
|
@ -360,7 +366,7 @@ visit_silk_road_market_decision = {
|
|||
limit = {
|
||||
root.location = {
|
||||
squared_distance = {
|
||||
target = title:c_dvin.title_province
|
||||
target = title:c_tabriz.title_province
|
||||
value <= squared_distance_large
|
||||
}
|
||||
}
|
||||
|
|
@ -371,7 +377,7 @@ visit_silk_road_market_decision = {
|
|||
limit = {
|
||||
root.location = {
|
||||
squared_distance = {
|
||||
target = title:c_dvin.title_province
|
||||
target = title:c_tabriz.title_province
|
||||
value > squared_distance_huge
|
||||
}
|
||||
}
|
||||
|
|
@ -383,11 +389,10 @@ visit_silk_road_market_decision = {
|
|||
}
|
||||
|
||||
effect = {
|
||||
remove_short_term_gold = major_gold_value
|
||||
switch = {
|
||||
trigger = yes
|
||||
scope:c_dvin = { # Dvin
|
||||
title:c_dvin = { tgp_silk_road_decision_scope_effect = yes }
|
||||
scope:c_tabriz = { # Tabriz
|
||||
title:c_tabriz = { tgp_silk_road_decision_scope_effect = yes }
|
||||
}
|
||||
scope:c_jingzhao = { # Chang'an
|
||||
title:c_jingzhao = { tgp_silk_road_decision_scope_effect = yes }
|
||||
|
|
@ -401,8 +406,8 @@ visit_silk_road_market_decision = {
|
|||
scope:c_lhasa = { # Lhasa
|
||||
title:c_lhasa = { tgp_silk_road_decision_scope_effect = yes }
|
||||
}
|
||||
scope:c_khiva = { # Khiva
|
||||
title:c_khiva = { tgp_silk_road_decision_scope_effect = yes }
|
||||
scope:c_gurganj = { # Gurganj
|
||||
title:c_gurganj = { tgp_silk_road_decision_scope_effect = yes }
|
||||
}
|
||||
}
|
||||
if = {
|
||||
|
|
@ -419,16 +424,22 @@ visit_silk_road_market_decision = {
|
|||
on_arrival_event = tgp_silk_road_events.0010
|
||||
travel_with_domicile = no
|
||||
return_trip = yes
|
||||
on_travel_planner_cancel_on_action = silk_road_market_visit_travel_planner_cancel_on_action # here comes the refund!
|
||||
on_travel_planner_cancel_event = tgp_silk_road_events.0011
|
||||
players_use_planner = yes
|
||||
#on_arrival_destinations = last
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { exists = scope:innovation_temp }
|
||||
custom_tooltip = potential_innovation_at_silk_road_market_desc
|
||||
limit = { government_has_flag = government_is_merchant }
|
||||
custom_tooltip = visit_silk_road_market_merchant_rewards_tt
|
||||
}
|
||||
else = {
|
||||
if = {
|
||||
limit = { exists = scope:innovation_temp }
|
||||
custom_tooltip = potential_innovation_at_silk_road_market_desc
|
||||
}
|
||||
custom_tooltip = travel_silk_road_market_innovation_warning_tt
|
||||
}
|
||||
custom_tooltip = travel_silk_road_market_innovation_warning_tt
|
||||
if = {
|
||||
limit = {
|
||||
root.location = {
|
||||
|
|
|
|||
|
|
@ -382,7 +382,8 @@ convert_to_meritocratic_decision = {
|
|||
picture = {
|
||||
reference = "gfx/interface/illustrations/event_story/tgp_dynastic_cycle_stability.dds"
|
||||
}
|
||||
decision_group_type = major
|
||||
decision_group_type = realm
|
||||
sort_order = 40
|
||||
|
||||
ai_check_interval_by_tier = {
|
||||
barony = 0
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ tribute_mission_decision_mandala = {
|
|||
reference = "gfx/interface/illustrations/decisions/tgp_projects_mandala_capital.dds"
|
||||
}
|
||||
decision_group_type = realm
|
||||
sort_order = 10
|
||||
|
||||
should_create_alert = { always = yes }
|
||||
|
||||
|
|
@ -13,6 +14,7 @@ tribute_mission_decision_mandala = {
|
|||
cooldown = { years = 5 }
|
||||
|
||||
is_shown = {
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
is_tributary = yes
|
||||
suzerain ?= { government_has_flag = government_is_mandala }
|
||||
}
|
||||
|
|
@ -126,6 +128,8 @@ tribute_mission_decision_mandala = {
|
|||
}
|
||||
|
||||
ai_potential = {
|
||||
is_tributary = yes
|
||||
suzerain ?= { government_has_flag = government_is_mandala }
|
||||
tribute_mission_decision_ai_potential_trigger = { TARGET = suzerain }
|
||||
}
|
||||
|
||||
|
|
@ -140,6 +144,7 @@ tribute_mission_decision_china = {
|
|||
reference = "gfx/interface/illustrations/decisions/tgp_kowtow.dds"
|
||||
}
|
||||
decision_group_type = realm
|
||||
sort_order = 10
|
||||
|
||||
should_create_alert = { always = yes }
|
||||
|
||||
|
|
@ -148,8 +153,9 @@ tribute_mission_decision_china = {
|
|||
cooldown = { years = 5 }
|
||||
|
||||
is_shown = {
|
||||
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = h_china }
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
title:h_china ?= { is_title_created = yes }
|
||||
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = h_china }
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
|
|
@ -253,7 +259,8 @@ tribute_mission_decision_china = {
|
|||
}
|
||||
|
||||
ai_potential = {
|
||||
exists = title:h_china.holder
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = h_china }
|
||||
tribute_mission_decision_ai_potential_trigger = { TARGET = title:h_china.holder }
|
||||
}
|
||||
|
||||
|
|
@ -274,6 +281,7 @@ tribute_mission_decision_roman_empire = {
|
|||
reference = "gfx/interface/illustrations/decisions/ep3_decision_roman_restoration.dds"
|
||||
}
|
||||
decision_group_type = realm
|
||||
sort_order = 10
|
||||
|
||||
should_create_alert = { always = yes }
|
||||
|
||||
|
|
@ -282,6 +290,7 @@ tribute_mission_decision_roman_empire = {
|
|||
cooldown = { years = 5 }
|
||||
|
||||
is_shown = {
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
title:h_roman_empire ?= { is_title_created = yes }
|
||||
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = h_roman_empire }
|
||||
}
|
||||
|
|
@ -408,6 +417,7 @@ tribute_mission_decision_eastern_roman_empire = {
|
|||
reference = "gfx/interface/illustrations/decisions/ep3_decision_roman_restoration.dds"
|
||||
}
|
||||
decision_group_type = realm
|
||||
sort_order = 10
|
||||
|
||||
should_create_alert = { always = yes }
|
||||
|
||||
|
|
@ -416,6 +426,7 @@ tribute_mission_decision_eastern_roman_empire = {
|
|||
cooldown = { years = 5 }
|
||||
|
||||
is_shown = {
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
title:h_eastern_roman_empire ?= { is_title_created = yes }
|
||||
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = h_eastern_roman_empire }
|
||||
}
|
||||
|
|
@ -542,6 +553,7 @@ tribute_mission_decision_dar_al_islam = {
|
|||
reference = "gfx/interface/illustrations/decisions/decision_golden_age.dds"
|
||||
}
|
||||
decision_group_type = realm
|
||||
sort_order = 10
|
||||
|
||||
should_create_alert = { always = yes }
|
||||
|
||||
|
|
@ -550,6 +562,7 @@ tribute_mission_decision_dar_al_islam = {
|
|||
cooldown = { years = 5 }
|
||||
|
||||
is_shown = {
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
title:h_dar_al_islam ?= { is_title_created = yes }
|
||||
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = h_dar_al_islam }
|
||||
}
|
||||
|
|
@ -676,6 +689,7 @@ tribute_mission_decision_india = {
|
|||
reference = "gfx/interface/illustrations/decisions/decision_golden_age.dds"
|
||||
}
|
||||
decision_group_type = realm
|
||||
sort_order = 10
|
||||
|
||||
should_create_alert = { always = yes }
|
||||
|
||||
|
|
@ -684,6 +698,7 @@ tribute_mission_decision_india = {
|
|||
cooldown = { years = 5 }
|
||||
|
||||
is_shown = {
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
title:h_india ?= { is_title_created = yes }
|
||||
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = h_india }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue