fixes big evebts abd on actions plus mroe

This commit is contained in:
Greekman 2026-11-21 19:27:08 +00:00
parent c9d520e5a1
commit bce2aa31a1
207 changed files with 100377 additions and 9296 deletions

View file

@ -221,6 +221,7 @@ estate_governor_patrols_decision = {
modifier = ep3_estate_governor_patrols_modifier
years = 15
}
change_county_control = 5
}
increase_governance_effect = { VALUE = 6 }
}
@ -370,7 +371,7 @@ estate_granary_decision = {
limit = {
domicile ?= {
domicile_location.county = {
county_control < 100
county_control < county_control_baseline
}
}
}
@ -380,21 +381,21 @@ estate_granary_decision = {
limit = {
domicile ?= {
domicile_location.county = {
development_level >= estate_granary_development_bonus_2_value
prosperity_level >= estate_granary_prosperity_bonus_2_value
}
}
}
custom_tooltip = estate_unlock_granary_decision_development_2_tt
custom_tooltip = estate_unlock_granary_decision_prosperity_2_tt
}
else_if = {
limit = {
domicile ?= {
domicile_location.county = {
development_level >= estate_granary_development_bonus_1_value
prosperity_level >= estate_granary_prosperity_bonus_1_value
}
}
}
custom_tooltip = estate_unlock_granary_decision_development_1_tt
custom_tooltip = estate_unlock_granary_decision_prosperity_1_tt
}
if = {
limit = {
@ -731,7 +732,8 @@ convert_to_administrative_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/ep3_cerimonial_decision.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 40
title = {
first_valid = {
triggered_desc = {
@ -783,6 +785,10 @@ convert_to_administrative_decision = {
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
government_has_flag = government_is_japan_feudal
AND = { # Republic doges may become admin
government_has_flag = government_is_republic
highest_liege_matching_rule:uses_assembly = this
}
}
NOT = {
has_character_flag = granted_title_government_blocker
@ -851,6 +857,7 @@ convert_to_administrative_decision = {
limit = {
top_liege = this
is_ai = no
NOT = { government_has_flag = government_is_republic }
}
custom_tooltip = {
text = all_powerful_vassals_required_tt
@ -863,6 +870,12 @@ convert_to_administrative_decision = {
}
}
}
trigger_if = { # Republics have to be despots
limit = {
government_has_flag = government_is_republic
}
has_realm_law = republican_despot_succession_law
}
trigger_if = {
limit = { is_ai = yes }
calc_true_if = {
@ -872,7 +885,7 @@ convert_to_administrative_decision = {
culture = { has_cultural_pillar = ethos_egalitarian }
culture = { has_cultural_tradition = tradition_legalistic }
has_realm_law = crown_authority_3
capital_county = { development_level > medium_development_level }
capital_county = { prosperity_level > medium_prosperity_level }
rite = { rite_has_tenet = tenet_legalism }
dynasty = { has_dynasty_perk = erudition_legacy_5 }
dynasty = { has_dynasty_perk = law_legacy_5 }
@ -1354,7 +1367,8 @@ convert_to_feudalism_from_administrative_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_realm.dds"
}
decision_group_type = major
decision_group_type = realm
sort_order = 40
desc = convert_to_feudalism_from_administrative_decision_desc
is_shown = {
@ -1373,12 +1387,11 @@ convert_to_feudalism_from_administrative_decision = {
is_valid = {
is_landed = yes
trigger_if = {
limit = {
is_independent_ruler = no
}
top_liege ?= {
realm_law_authority_level_0 = yes
}
limit = { is_independent_ruler = no }
custom_tooltip = {
text = liege_has_realm_law_authority_0_tt
top_liege ?= { realm_law_authority_level_0 = yes }
}
custom_tooltip = {
text = governorship_is_on_the_border_tt
any_sub_realm_county = {
@ -1858,10 +1871,8 @@ change_imperial_aspirations_decision = {
is_valid = {
government_has_flag = government_is_administrative
trigger_if = { # Unavailable if you are the top liege - Unless you have either modifier, so you may remove it.
limit = {
top_liege = this
}
trigger_if = { # Unavailable if you are the top liege - Unless if you have either modifier, so you may remove it.
limit = { top_liege = this }
OR = {
has_character_modifier = ep3_admin_renounce_throne_personal
house ?= { has_house_modifier = ep3_admin_renounce_throne_house }

View file

@ -112,12 +112,7 @@ become_landless_adventurer_decision = {
# Relevant cultures/faiths
trigger_if = {
limit = {
NAND = {
is_ai = no
government_has_mechanic = administrative
top_liege = this
is_landed = no
}
NOT = { government_has_flag = government_is_merchant }
}
OR = {
culture = { has_cultural_parameter = unlock_voluntary_laampdom }
@ -127,9 +122,27 @@ become_landless_adventurer_decision = {
text = nomadic_government_tt
government_has_flag = government_is_nomadic
}
has_character_modifier = tgp_gave_up_modifier
OR = {
culture = { has_cultural_parameter = unlock_voluntary_laampdom }
rite = { rite_has_parameter = unlock_voluntary_laampdom_faith }
has_personal_tenet_flag = unlock_voluntary_laampdom_faith
has_trait = nomadic_philosophy
custom_tooltip = {
text = nomadic_government_tt
government_has_flag = government_is_nomadic
}
has_character_modifier = tgp_gave_up_modifier
}
}
}
# Triggers for merchants
trigger_else = {
custom_tooltip = {
text = gdp_recently_became_merchant_decision_cooldown_tt
NOT = { exists = var:gdp_recently_became_merchant_cooldown }
}
}
}
is_valid_showing_failures_only = {
@ -141,11 +154,16 @@ become_landless_adventurer_decision = {
effect = {
save_scope_as = adventurer
set_variable = {
name = gdp_recently_became_adventurer_cooldown
years = 5
}
if = {
limit = {
player_heir ?= {
this != root
is_adult = yes
is_ruler = no
}
}
player_heir = {
@ -185,12 +203,29 @@ become_landless_adventurer_decision = {
}
create_landless_adventurer_title_tooltip_effect = yes
show_as_tooltip = {
add_prestige = medium_prestige_gain
if = {
limit = {
NOT = { government_has_flag = government_is_merchant }
}
add_prestige = medium_prestige_gain
}
add_character_modifier = {
modifier = ep3_voluntary_laamp_character_modifier
years = 5
}
}
if = {
limit = {
any_in_list = { variable = owes_me_money }
}
custom_tooltip = gdp_become_adventurer_debtors_to_contracts_tt
}
if = {
limit = {
any_owned_story = { story_type = story_cycle_loan }
}
custom_tooltip = gdp_become_adventurer_debts_transferred_tt
}
trigger_event = { id = ep3_laamps.0030 }
# Debug tracking
if = {
@ -476,10 +511,10 @@ wipe_slate_decision = {
cost = {
gold = {
value = 100
value = 50
add = {
value = highest_held_title_tier
multiply = 25
multiply = 12
}
}
prestige = {
@ -864,7 +899,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe
geographical_region = world_steppe_west
@ -883,7 +918,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe
geographical_region = world_africa_north
@ -902,7 +937,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe
geographical_region = world_steppe_west
@ -922,7 +957,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe
geographical_region = world_steppe_west
@ -943,7 +978,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe_south
geographical_region = world_europe_west
@ -965,7 +1000,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe_south
geographical_region = world_africa
@ -984,7 +1019,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe_south
geographical_region = world_asia_minor
@ -1006,7 +1041,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe_south
geographical_region = world_asia_minor
@ -1028,7 +1063,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe_south
geographical_region = world_middle_east
@ -1049,7 +1084,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe_south
geographical_region = world_middle_east
@ -1070,7 +1105,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_europe_south
geographical_region = world_middle_east
@ -1093,7 +1128,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_middle_east
geographical_region = world_india
@ -1114,7 +1149,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_middle_east
geographical_region = world_india
@ -1135,7 +1170,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_middle_east
geographical_region = world_india
@ -1156,7 +1191,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_india
geographical_region = world_tibet
@ -1175,7 +1210,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_india
geographical_region = world_steppe
@ -1194,7 +1229,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_india
geographical_region = world_tibet
@ -1214,7 +1249,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_india
geographical_region = world_tibet
@ -1237,7 +1272,7 @@ treasure_hunting_contract_decision = {
is_valid = {
custom_description = {
text = treasure_hunting_contract_decision_limit
capital_province = {
capital_province ?= {
OR = {
geographical_region = world_india
geographical_region = world_tibet
@ -1816,7 +1851,10 @@ reject_inheritance_decision = {
# They have children with you.
any_child = {
count >= 1
NOT = { has_trait = disinherited }
NOR = {
has_trait = disinherited
has_trait = adopted_no_inheritance
}
any_parent = { this = root }
}
# Or thought they might.
@ -2171,6 +2209,12 @@ embrace_responsibilities_decision = {
### Change Election Candidacy Status ###
change_election_candidacy_status_decision = {
# Everyone else's picture.
picture = {
trigger = {
government_has_flag = government_is_republic
}
reference = "gfx/interface/illustrations/decisions/fractious.dds"
}
picture = { reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds" }
desc = {
first_valid = {
@ -2330,7 +2374,7 @@ bandit_king_decision = {
}
cost = {
gold = 500
gold = 250
prestige = 2000
}
@ -2432,14 +2476,14 @@ seasoned_visitor_decision = {
custom_tooltip = {
text = seasoned_visitor_decision_not_enough_poi
has_variable = poi_visited
var:poi_visited >= 26 #1066 all poi in India. If you change the value here, please also change the value in loc string above
var:poi_visited >= 35
}
calc_true_if = {
amount >= 2
custom_tooltip = {
text = seasoned_visitor_decision_not_enough_poi_advanced
has_variable = poi_visited
var:poi_visited >= 42 #1066 all poi in two Indias. If you change the value here, please also change the value in loc string above
var:poi_visited >= 60
}
prestige_level >= 4
has_trait_xp = {
@ -2457,8 +2501,8 @@ seasoned_visitor_decision = {
}
cost = {
prestige = 1500
gold = 500
prestige = 500
gold = 250
}
effect = {

View file

@ -63,7 +63,7 @@ separatist_uprising_decision = {
cost = {
prestige = 2000
gold = 500
gold = 250
}
effect = {