ALL THE WAY TO DECISIONS DONE

This commit is contained in:
Fishedotjpg 2026-12-03 19:01:47 +00:00
parent 359420bc6b
commit d758b987c9
112 changed files with 20676 additions and 14484 deletions

View file

@ -1,110 +1,120 @@
# NEOW: Hansa founding is intentionally disabled. Vanilla decision retained as comments.
# found_the_hanseatic_league_decision = {
# picture = {
# reference = "gfx/interface/illustrations/decisions/gdp_republic_trade_ships.dds"
# }
# decision_group_type = major
# sort_order = 100
found_the_hanseatic_league_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/gdp_republic_trade_ships.dds"
}
decision_group_type = major
sort_order = 100
# ai_check_interval_by_tier = {
# barony = 0
# county = 120
# duchy = 60
# kingdom = 30
# empire = 30
# hegemony = 30
# }
ai_check_interval_by_tier = {
barony = 0
county = 120
duchy = 60
kingdom = 30
empire = 30
hegemony = 30
}
# desc = found_the_hanseatic_league_decision_desc
# selection_tooltip = found_the_hanseatic_league_decision_tooltip
# confirm_text = found_the_hanseatic_league_decision_confirm
desc = found_the_hanseatic_league_decision_desc
selection_tooltip = found_the_hanseatic_league_decision_tooltip
confirm_text = found_the_hanseatic_league_decision_confirm
# is_shown = {
# confederation ?= {
# confederation_type = confederation_type:trade_league
# has_leading_title = yes
# leading_title = root.primary_title
# NOT = { has_variable = is_hanseatic_league }
# }
# capital_province ?= { geographical_region = hanseatic_trade_region }
# has_gdp_dlc_trigger = yes
# }
is_shown = {
government_has_flag = government_is_republic
capital_province ?= { geographical_region = hanseatic_trade_region }
NOT = {
confederation ?= { has_variable = is_hanseatic_league }
}
has_gdp_dlc_trigger = yes
}
# is_valid_showing_failures_only = {
# is_at_war = no
# custom_tooltip = {
# text = found_the_hanseatic_league_cohesion_tt
# confederation ?= {
# cohesion >= 95
# }
# }
# custom_tooltip = {
# text = found_the_hanseatic_league_members_tt
# confederation ?= {
# any_confederation_member = { count >= 4 }
# }
# }
# }
is_valid_showing_failures_only = {
is_at_war = no
gdp_is_trade_league_head_trigger = yes
custom_tooltip = {
text = found_the_hanseatic_league_cohesion_tt
confederation ?= {
cohesion >= 70
}
}
custom_tooltip = {
text = found_the_hanseatic_league_members_tt
confederation ?= {
any_confederation_member = { count >= 4 }
}
}
}
# cost = {
# gold = massive_gold_value
# prestige = massive_prestige_value
# }
cost = {
gold = massive_gold_value
prestige = {
value = massive_prestige_value
if = {
limit = { is_ai = yes }
value = 250
}
}
}
# effect = {
# save_scope_as = hanse_founder
# primary_title = { save_scope_as = hanse_lead_town }
effect = {
save_scope_as = hanse_founder
# confederation = {
# set_variable = is_hanseatic_league
# set_coa = k_hansa
if = {
limit = { exists = confederation }
# if = {
# limit = {
# NOT = {
# any_confederation = {
# has_variable = hanseatic_baltic_identity
# }
# }
# }
# set_variable = hanseatic_baltic_identity
# set_confederation_name = HANSEATIC_LEAGUE_NAME
# }
# else = {
# set_confederation_name = GENERIC_HANSE_NAME
# }
# }
confederation = {
leading_title ?= { save_scope_as = hanse_lead_town }
set_variable = is_hanseatic_league
set_coa = k_hansa
# hanseatic_elevate_all_members_effect = { LEAGUE = root.confederation }
if = {
limit = {
NOT = {
any_confederation = {
has_variable = hanseatic_baltic_identity
}
}
}
set_variable = hanseatic_baltic_identity
set_confederation_name = HANSEATIC_LEAGUE_NAME
}
else = {
set_confederation_name = GENERIC_HANSE_NAME
}
}
# add_prestige = major_prestige_gain
hanseatic_elevate_all_members_effect = { LEAGUE = root.confederation }
# add_achievement_global_variable_effect = {
# VARIABLE = ep5_14_league_of_ledgers_achievement_unlocked
# VALUE = yes
# }
add_prestige = major_prestige_gain
# hanseatic_ask_personal_monopoly_holders_effect = { LEAGUE = root.confederation }
add_achievement_global_variable_effect = {
VARIABLE = ep5_14_league_of_ledgers_achievement_unlocked
VALUE = yes
}
# every_player = {
# limit = {
# is_member_of_confederation = root.confederation
# }
# send_interface_message = {
# type = event_generic_good_text
# title = found_the_hanseatic_league_message_title
# desc = found_the_hanseatic_league_message_desc
# left_icon = root
# }
# }
# }
hanseatic_ask_personal_monopoly_holders_effect = { LEAGUE = root.confederation }
# ai_potential = {
# is_ai = yes
# is_ruler = yes
# }
every_player = {
limit = {
is_member_of_confederation = root.confederation
}
send_interface_message = {
type = event_generic_good_text
title = found_the_hanseatic_league_message_title
desc = found_the_hanseatic_league_message_desc
left_icon = root
}
}
}
}
# ai_will_do = {
# base = 100
# }
# }
ai_potential = {
is_ai = yes
is_ruler = yes
capital_province ?= { geographical_region = hanseatic_core_commune_region }
gdp_is_trade_league_head_trigger = yes
}
ai_will_do = {
base = 100
}
}

