Fixing things

This commit is contained in:
Heidesommer 2026-05-28 09:09:00 -04:00
parent e2a877d018
commit cf10d05052
45 changed files with 8242 additions and 2221 deletions

View file

@ -104,177 +104,177 @@ hold_triumph_decision = {
}
}
### Restore [ROOT.Char.GetPrimaryTitle.GetNameNoTierNoTooltip] ###
restore_backwater_counties_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/ep3_decision_estate.dds"
}
decision_group_type = major
ai_check_interval_by_tier = {
barony = 0
county = 0
duchy = 120
kingdom = 120
empire = 0
hegemony = 0
}
sort_order = 70
desc = restore_backwater_counties_decision_desc
selection_tooltip = restore_backwater_counties_decision_tooltip
decision_group_type = roman
is_shown = {
has_ep3_dlc_trigger = yes
primary_title ?= {
OR = {
tier = tier_duchy
tier = tier_kingdom
}
}
any_sub_realm_county = {
has_county_modifier = backwater_county_modifier
}
}
is_valid = {
is_at_war = no
custom_tooltip = {
text = backwater_county_eligible_modifier_removal_tt
any_sub_realm_county = {
count >= 1
has_county_modifier = backwater_county_modifier
development_level >= 50
}
}
}
is_valid_showing_failures_only = {
is_alive = yes
is_available = yes
NOT = { exists = involved_activity }
is_imprisoned = no
}
cost = {
gold = {
value = 0
if = {
limit = {
has_treasury = no
}
add = medium_gold_value
multiply = {
value = 1
every_sub_realm_county = {
limit = {
title_province = {
geographical_region = greek_backwater_modifier_region
}
has_county_modifier = backwater_county_modifier
development_level >= 50
}
add = 1
}
}
}
}
treasury = {
value = 0
if = {
limit = {
has_treasury = yes
}
add = medium_gold_value
multiply = {
value = 1
every_sub_realm_county = {
limit = {
title_province = {
geographical_region = greek_backwater_modifier_region
}
has_county_modifier = backwater_county_modifier
development_level >= 50
}
add = 1
}
}
}
}
}
effect = {
custom_tooltip = greek_backwater_modifier_removal_tt
if = {
limit = {
NOT = {
any_sub_realm_county = {
title_province = {
geographical_region = greek_backwater_modifier_region
}
has_county_modifier = backwater_county_modifier
development_level >= 50
}
}
}
custom_tooltip = no_backwater_counties_meet_criteria_tt
}
else = {
every_sub_realm_county = {
limit = {
title_province = {
geographical_region = greek_backwater_modifier_region
}
has_county_modifier = backwater_county_modifier
development_level >= 50
}
add_to_list = frontwater_counties
}
}
primary_title = { save_scope_as = target_theme }
# Toast for the Governor confirming which counties got the modifier removed
send_interface_message = {
type = event_generic_good
title = ep3_theme_not_backwater.t
left_icon = root
right_icon = root.primary_title
every_in_list = {
list = frontwater_counties
remove_county_modifier = backwater_county_modifier
}
}
if = { # If we remove the modifier from the last county belonging to this governor, we fire a celebration event for some narrative flavor
limit = {
any_sub_realm_county = {
count = 0
title_province = {
geographical_region = greek_backwater_modifier_region
}
has_county_modifier = backwater_county_modifier
}
}
# Event for the Governor if all counties are restored
trigger_event = {
id = ep3_decisions_event.3000
days = 1
}
# Once all the counties have been brought up to speed, we notify the emperor
liege = {
send_interface_message = {
type = event_generic_good_text
title = ep3_theme_not_backwater.t
desc = ep3_theme_not_backwater.desc
left_icon = root
}
# Trigger the event for the emperor to see if all the counties have been cleared
trigger_event = ep3_decisions_event.3001
}
}
}
}
#### Restore [ROOT.Char.GetPrimaryTitle.GetNameNoTierNoTooltip] ###
#restore_backwater_counties_decision = {
# picture = {
# reference = "gfx/interface/illustrations/decisions/ep3_decision_estate.dds"
# }
# decision_group_type = major
# ai_check_interval_by_tier = {
# barony = 0
# county = 0
# duchy = 120
# kingdom = 120
# empire = 0
# hegemony = 0
# }
#
# sort_order = 70
#
# desc = restore_backwater_counties_decision_desc
# selection_tooltip = restore_backwater_counties_decision_tooltip
# decision_group_type = roman
#
# is_shown = {
# has_ep3_dlc_trigger = yes
# primary_title ?= {
# OR = {
# tier = tier_duchy
# tier = tier_kingdom
# }
# }
# any_sub_realm_county = {
# has_county_modifier = backwater_county_modifier
# }
# }
#
# is_valid = {
# is_at_war = no
# custom_tooltip = {
# text = backwater_county_eligible_modifier_removal_tt
# any_sub_realm_county = {
# count >= 1
# has_county_modifier = backwater_county_modifier
# development_level >= 50
# }
# }
# }
#
# is_valid_showing_failures_only = {
# is_alive = yes
# is_available = yes
# NOT = { exists = involved_activity }
# is_imprisoned = no
# }
#
# cost = {
# gold = {
# value = 0
# if = {
# limit = {
# has_treasury = no
# }
# add = medium_gold_value
# multiply = {
# value = 1
# every_sub_realm_county = {
# limit = {
# title_province = {
# geographical_region = greek_backwater_modifier_region
# }
# has_county_modifier = backwater_county_modifier
# development_level >= 50
# }
# add = 1
# }
# }
# }
# }
# treasury = {
# value = 0
# if = {
# limit = {
# has_treasury = yes
# }
# add = medium_gold_value
# multiply = {
# value = 1
# every_sub_realm_county = {
# limit = {
# title_province = {
# geographical_region = greek_backwater_modifier_region
# }
# has_county_modifier = backwater_county_modifier
# development_level >= 50
# }
# add = 1
# }
# }
# }
# }
# }
#
# effect = {
# custom_tooltip = greek_backwater_modifier_removal_tt
# if = {
# limit = {
# NOT = {
# any_sub_realm_county = {
# title_province = {
# geographical_region = greek_backwater_modifier_region
# }
# has_county_modifier = backwater_county_modifier
# development_level >= 50
# }
# }
# }
# custom_tooltip = no_backwater_counties_meet_criteria_tt
# }
# else = {
# every_sub_realm_county = {
# limit = {
# title_province = {
# geographical_region = greek_backwater_modifier_region
# }
# has_county_modifier = backwater_county_modifier
# development_level >= 50
# }
# add_to_list = frontwater_counties
# }
# }
# primary_title = { save_scope_as = target_theme }
# # Toast for the Governor confirming which counties got the modifier removed
# send_interface_message = {
# type = event_generic_good
# title = ep3_theme_not_backwater.t
# left_icon = root
# right_icon = root.primary_title
# every_in_list = {
# list = frontwater_counties
# remove_county_modifier = backwater_county_modifier
# }
# }
#
# if = { # If we remove the modifier from the last county belonging to this governor, we fire a celebration event for some narrative flavor
# limit = {
# any_sub_realm_county = {
# count = 0
# title_province = {
# geographical_region = greek_backwater_modifier_region
# }
# has_county_modifier = backwater_county_modifier
# }
# }
# # Event for the Governor if all counties are restored
# trigger_event = {
# id = ep3_decisions_event.3000
# days = 1
# }
#
# # Once all the counties have been brought up to speed, we notify the emperor
# liege = {
# send_interface_message = {
# type = event_generic_good_text
# title = ep3_theme_not_backwater.t
# desc = ep3_theme_not_backwater.desc
# left_icon = root
# }
# # Trigger the event for the emperor to see if all the counties have been cleared
# trigger_event = ep3_decisions_event.3001
# }
# }
# }
#}
#
#### Prepare Greek Fire Dromons ###
#prepare_greek_fire_dromons_decision = {