more file updating

This commit is contained in:
Thakia 2026-10-09 20:41:46 -03:00
parent 4afc9466f5
commit fde59745b8
99 changed files with 5706 additions and 2115 deletions

View file

@ -18,18 +18,18 @@ restore_mandala_capital_decision = {
is_shown = {
government_has_flag = government_is_mandala
capital_province.county = { has_county_modifier = mandala_capital_sacked_modifier }
capital_province.county ?= { has_county_modifier = mandala_capital_sacked_modifier }
}
is_valid_showing_failures_only = {
is_at_war = no
is_imprisoned = no
NOT = { has_trait = incapable }
is_incapable = no
}
effect = {
remove_short_term_gold = major_gold_value
capital_province.county = {
capital_province.county = {
remove_county_modifier = mandala_capital_sacked_modifier
add_county_modifier = {
modifier = mandala_capital_restored_modifier
@ -71,18 +71,22 @@ convert_to_mandala_government_decision = {
}
is_shown = {
has_tgp_dlc_trigger = yes
is_landed = yes
highest_held_title_tier > tier_barony
has_mandala_culture_trigger = yes
NOT = { government_has_flag = government_is_mandala }
#We have a special decision for Mandala subjects...
trigger_if = {
limit = { is_tributary = yes }
NOT = {
NOT = {
overlord = { government_has_flag = government_is_mandala }
}
}
highest_held_title_tier > tier_barony
trigger_if = {
limit = { government_has_flag = government_is_celestial }
NOT = { has_title = title:h_china }
}
has_tgp_dlc_trigger = yes
}
is_valid = {
@ -90,7 +94,7 @@ convert_to_mandala_government_decision = {
limit = {
has_legitimacy = yes
dynasty ?= {
NOT = { has_dynasty_perk = tgp_sea_legacy_3 } #Bypasses Tribal Authority Requirement
NOT = { has_dynasty_perk = tgp_sea_legacy_3 } #Bypasses the Legitimacy requirement
}
}
legitimacy_level >= 4
@ -170,7 +174,7 @@ convert_to_mandala_government_decision = {
if = {
limit = {
culture = {
has_cultural_parameter = mandala_tributaries
has_cultural_parameter = mandala_tributaries
}
exists = confederation
}
@ -189,16 +193,24 @@ convert_to_mandala_government_decision = {
ai_potential = {
has_mandala_culture_trigger = yes
trigger_if = {
limit = {
has_legitimacy = yes
dynasty ?= {
NOT = { has_dynasty_perk = tgp_sea_legacy_3 }
}
}
legitimacy_level >= 4
}
trigger_if = {
limit = { government_has_flag = government_is_tribal }
has_realm_law = tribal_authority_3
prestige >= convert_to_mandala_government_tribal_value
}
trigger_else = {
prestige >= convert_to_mandala_government_nontribal_value
}
trigger_if = {
limit = {
limit = {
OR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
@ -207,17 +219,10 @@ convert_to_mandala_government_decision = {
primary_title.tier <= tier_duchy
}
primary_title.tier > tier_barony
NOR = {
government_has_flag = government_is_republic
government_has_flag = government_is_theocracy
government_has_flag = government_is_mercenary
government_has_flag = government_is_holy_order
government_has_flag = government_is_administrative
government_has_flag = government_is_nomadic
government_has_flag = government_is_herder
government_has_flag = government_is_celestial
government_has_flag = government_is_steppe_admin
government_has_flag = government_is_meritocratic
OR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
government_has_flag = government_is_tribal
}
NOT = {
any_owned_story = {
@ -264,17 +269,22 @@ assimilate_to_mandala_decision = {
duchy = 36
kingdom = 36
empire = 36
hegemony = 36
hegemony = 0
}
is_shown = {
has_tgp_dlc_trigger = yes
highest_held_title_tier > tier_barony
overlord ?= { government_has_flag = government_is_mandala }
NAND = {
NAND = {
government_has_flag = government_is_mandala
faith = overlord.faith
}
highest_held_title_tier > tier_barony
rite = { rite_has_doctrine = doctrine_polytheist }
NAND = {
has_title = title:h_china
government_has_mechanic = administrative
}
has_tgp_dlc_trigger = yes
}
is_valid_showing_failures_only = {
@ -352,8 +362,8 @@ assimilate_to_mandala_decision = {
mandala_assimilation_effect = yes
if = {
limit = {
NOR = {
faith = overlord.faith
NOR = {
faith = overlord.faith
faith.religious_head ?= root
}
}
@ -361,9 +371,9 @@ assimilate_to_mandala_decision = {
}
#You got in early? Good for you!
if = {
limit = {
overlord = {
OR = {
limit = {
overlord = {
OR = {
middling_devaraja_quality_trigger = yes
poor_devaraja_quality_trigger = yes
terrible_devaraja_quality_trigger = yes
@ -371,21 +381,21 @@ assimilate_to_mandala_decision = {
}
}
if = {
limit = {
limit = {
overlord = { middling_devaraja_quality_trigger = yes }
}
add_character_flag = assimilation_payout_t1
custom_tooltip = { text = assimilation_payout_t1_tt }
}
else_if = {
limit = {
limit = {
overlord = { poor_devaraja_quality_trigger = yes }
}
add_character_flag = assimilation_payout_t2
custom_tooltip = { text = assimilation_payout_t2_tt }
}
else_if = {
limit = {
limit = {
overlord = { terrible_devaraja_quality_trigger = yes }
}
add_character_flag = assimilation_payout_t3
@ -428,7 +438,7 @@ assimilate_to_mandala_decision = {
primary_title.tier > tier_barony
#Keep the tributaries Wanua
trigger_if = {
limit = {
limit = {
government_has_flag = government_is_wanua
is_independent_ruler = yes
}
@ -436,7 +446,7 @@ assimilate_to_mandala_decision = {
}
#... but be more lenient on the Vassals
trigger_if = {
limit = {
limit = {
government_has_flag = government_is_wanua
is_independent_ruler = no
}
@ -487,12 +497,21 @@ assimilate_to_mandala_decision = {
opinion_target = overlord
multiplier = 1
}
modifier = {
add = {
value = highest_held_title_tier
multiply = -10
}
}
modifier = {
government_has_mechanic = administrative
factor = 0
}
modifier = {
capital_county.title_province = {
NOR = {
has_holding_type = temple_citadel_holding
has_holding_type = church_holding
has_holding_type = castle_holding
OR = {
has_holding_type = nomad_holding
has_holding_type = herder_holding
}
}
factor = 0
@ -518,11 +537,11 @@ mandala_adopt_clan_government_decision = {
}
is_shown = {
has_tgp_dlc_trigger = yes
government_has_flag = government_is_mandala
is_landed = yes
faith.religion = religion:islam_religion
faith.religion ?= religion:islam_religion
has_tgp_dlc_trigger = yes
highest_held_title_tier > tier_barony
is_landed = yes
}
is_valid_showing_failures_only = {
@ -593,17 +612,17 @@ visit_local_shrine_decision = {
}
is_shown = {
exists = capital_province
has_tgp_dlc_trigger = yes
highest_held_title_tier >= tier_county
faith = { has_doctrine = doctrine_pilgrimage_local_rites }
rite ?= { rite_has_doctrine = doctrine_pilgrimage_local_rites }
trigger_if = { # Allow a Capital exam to be hosted first.
limit = {
is_ai = yes
highest_held_title_tier = tier_hegemony
is_ai = yes
}
years_from_game_start >= 10
}
has_tgp_dlc_trigger = yes
exists = capital_province
}
is_valid_showing_failures_only = {
@ -644,22 +663,22 @@ seize_mandala_capital_decision = {
is_shown = {
government_has_flag = government_is_mandala
has_mandala_capital_trigger = no
any_subject = {
is_ai = yes
any_sub_realm_barony = {
kingdom = root.capital_county.kingdom
title_province = {
title_province ?= {
has_building_with_flag = mandala_capital_building
has_ruined_great_building = no
}
kingdom ?= root.capital_county.kingdom
}
}
has_mandala_capital_trigger = no
}
is_valid_showing_failures_only = {
is_imprisoned = no
NOT = { has_trait = incapable }
is_incapable = no
}
effect = {
@ -727,6 +746,7 @@ create_bunga_mas_decision = {
ai_check_interval = 0 #Not for AI
is_shown = {
highest_held_title_tier >= tier_county
#Tease Mandala rulers
trigger_if = {
limit = { is_tributary = no }
@ -735,9 +755,8 @@ create_bunga_mas_decision = {
#... unless you're actually the tributary of a Mandala
trigger_else = {
is_tributary = yes
suzerain = { government_has_flag = government_is_mandala }
suzerain ?= { government_has_flag = government_is_mandala }
}
highest_held_title_tier >= tier_county
exists = capital_province
}
@ -827,7 +846,7 @@ create_bunga_mas_decision = {
#Mandala Creation Aspect
if = {
limit = {
limit = {
government_has_flag = government_is_mandala
house = { has_house_aspiration_parameter = aspect_of_creation }
is_house_head = yes