View file

@ -61,6 +61,11 @@ gdp_adopt_republic_government_decision = {
sub_realm_size < 25 # Large realm should just become admin instead
capital_province = {
province_size_level >= 3
OR = {
has_holding_type = city_holding
has_holding_type = castle_holding
has_holding_type = temple_citadel_holding
}
}
OR = {
is_independent_ruler = yes
@ -2631,6 +2636,7 @@ gdp_republic_recruit_talent_decision = {
template = trader_martial_template
culture = root.culture
faith = root.faith
rite = root.rite
dynasty = none
location = root.capital_province
save_scope_as = new_trader
@ -2647,6 +2653,7 @@ gdp_republic_recruit_talent_decision = {
template = trader_diplomacy_template
culture = root.culture
faith = root.faith
rite = root.rite
dynasty = none
location = root.capital_province
save_scope_as = new_trader
@ -2663,6 +2670,7 @@ gdp_republic_recruit_talent_decision = {
template = trader_stewardship_template
culture = root.culture
faith = root.faith
rite = root.rite
dynasty = none
location = root.capital_province
save_scope_as = new_trader
@ -4388,9 +4396,7 @@ gdp_war_approval_decree_decision = {
cooldown = { years = 5 }
cost = {
treasury_or_gold = {
value = total_republic_decree_gold_cost
}
prestige = total_republic_decree_prestige_cost
}
ai_check_interval_by_tier = {
@ -4523,8 +4529,10 @@ gdp_war_approval_decree_decision = {
}
ai_potential = {
this = liege # I.e. is independent
treasury > massive_treasury_value
OR = {
this = liege # I.e. is independent
ai_has_warlike_personality = yes
}
ai_has_cautious_personality = no
}
@ -4595,9 +4603,7 @@ gdp_quarantine_ship_decree_decision = {
cooldown = { years = 5 }
cost = {
treasury_or_gold = {
value = total_republic_decree_gold_cost
}
prestige = total_republic_decree_prestige_cost
}
ai_check_interval_by_tier = {