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

@ -78,7 +78,7 @@ determine_if_contributed_and_save_scope_effect = {
### Capital 01 Breakdown Effects ###
mandala_contributor_minor_rite_reward_effect = {
add_legitimacy = mandala_contribution_minor_legitimacy_reward
add_piety_experience = mandala_contribution_medium_dynasty_reward
add_piety_experience = mandala_contribution_medium_piety_reward
}
contributed_rites_of_worthiness_effect = {
custom_description_no_bullet = { text = contributed_rite_of_worthiness }
@ -259,7 +259,7 @@ mandala_contributor_tiles_reward_effect = {
multiply = 5
}
}
add_piety_experience = mandala_contribution_medium_dynasty_reward
add_piety_experience = mandala_contribution_medium_piety_reward
}
contributed_tiles_effect = {
custom_description_no_bullet = { text = contributed_tiles }
@ -397,7 +397,7 @@ check_and_reward_contributions_02_effect = {
### Capital 03 Breakdown Effects ###
mandala_contributor_medium_rite_reward_effect = {
add_legitimacy = mandala_contribution_medium_legitimacy_reward
add_piety_experience = mandala_contribution_major_dynasty_reward
add_piety_experience = mandala_contribution_major_piety_reward
}
contributed_rites_of_worthiness_02_effect = {
custom_description_no_bullet = { text = contributed_rite_of_worthiness }
@ -457,7 +457,7 @@ mandala_contributor_divine_statues_reward_effect = {
multiply = 1.5
}
}
add_piety_experience = mandala_contribution_medium_dynasty_reward
add_piety_experience = mandala_contribution_medium_piety_reward
}
if = {
limit = { exists = scope:province }
@ -738,7 +738,7 @@ mandala_contributor_gilded_shrines_reward_effect = {
multiply = 1.5
}
}
add_piety_experience = mandala_contribution_medium_dynasty_reward
add_piety_experience = mandala_contribution_medium_piety_reward
}
if = {
limit = { exists = scope:province }
@ -1243,24 +1243,6 @@ mandala_peacemaker_perk_serenity_effect = {
change_to_mandala_government_effect = {
change_government = mandala_government
change_to_mandala_government_decree_effect = yes
save_scope_as = root_scope
primary_title.title_province = {
if = {
limit = { geographical_region = geographical_region:mpo_region_permafrost }
scope:root_scope = {
every_realm_county = {
if = {
limit = { has_county_modifier = mpo_siberian_permafrost_modifier }
remove_county_modifier = mpo_siberian_permafrost_modifier
}
else_if = {
limit = { has_county_modifier = mpo_siberian_permafrost_modifier_bad }
remove_county_modifier = mpo_siberian_permafrost_modifier_bad
}
}
}
}
}
}
change_to_mandala_government_and_citadel_effect = {
@ -1296,6 +1278,10 @@ change_capital_holding_to_citadel_effect = {
value = combined_building_level
days = 1
}
if = {
limit = { holding_is_tribal = yes }
holding_pre_feudalize_effect = yes
}
set_holding_type = temple_citadel_holding
#Did any buildings invalidate? Calculate!
set_variable = {
@ -1353,6 +1339,10 @@ change_tribal_holdings_to_citadels_effect = {
value = combined_building_level
days = 1
}
if = {
limit = { holding_is_tribal = yes }
holding_pre_feudalize_effect = yes
}
set_holding_type = temple_citadel_holding
#We need to set the holding type BEFORE we can change to the government, lest it invalidates
scope:current_tribal_holder = {
@ -1577,20 +1567,7 @@ mandala_adopt_clan_government_effect = {
#Remove Mandala Decrees
mandala_nuke_mandala_decrees_effect = yes
#Check if capital holding is castle or temple citadel otherwise convert
hidden_effect = {
capital_province = {
if = {
limit = {
NOR = {
has_holding_type = temple_citadel_holding
has_holding_type = castle_holding
}
}
custom_tooltip = realm_capital_will_change_to_castle
set_holding_type = castle_holding
}
}
}
clan_convert_capital_effect = yes
change_government = clan_government
#Start off crown authorities
hidden_effect = {
@ -1638,17 +1615,7 @@ mandala_adopt_clan_government_effect = {
}
faith.religion = religion:islam_religion
}
if = {
limit = {
capital_province = {
NOR = {
has_holding_type = temple_citadel_holding
has_holding_type = castle_holding
}
}
}
capital_province = { set_holding_type = castle_holding }
}
clan_convert_capital_effect = yes
change_government = clan_government
#Nuke all laws
mandala_nuke_realm_laws_effect = yes
@ -2141,7 +2108,14 @@ creator_mandala_upgraded_regular_holding_piety_effect = {
##Interaction Effects
mandala_end_tributary_with_notification_effect = {
save_scope_as = leaving_tributary
suzerain = { trigger_event = tgp_east_asia_interaction_events.0010 }
suzerain = {
if = {
limit = {
government_has_flag = government_is_mandala
}
trigger_event = tgp_east_asia_interaction_events.0010
}
}
end_tributary = yes
}
@ -3425,6 +3399,7 @@ change_to_mandala_interaction_effect = {
mandala_no_longer_polytheist_effect = {
if = {
limit = {
is_ruler = yes
government_has_flag = government_is_mandala
faith = {
NOT = { has_doctrine = doctrine_polytheist }