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

@ -29,7 +29,7 @@ creating_kingdom_empire_title_effect = {
save_scope_as = change
add_claim_on_loss = no
}
scope:new_title = {
add_to_list = creating_new_titles
}
@ -41,7 +41,7 @@ creating_kingdom_empire_title_effect = {
change = scope:change
}
}
resolve_title_and_vassal_change = scope:change
scope:new_title = {
@ -227,8 +227,8 @@ migration_settle_down_obedient_vassal_effect = {
scope:actor = {
ordered_in_list = {
variable = obedient_vassals
order_by = {
value = 1
order_by = {
value = 1
domicile ?= {
add = herd
}
@ -408,8 +408,8 @@ migration_message_effect = {
limit = { is_vassal_of = scope:old_holder }
send_interface_message = {
type = msg_migration_into_realm
title = msg_migration_into_realm_tributary_title
desc = msg_migration_into_realm_tributary_desc
title = msg_migration_into_liege_title
desc = msg_migration_into_liege_desc
left_icon = scope:actor
right_icon = scope:old_holder
}
@ -530,19 +530,24 @@ migration_title_and_vassal_change_effect = {
scope:target_title.tier >= tier_kingdom
}
scope:target_title ?= {
every_de_jure_county_holder = {
every_in_de_jure_hierarchy = {
continue = {
tier >= tier_duchy
}
limit = {
OR = {
any_in_list = {
list = old_holder
this = prev
}
this = scope:recipient
AND = {
scope:recipient = this.liege
any_held_county = {
exists = duchy
NOT = { target_is_de_jure_liege_or_above = scope:target_title }
holder ?= {
OR = {
any_in_list = {
list = old_holder
this = prev
}
this = scope:recipient
AND = {
scope:recipient = this.liege
any_held_county = {
is_landless_type_title = no
NOT = { target_is_de_jure_liege_or_above = scope:target_title }
}
}
}
}
@ -559,15 +564,15 @@ migration_title_and_vassal_change_effect = {
OR = {
any_in_list = {
list = old_holder
NOT = { this = prev }
this != prev
this = prev.liege
}
AND = {
NOT = { this = scope:recipient }
this != scope:recipient
scope:recipient = this.liege
}
}
NOT = { this = scope:actor }
this != scope:actor
}
add_to_list = new_vassals
}
@ -675,7 +680,7 @@ migration_title_and_vassal_change_effect = {
save_scope_as = change4
}
ordered_held_county = {
limit = {
limit = {
exists = duchy
NOT = { this = scope:actor.capital_province.county }
}
@ -755,7 +760,7 @@ migration_title_and_vassal_change_effect = {
# Change 8: If for some reason you have any vassals who are still your subjects, but don't hold land, they will become independent
scope:actor = {
every_vassal = {
limit = {
limit = {
NOT = {
any_held_county = {
exists = duchy
@ -793,6 +798,44 @@ migration_title_and_vassal_change_effect = {
debug_log = "Migration completed"
debug_log_scopes = yes
}
# Safeguard: Make sure everyone follow you instead of staying at the previous location
hidden_effect = {
scope:actor = {
update_domicile_and_courtier_location_effect = yes
}
scope:recipient ?= {
update_domicile_and_courtier_location_effect = yes
}
every_in_list = {
list = settled_vassal
update_domicile_and_courtier_location_effect = yes
}
}
}
update_domicile_and_courtier_location_effect = {
if = {
limit = {
exists = capital_province
is_ruler = yes
}
every_courtier_or_guest = {
limit = {
location != prev.capital_province
should_in_default_location_trigger = yes
}
debug_log = "Courtier not updated in migration"
debug_log_scopes = no
set_location_to_default = yes
}
every_prisoner = {
limit = { location != prev.capital_province }
debug_log = "Prisoner not updated in migration"
debug_log_scopes = no
set_location_to_default = yes
}
}
}
migration_set_obedient_vassal_effect = {
@ -896,7 +939,7 @@ confederation_realm_transfer_effect = {
}
}
resolve_title_and_vassal_change = scope:change_3
every_in_list = {
custom = custom.every_non_de_jure_vassal
list = vassals_to_transfer
@ -1344,7 +1387,7 @@ mpo_execution_head_artifact_creation_effect = {
set_owner = root
}
}
random_list = {
4 = {
trigger = {
@ -1473,7 +1516,7 @@ ai_paiza_giveaway_effect = {
limit = {
NOT = {
any_character_artifact = {
scope:artifact.var:paiza_patron ?= root
var:paiza_patron ?= root
}
}
}
@ -1486,7 +1529,7 @@ ai_paiza_giveaway_effect = {
limit = {
NOT = {
any_character_artifact = {
scope:artifact.var:paiza_patron ?= root
var:paiza_patron ?= root
}
}
}
@ -1502,7 +1545,7 @@ mpo_find_suitable_merchant_effect = {
1 = { #Merv
trigger = {
title:c_bukhara = {
development_level >= 30
development_level >= 10
NOT = {
holder.top_liege = {
government_has_flag = government_is_nomadic
@ -1520,7 +1563,7 @@ mpo_find_suitable_merchant_effect = {
1 = { #Nishapur
trigger = {
title:c_nishapur = {
development_level >= 30
development_level >= 10
NOT = {
holder.top_liege = {
government_has_flag = government_is_nomadic
@ -1538,7 +1581,7 @@ mpo_find_suitable_merchant_effect = {
1 = { #Khotan
trigger = {
title:c_khotan = {
development_level >= 30
development_level >= 10
NOT = {
holder.top_liege = {
government_has_flag = government_is_nomadic
@ -1556,7 +1599,7 @@ mpo_find_suitable_merchant_effect = {
1 = { #Wroclaw
trigger = {
title:c_breslau = {
development_level >= 30
development_level >= 10
NOT = {
holder.top_liege = {
government_has_flag = government_is_nomadic
@ -1574,7 +1617,7 @@ mpo_find_suitable_merchant_effect = {
1 = { #Krakow
trigger = {
title:c_krakowska = {
development_level >= 30
development_level >= 10
NOT = {
holder.top_liege = {
government_has_flag = government_is_nomadic
@ -1592,7 +1635,7 @@ mpo_find_suitable_merchant_effect = {
1 = { #Novgorod
trigger = {
title:c_novgorod = {
development_level >= 30
development_level >= 10
NOT = {
holder.top_liege = {
government_has_flag = government_is_nomadic
@ -1610,7 +1653,7 @@ mpo_find_suitable_merchant_effect = {
1 = { #Kyiv
trigger = {
title:c_kiev = {
development_level >= 30
development_level >= 10
NOT = {
holder.top_liege = {
government_has_flag = government_is_nomadic
@ -1628,7 +1671,7 @@ mpo_find_suitable_merchant_effect = {
1 = { #Baghdad
trigger = {
title:c_baghdad = {
development_level >= 30
development_level >= 10
NOT = {
holder.top_liege = {
government_has_flag = government_is_nomadic
@ -1646,7 +1689,7 @@ mpo_find_suitable_merchant_effect = {
1 = { #Pisa
trigger = {
title:c_pisa = {
development_level >= 30
development_level >= 10
NOT = {
holder.top_liege = {
government_has_flag = government_is_nomadic
@ -1663,8 +1706,8 @@ mpo_find_suitable_merchant_effect = {
}
1 = { #Venice
trigger = {
title:c_baghdad = {
development_level >= 30
title:c_venezia = {
development_level >= 10
NOT = {
holder.top_liege = {
government_has_flag = government_is_nomadic
@ -1673,16 +1716,16 @@ mpo_find_suitable_merchant_effect = {
}
}
modifier = {
add = title:c_baghdad.development_level
add = title:c_venezia.development_level
}
title:b_baghdad = {
title:c_venezia = {
save_scope_as = merchant_origin
}
}
1 = { #Cairo
trigger = {
title:c_cairo = {
development_level >= 30
development_level >= 10
NOT = {
holder.top_liege = {
government_has_flag = government_is_nomadic
@ -1700,7 +1743,7 @@ mpo_find_suitable_merchant_effect = {
1 = { #Genua
trigger = {
title:c_genoa = {
development_level >= 30
development_level >= 10
NOT = {
holder.top_liege = {
government_has_flag = government_is_nomadic
@ -1740,7 +1783,7 @@ mpo_find_suitable_merchant_effect = {
multiply = 21.37
}
}
}
}
}
#scope:patron is the creator
@ -1757,7 +1800,7 @@ mpo_create_paiza_artifact_effect = {
value = {
value = 20
multiply = {
value = scope:patron.primary_title.tier
value = scope:patron.primary_title.tier
add = scope:patron.dominance_value
}
}
@ -1767,7 +1810,7 @@ mpo_create_paiza_artifact_effect = {
value = {
value = 20
multiply = {
value = scope:patron.primary_title.tier
value = scope:patron.primary_title.tier
add = scope:patron.dominance_value
}
}
@ -1778,7 +1821,7 @@ mpo_create_paiza_artifact_effect = {
type = miscellaneous
template = paiza_artifact_template
creator = scope:patron
description = paiza_artifact_desc
description = paiza_artifact_desc
visuals = paiza
wealth = scope:wealth
quality = scope:quality
@ -1805,7 +1848,7 @@ mpo_paiza_innovation_reward_effect = {
modifier = mpo_fascination_leap_modifier
years = 4
}
}
}
}
nomad_yurt_increased_innovation_paiza_lvl_2 = {
root = {
@ -1868,7 +1911,7 @@ mpo_paiza_innovation_reward_effect = {
}
}
}
}
@ -1894,10 +1937,10 @@ mpo_paiza_deal_grade_effect = {
}
}
}
set_variable = {
name = trade_gold_percent
value = 1
value = 1
}
change_variable = {
name = trade_gold_percent
@ -1929,7 +1972,7 @@ mpo_paiza_deal_grade_effect = {
add = 0.1
}
}
}
}
nomad_yurt_paiza_more_gold_lvl_3 = {
custom_tooltip = paiza_yurt_gold_percent_3
root = {
@ -1963,7 +2006,7 @@ mpo_yurts_paiza_bonuses_tooltip_effect = {
}
custom_tooltip = yurt_paiza_bonuses_generic
}
domicile ?= {
if = {
limit = {
@ -2048,7 +2091,7 @@ mpo_paiza_improve_maa_smol_effect = {
add_domicile_building = paiza_metal_trade_yurt_01
}
}
remove_character_flag = paiza_metal_trade_yurt_flag
remove_character_flag = paiza_metal_trade_yurt_flag
}
mpo_paiza_improve_maa_effect = {
@ -2092,7 +2135,7 @@ mpo_paiza_abuse_counter_effect = {
limit = {
scope:paiza_patron = {
is_ai = no
}
}
}
custom_tooltip = mpo_paiza_abuse_counter_effect.random
scope:paiza_patron = {
@ -2140,7 +2183,7 @@ mpo_paiza_abuse_counter_effect = {
}
}
flag:annoyed = {
custom_tooltip = mpo_paiza_abuse_counter_effect.annoyed
custom_tooltip = mpo_paiza_abuse_counter_effect.annoyed
random_list = {
40 = {
modifier = {
@ -2363,7 +2406,7 @@ mpo_decisions_events_friend_fail_effect = {
}
scope:friendship_target = {
short_term_gold >= minor_gold_value
}
}
scope:friendship_target = {
@ -3057,7 +3100,7 @@ nomad_domicile_refund_effect = {
nomad_convert_people_to_tribe_effect = {
change_government = tribal_government
#Winning a cool war to get this government should mean high authority
if = {
limit = {
@ -3367,7 +3410,7 @@ mpo_overrunning_vassal_title_distribution_effect = {
mpo_overrunning_willing_vassal_trigger = yes
}
save_scope_as = undervassal
#Give up nomadic titles
if = {
limit = {
@ -3420,25 +3463,11 @@ mpo_overrunning_vassal_title_distribution_effect = {
scope:undervassal = {
OR = {
#Personal reasons to go clan
faith.religion = religion:islam_religion
culture ?= {
OR = {
has_cultural_pillar = heritage_arabic
has_cultural_pillar = heritage_iranian
}
}
ep3_is_clan_inclined_trigger = yes
#county and liege are clan
AND = {
scope:title_to_grant = {
OR = {
faith.religion = religion:islam_religion
culture = {
OR = {
has_cultural_pillar = heritage_arabic
has_cultural_pillar = heritage_iranian
}
}
}
ep3_is_clan_inclined_trigger = yes
}
scope:attacker = {
government_has_flag = government_is_clan
@ -3512,25 +3541,11 @@ mpo_overrunning_vassal_title_distribution_effect = {
scope:title_gainer = {
OR = {
#Personal reasons to go clan
faith.religion = religion:islam_religion
culture = {
OR = {
has_cultural_pillar = heritage_arabic
has_cultural_pillar = heritage_iranian
}
}
ep3_is_clan_inclined_trigger = yes
#county and liege are clan
AND = {
scope:title_to_grant = {
OR = {
faith.religion = religion:islam_religion
culture = {
OR = {
has_cultural_pillar = heritage_arabic
has_cultural_pillar = heritage_iranian
}
}
}
ep3_is_clan_inclined_trigger = yes
}
scope:attacker = {
government_has_flag = government_is_clan
@ -3549,7 +3564,7 @@ mpo_overrunning_vassal_title_distribution_effect = {
}
}
}
#Have to re-add them as a vassal probably
scope:title_gainer = {
if = {
@ -3570,7 +3585,7 @@ mpo_overrunning_vassal_title_distribution_effect = {
resolve_title_and_vassal_change = scope:change
}
}
#Remove chosen titles from list
scope:duchy_to_grant ?= {
remove_from_list = overrun_duchies
@ -3616,7 +3631,7 @@ mpo_overrunning_vassal_title_distribution_effect = {
}
resolve_title_and_vassal_change = scope:change
}
#GIVE DUKES THE REST OF THEIR COUNTIES FROM ATTACKER
every_held_title = {
limit = {
@ -3792,25 +3807,11 @@ mpo_duchy_overrunning_vassal_title_distribution_effect = {
scope:title_gainer = {
OR = {
#Personal reasons to go clan
faith.religion = religion:islam_religion
culture = {
OR = {
has_cultural_pillar = heritage_arabic
has_cultural_pillar = heritage_iranian
}
}
ep3_is_clan_inclined_trigger = yes
#county and liege are clan
AND = {
scope:title_to_grant = {
OR = {
faith.religion = religion:islam_religion
culture = {
OR = {
has_cultural_pillar = heritage_arabic
has_cultural_pillar = heritage_iranian
}
}
}
ep3_is_clan_inclined_trigger = yes
}
scope:attacker = {
government_has_flag = government_is_clan
@ -3829,7 +3830,7 @@ mpo_duchy_overrunning_vassal_title_distribution_effect = {
}
}
}
#Have to re-add them as a vassal probably
scope:title_gainer = {
if = {
@ -3850,7 +3851,7 @@ mpo_duchy_overrunning_vassal_title_distribution_effect = {
resolve_title_and_vassal_change = scope:change
}
}
#Remove chosen titles from list
scope:title_to_grant = {
remove_from_list = overrun_counties
@ -3919,6 +3920,39 @@ nomad_convert_herds_to_gold_special_troops_effect = {
}
}
settle_the_people_vassal_effect = {
nomad_domicile_refund_effect = yes
nomad_convert_herds_to_gold_special_troops_effect = yes
if = {
limit = {
any_held_title = {
is_nomad_title = yes
}
}
every_held_title = {
limit = {
is_nomad_title = yes
}
root = {
destroy_title = prev
}
}
}
if = {
limit = {
scope:new_capital.title_province = {
has_holding_type = tribal_holding
}
}
assign_tribal_governments_effect = yes
}
else = {
assign_feudal_governments_effect = yes
}
change_authority_effect = { CHANGE = 1 }
}
set_throatsinging_style_effect = {
random_list = {
10 = {
@ -4061,7 +4095,7 @@ mpo_save_potential_blood_brother_war_allies_effect = {
mpo_valid_for_blood_brotherhood_trigger = yes
}
add_to_list = attacker_war_allies_list
}
while = {
limit = {
@ -4503,7 +4537,7 @@ make_blood_brother_save_common_enemy_effect = {
#You have a house feud against someone recipient is also opposed to
else_if = {
limit = {
exists = house.house_head
exists = scope:recipient.house
NOT = {
@ -4875,7 +4909,6 @@ confederation_migration_notification_effect = {
type = msg_broken_confederation
title = msg_broken_confederation_migration_root
desc = msg_broken_confederation_migration_root_desc
left_icon = confederation
}
add_character_flag = {
flag = migrating_from_confederation
@ -4889,6 +4922,7 @@ summon_three_fair_courtiers_effect = {
employer = scope:root_scope
template = $NOMAD_TEMPLATE_CHARACTER$
faith = root.location.faith
rite = root.location.rite
culture = root.location.culture
after_creation = {
add_to_list = three_fair_courtiers_list
@ -4898,6 +4932,7 @@ summon_three_fair_courtiers_effect = {
employer = scope:root_scope
template = $NOMAD_TEMPLATE_CHARACTER$
faith = root.location.faith
rite = root.location.rite
culture = root.location.culture
after_creation = {
add_to_list = three_fair_courtiers_list
@ -4907,6 +4942,7 @@ summon_three_fair_courtiers_effect = {
employer = scope:root_scope
template = $NOMAD_TEMPLATE_CHARACTER$
faith = root.location.faith
rite = root.location.rite
culture = root.location.culture
after_creation = {
add_to_list = three_fair_courtiers_list
@ -4920,6 +4956,7 @@ summon_three_fair_courtiers_effect = {
}
every_in_list = {
list = three_fair_courtiers_list
save_scope_as = new_commander
assign_random_nickname_effect = yes
if = {
limit = {
@ -4935,7 +4972,6 @@ summon_three_fair_courtiers_effect = {
flag = blocked_from_leaving
years = 25
}
save_scope_as = new_commander # for the localization
scope:root_scope = {
send_interface_message = {
title = nomad_character_recruited.t
@ -4977,9 +5013,9 @@ mpo_war_vassal_tributary_effect = {
}
}
holder ?= {
holder ?= {
add_to_list = target_holder
save_scope_as = temp_de_jure_liege
save_scope_as = temp_de_jure_liege
}
add_hook_from_temp_de_jure_liege_to_attacker = yes
}
@ -5068,7 +5104,7 @@ mpo_war_vassal_tributary_effect = {
}
remove_from_list = target_titles
}
save_scope_value_as = {
name = cb_prestige_factor
value = {
@ -5306,8 +5342,8 @@ mpo_yearly_dynasty_of_many_khans_effect = {
}
add_dynasty_prestige = root.var:temp_dynn_prestige
}
remove_variable = temp_dynn_prestige
}
remove_variable = temp_dynn_prestige
}
}
}
@ -5596,7 +5632,7 @@ language_yurt_effect = {
multiply = $CHANCE$
min = 0
}
root = {
root = {
send_interface_message = {
title = language_yurt_effect_tt
desc = language_yurt_effect_desc
@ -5664,7 +5700,7 @@ de_jure_shifting_effect = {
type = msg_mpo_de_jure_shifting
title = msg_mpo_de_jure_shifting
left_icon = root
ordered_in_list = {
ordered_in_list = {
order_by = {
value = 1
}
@ -5672,7 +5708,7 @@ de_jure_shifting_effect = {
check_range_bounds = no
list = de_jure_shifted_title
show_as_tooltip = {
set_de_jure_liege_title = root.primary_title
set_de_jure_liege_title = root.primary_title
}
remove_from_list = de_jure_shifted_title
}
@ -5695,12 +5731,12 @@ omen_yurt_effect = {
if = {
limit = {
exists = scope:improved_child
}
}
send_interface_message = {
title = omen_yurt_effect_tt
desc = omen_yurt_effect_desc
left_icon = scope:improved_child
scope:improved_knight = {
scope:improved_child = {
random_list = {
1 = { add_diplomacy_skill = 1 }
1 = { add_stewardship_skill = 1 }
@ -5710,7 +5746,7 @@ omen_yurt_effect = {
}
}
}
}
}
}
}
}
@ -5774,18 +5810,18 @@ better_children_yurt_effect = {
limit = {
exists = scope:yurt_heir
}
}
send_interface_message = {
title = better_children_yurt_effect_tt
desc = better_children_yurt_effect_desc
left_icon = scope:yurt_heir
scope:yurt_heir = {
random_list = {
1 = { add_diplomacy_skill = 1 }
1 = { add_stewardship_skill = 1 }
1 = { add_intrigue_skill = 1 }
1 = { add_learning_skill = 1 }
1 = { add_martial_skill = 1 }
send_interface_message = {
title = better_children_yurt_effect_tt
desc = better_children_yurt_effect_desc
left_icon = scope:yurt_heir
scope:yurt_heir = {
random_list = {
1 = { add_diplomacy_skill = 1 }
1 = { add_stewardship_skill = 1 }
1 = { add_intrigue_skill = 1 }
1 = { add_learning_skill = 1 }
1 = { add_martial_skill = 1 }
}
}
}
}
@ -5870,7 +5906,7 @@ knight_mystical_yurt_effect = {
if = {
limit = {
exists = scope:improved_knight
}
}
send_interface_message = {
title = knight_mystical_yurt_effect_tt
desc = knight_mystical_yurt_effect_desc
@ -5879,7 +5915,7 @@ knight_mystical_yurt_effect = {
add_prowess_skill = $PROWESS$
}
}
}
}
}
}
}
@ -5925,7 +5961,7 @@ clean_up_ai_nomad_effect = {
liege ?= { is_ai = yes }
}
is_migrating = no
NOT = { exists = involved_activity }
is_in_activity = no
}
domicile.domicile_location = { save_scope_as = place_to_stay }
if = {
@ -5958,7 +5994,7 @@ clean_up_ai_nomad_effect = {
}
move_to_pool_at = scope:place_to_stay
}
random = {
chance = {
value = 20
@ -6019,7 +6055,7 @@ clean_up_ai_nomad_effect = {
}
}
}
if = {
limit = {
scope:nomad_capital_ruler = {
@ -6149,6 +6185,12 @@ expanding_steppe_effect = {
REGION = dlc_mpo_steppe_central_china_expansion
}
}
scope:dlc_mpo_steppe_north_east_asia_expansion = {
expanding_steppe_add_region_effect = {
SUB_REGION = east
REGION = dlc_mpo_steppe_north_east_asia_expansion
}
}
scope:world_asia_korea = {
expanding_steppe_add_region_effect = {
SUB_REGION = east
@ -6195,6 +6237,7 @@ nomadic_heir_cleanup_realm_effect = {
save_scope_as = inheritor_char
}
every_held_title = {
title_tier > barony
limit = {
is_landless_type_title = no
}
@ -6213,11 +6256,9 @@ nomadic_heir_cleanup_realm_effect = {
type = swear_fealty
save_scope_as = change
}
scope:recipient = {
change_liege = {
liege = scope:old_liege
change = scope:change
}
change_liege = {
liege = scope:old_liege
change = scope:change
}
resolve_title_and_vassal_change = scope:change
}
@ -6291,9 +6332,9 @@ nomadic_realm_split_effect = {
}
save_scope_as = new_capital
}
# Mark the capital duchy
scope:new_ruler_scope = {
scope:new_ruler_scope = {
scope:new_capital = {
add_to_list = counties_given_to_sibling
}
@ -6355,7 +6396,7 @@ nomadic_realm_split_effect = {
add_to_list = duchies_given_to_sibling
if = {
limit = {
holder = {
holder ?= {
top_liege = scope:root_scope
primary_title.tier < tier_kingdom
NOT = { is_in_list = rulers_transferred }
@ -6372,7 +6413,7 @@ nomadic_realm_split_effect = {
add_to_list = counties_given_to_sibling
if = {
limit = {
holder = {
holder ?= {
top_liege = scope:root_scope
primary_title.tier < tier_kingdom
NOT = { is_in_list = rulers_transferred }
@ -6429,7 +6470,7 @@ nomadic_realm_split_effect = {
add_to_list = duchies_given_to_sibling
if = {
limit = {
holder = {
holder ?= {
top_liege = scope:root_scope
primary_title.tier < tier_kingdom
NOT = { is_in_list = rulers_transferred }
@ -6446,7 +6487,7 @@ nomadic_realm_split_effect = {
add_to_list = counties_given_to_sibling
if = {
limit = {
holder = {
holder ?= {
top_liege = scope:root_scope
primary_title.tier < tier_kingdom
NOT = { is_in_list = rulers_transferred }
@ -6467,14 +6508,14 @@ nomadic_realm_split_effect = {
}
}
}
# Hand out the titles properly
create_title_and_vassal_change = {
type = swear_fealty
add_claim_on_loss = yes
save_scope_as = change
}
# Give capital + capital duchy
scope:capital_duchy = {
change_title_holder = {
@ -6489,7 +6530,7 @@ nomadic_realm_split_effect = {
change = scope:change
}
}
# Form a new kingdom
save_scope_as = founder
scope:capital_duchy = {
@ -6508,7 +6549,7 @@ nomadic_realm_split_effect = {
generate_coa = yes
set_de_jure_liege_title = scope:root_scope.primary_title.empire
}
# Do everything else
every_in_list = {
list = counties_given_to_sibling
@ -6531,10 +6572,8 @@ nomadic_realm_split_effect = {
}
if = {
limit = {
NOT = {
this = scope:new_ruler_scope
}
holder = {
this != scope:new_ruler_scope
liege = scope:root_scope
primary_title.tier < tier_kingdom
}
@ -6547,9 +6586,9 @@ nomadic_realm_split_effect = {
}
}
}
resolve_title_and_vassal_change = scope:change
every_in_list = {
list = duchies_to_de_jure_shift
set_de_jure_liege_title = scope:new_kingdom_title
@ -6593,9 +6632,9 @@ mpo_abuse_authority_county_effect = {
}
root = {
add_gold = medium_gold_value
add_prestige = medium_prestige_value
add_prestige = medium_prestige_value
}
}
}
}
}
@ -6634,13 +6673,14 @@ mpo_release_herder_land_effect = {
location = scope:county_of_origin.title_province
culture = scope:county_of_origin.culture
faith = scope:county_of_origin.faith
rite = scope:county_of_origin.rite
gender_female_chance = {
if = {
limit = { scope:county_of_origin.faith = { has_doctrine = doctrine_gender_male_dominated } }
limit = { scope:county_of_origin.rite = { rite_has_doctrine = doctrine_gender_male_dominated } }
add = 20
}
else_if = {
limit = { scope:county_of_origin.faith = { has_doctrine = doctrine_gender_female_dominated } }
limit = { scope:county_of_origin.rite = { rite_has_doctrine = doctrine_gender_female_dominated } }
add = 80
}
else = {