effects
This commit is contained in:
parent
eaf472631b
commit
60fbfc1893
15 changed files with 2845 additions and 1349 deletions
|
|
@ -254,7 +254,7 @@ migration_settle_down_obedient_vassal_effect = {
|
|||
value = culture
|
||||
}
|
||||
set_county_culture = scope:current_vassal.domicile.domicile_culture
|
||||
set_county_faith = scope:current_vassal.domicile.domicile_faith
|
||||
set_county_rite = scope:current_vassal.domicile.domicile_rite
|
||||
scope:current_vassal = {
|
||||
change_liege = {
|
||||
liege = scope:actor
|
||||
|
|
@ -852,6 +852,7 @@ migration_set_obedient_vassal_effect = {
|
|||
create_character = {
|
||||
template = herder_character
|
||||
faith = scope:current_vassal.domicile.domicile_faith
|
||||
rite = scope:current_vassal.domicile.domicile_rite
|
||||
culture = scope:current_vassal.domicile.domicile_culture
|
||||
location = scope:current_vassal.primary_title.title_capital_county.title_province
|
||||
save_scope_as = herder_character
|
||||
|
|
@ -908,7 +909,29 @@ offer_confederation_accepter_effect = {
|
|||
custom_tooltip = join_confederation_recipient_tt
|
||||
}
|
||||
custom_tooltip = confederation_defensive_wars_tt
|
||||
custom_tooltip = unlock_leave_confederation_interaction_tt
|
||||
custom_tooltip = unlock_leave_confederation_decision_tt
|
||||
}
|
||||
|
||||
leave_confederation_membership_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
any_confederation_member = {
|
||||
count >= 2
|
||||
NOT = { this = $LEAVER$ }
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { is_title_based = yes }
|
||||
remove_confederation_member_title = $LEAVER$.primary_title
|
||||
}
|
||||
else = {
|
||||
remove_confederation_member = $LEAVER$
|
||||
}
|
||||
}
|
||||
else = {
|
||||
# Not enough members would remain, so the whole confederation is dissolved.
|
||||
disband_confederation = yes
|
||||
}
|
||||
}
|
||||
|
||||
confederation_realm_transfer_effect = {
|
||||
|
|
@ -1545,7 +1568,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
1 = { #Merv
|
||||
trigger = {
|
||||
title:c_bukhara = {
|
||||
development_level >= 10
|
||||
prosperity_level >= 10
|
||||
NOT = {
|
||||
holder.top_liege = {
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -1554,7 +1577,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
}
|
||||
}
|
||||
modifier = {
|
||||
add = title:c_bukhara.development_level
|
||||
add = title:c_bukhara.prosperity_level
|
||||
}
|
||||
title:b_bukhara = {
|
||||
save_scope_as = merchant_origin
|
||||
|
|
@ -1563,7 +1586,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
1 = { #Nishapur
|
||||
trigger = {
|
||||
title:c_nishapur = {
|
||||
development_level >= 10
|
||||
prosperity_level >= 10
|
||||
NOT = {
|
||||
holder.top_liege = {
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -1572,7 +1595,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
}
|
||||
}
|
||||
modifier = {
|
||||
add = title:c_nishapur.development_level
|
||||
add = title:c_nishapur.prosperity_level
|
||||
}
|
||||
title:b_nishapur = {
|
||||
save_scope_as = merchant_origin
|
||||
|
|
@ -1581,7 +1604,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
1 = { #Khotan
|
||||
trigger = {
|
||||
title:c_khotan = {
|
||||
development_level >= 10
|
||||
prosperity_level >= 10
|
||||
NOT = {
|
||||
holder.top_liege = {
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -1590,7 +1613,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
}
|
||||
}
|
||||
modifier = {
|
||||
add = title:c_khotan.development_level
|
||||
add = title:c_khotan.prosperity_level
|
||||
}
|
||||
title:b_khotan = {
|
||||
save_scope_as = merchant_origin
|
||||
|
|
@ -1599,7 +1622,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
1 = { #Wroclaw
|
||||
trigger = {
|
||||
title:c_breslau = {
|
||||
development_level >= 10
|
||||
prosperity_level >= 10
|
||||
NOT = {
|
||||
holder.top_liege = {
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -1608,7 +1631,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
}
|
||||
}
|
||||
modifier = {
|
||||
add = title:c_breslau.development_level
|
||||
add = title:c_breslau.prosperity_level
|
||||
}
|
||||
title:b_breslau = {
|
||||
save_scope_as = merchant_origin
|
||||
|
|
@ -1617,7 +1640,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
1 = { #Krakow
|
||||
trigger = {
|
||||
title:c_krakowska = {
|
||||
development_level >= 10
|
||||
prosperity_level >= 10
|
||||
NOT = {
|
||||
holder.top_liege = {
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -1626,7 +1649,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
}
|
||||
}
|
||||
modifier = {
|
||||
add = title:c_krakowska.development_level
|
||||
add = title:c_krakowska.prosperity_level
|
||||
}
|
||||
title:b_krakow = {
|
||||
save_scope_as = merchant_origin
|
||||
|
|
@ -1635,7 +1658,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
1 = { #Novgorod
|
||||
trigger = {
|
||||
title:c_novgorod = {
|
||||
development_level >= 10
|
||||
prosperity_level >= 10
|
||||
NOT = {
|
||||
holder.top_liege = {
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -1644,7 +1667,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
}
|
||||
}
|
||||
modifier = {
|
||||
add = title:c_novgorod.development_level
|
||||
add = title:c_novgorod.prosperity_level
|
||||
}
|
||||
title:b_novgorod = {
|
||||
save_scope_as = merchant_origin
|
||||
|
|
@ -1653,7 +1676,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
1 = { #Kyiv
|
||||
trigger = {
|
||||
title:c_kiev = {
|
||||
development_level >= 10
|
||||
prosperity_level >= 10
|
||||
NOT = {
|
||||
holder.top_liege = {
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -1662,7 +1685,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
}
|
||||
}
|
||||
modifier = {
|
||||
add = title:c_kiev.development_level
|
||||
add = title:c_kiev.prosperity_level
|
||||
}
|
||||
title:b_kiev = {
|
||||
save_scope_as = merchant_origin
|
||||
|
|
@ -1671,7 +1694,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
1 = { #Baghdad
|
||||
trigger = {
|
||||
title:c_baghdad = {
|
||||
development_level >= 10
|
||||
prosperity_level >= 10
|
||||
NOT = {
|
||||
holder.top_liege = {
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -1680,7 +1703,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
}
|
||||
}
|
||||
modifier = {
|
||||
add = title:c_baghdad.development_level
|
||||
add = title:c_baghdad.prosperity_level
|
||||
}
|
||||
title:b_baghdad = {
|
||||
save_scope_as = merchant_origin
|
||||
|
|
@ -1689,7 +1712,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
1 = { #Pisa
|
||||
trigger = {
|
||||
title:c_pisa = {
|
||||
development_level >= 10
|
||||
prosperity_level >= 10
|
||||
NOT = {
|
||||
holder.top_liege = {
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -1698,7 +1721,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
}
|
||||
}
|
||||
modifier = {
|
||||
add = title:c_pisa.development_level
|
||||
add = title:c_pisa.prosperity_level
|
||||
}
|
||||
title:b_pisa = {
|
||||
save_scope_as = merchant_origin
|
||||
|
|
@ -1707,7 +1730,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
1 = { #Venice
|
||||
trigger = {
|
||||
title:c_venezia = {
|
||||
development_level >= 10
|
||||
prosperity_level >= 10
|
||||
NOT = {
|
||||
holder.top_liege = {
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -1716,7 +1739,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
}
|
||||
}
|
||||
modifier = {
|
||||
add = title:c_venezia.development_level
|
||||
add = title:c_venezia.prosperity_level
|
||||
}
|
||||
title:c_venezia = {
|
||||
save_scope_as = merchant_origin
|
||||
|
|
@ -1725,7 +1748,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
1 = { #Cairo
|
||||
trigger = {
|
||||
title:c_cairo = {
|
||||
development_level >= 10
|
||||
prosperity_level >= 10
|
||||
NOT = {
|
||||
holder.top_liege = {
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -1734,7 +1757,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
}
|
||||
}
|
||||
modifier = {
|
||||
add = title:c_cairo.development_level
|
||||
add = title:c_cairo.prosperity_level
|
||||
}
|
||||
title:b_cairo = {
|
||||
save_scope_as = merchant_origin
|
||||
|
|
@ -1743,7 +1766,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
1 = { #Genua
|
||||
trigger = {
|
||||
title:c_genoa = {
|
||||
development_level >= 10
|
||||
prosperity_level >= 10
|
||||
NOT = {
|
||||
holder.top_liege = {
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -1752,7 +1775,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
}
|
||||
}
|
||||
modifier = {
|
||||
add = title:c_genoa.development_level
|
||||
add = title:c_genoa.prosperity_level
|
||||
}
|
||||
title:b_genoa = {
|
||||
save_scope_as = merchant_origin
|
||||
|
|
@ -1761,7 +1784,7 @@ mpo_find_suitable_merchant_effect = {
|
|||
1 = { #Constantinople
|
||||
#something has to be in constantinople
|
||||
modifier = {
|
||||
add = title:c_byzantion.development_level
|
||||
add = title:c_byzantion.prosperity_level
|
||||
}
|
||||
title:b_constantinople = {
|
||||
save_scope_as = merchant_origin
|
||||
|
|
@ -2256,7 +2279,6 @@ mpo_decisions_events_friend_fail_effect = {
|
|||
this = scope:friendship_target
|
||||
this = scope:heir
|
||||
has_relation_friend = scope:friendship_target
|
||||
has_relation_best_friend = scope:friendship_target
|
||||
has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:friendship_target }
|
||||
is_at_war_with = scope:friendship_target
|
||||
}
|
||||
|
|
@ -2270,7 +2292,6 @@ mpo_decisions_events_friend_fail_effect = {
|
|||
this = scope:friendship_target
|
||||
this = scope:heir
|
||||
has_relation_friend = scope:friendship_target
|
||||
has_relation_best_friend = scope:friendship_target
|
||||
has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:friendship_target }
|
||||
is_at_war_with = scope:friendship_target
|
||||
}
|
||||
|
|
@ -2287,7 +2308,6 @@ mpo_decisions_events_friend_fail_effect = {
|
|||
this = scope:friendship_target
|
||||
this = scope:heir
|
||||
has_relation_friend = scope:friendship_target
|
||||
has_relation_best_friend = scope:friendship_target
|
||||
has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:friendship_target }
|
||||
is_at_war_with = scope:friendship_target
|
||||
}
|
||||
|
|
@ -2310,7 +2330,6 @@ mpo_decisions_events_friend_fail_effect = {
|
|||
this = scope:friendship_target
|
||||
this = scope:heir
|
||||
has_relation_friend = scope:friendship_target
|
||||
has_relation_best_friend = scope:friendship_target
|
||||
has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:friendship_target }
|
||||
is_at_war_with = scope:friendship_target
|
||||
}
|
||||
|
|
@ -2337,7 +2356,6 @@ mpo_decisions_events_friend_fail_effect = {
|
|||
scope:friendship_target = {
|
||||
NOR = {
|
||||
has_relation_friend = scope:friendship_target
|
||||
has_relation_best_friend = scope:friendship_target
|
||||
has_any_bad_relationship_with_character_trigger = { CHARACTER = root }
|
||||
}
|
||||
}
|
||||
|
|
@ -3111,6 +3129,63 @@ nomad_convert_people_to_tribe_effect = {
|
|||
}
|
||||
}
|
||||
|
||||
nomad_convert_realm_to_tribal_effect = {
|
||||
every_sub_realm_county = {
|
||||
limit = {
|
||||
title_province = {
|
||||
OR = {
|
||||
has_holding_type = nomad_holding
|
||||
has_holding_type = herder_holding
|
||||
}
|
||||
}
|
||||
}
|
||||
title_province = {
|
||||
set_holding_type = tribal_holding
|
||||
}
|
||||
add_to_list = holding_conversion
|
||||
}
|
||||
change_government = tribal_government
|
||||
every_vassal_or_below = {
|
||||
limit = {
|
||||
has_government = nomad_government
|
||||
}
|
||||
if = {
|
||||
limit = { has_realm_law = nomadic_authority_1 }
|
||||
remove_realm_law = nomadic_authority_1
|
||||
}
|
||||
if = {
|
||||
limit = { has_realm_law = nomadic_authority_2 }
|
||||
remove_realm_law = nomadic_authority_2
|
||||
}
|
||||
if = {
|
||||
limit = { has_realm_law = nomadic_authority_3 }
|
||||
remove_realm_law = nomadic_authority_3
|
||||
}
|
||||
if = {
|
||||
limit = { has_realm_law = nomadic_authority_4 }
|
||||
remove_realm_law = nomadic_authority_4
|
||||
}
|
||||
if = {
|
||||
limit = { has_realm_law = nomadic_authority_5 }
|
||||
remove_realm_law = nomadic_authority_5
|
||||
}
|
||||
change_government = tribal_government
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { has_realm_law = tribal_authority_1 }
|
||||
}
|
||||
add_realm_law_skip_effects = tribal_authority_1
|
||||
}
|
||||
}
|
||||
#Start off tribal authorities.
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { has_realm_law = tribal_authority_2 }
|
||||
}
|
||||
add_realm_law_skip_effects = tribal_authority_2
|
||||
}
|
||||
}
|
||||
|
||||
nomad_convert_people_to_clan_effect = {
|
||||
change_government = clan_government
|
||||
|
||||
|
|
@ -3279,7 +3354,7 @@ mpo_overrunning_vassal_title_distribution_effect = {
|
|||
}
|
||||
else = {
|
||||
ordered_de_jure_county = {
|
||||
order_by = development_level
|
||||
order_by = prosperity_level
|
||||
limit = {
|
||||
holder = scope:attacker
|
||||
}
|
||||
|
|
@ -3291,7 +3366,7 @@ mpo_overrunning_vassal_title_distribution_effect = {
|
|||
#Counts
|
||||
else = {
|
||||
ordered_in_list = {
|
||||
order_by = development_level
|
||||
order_by = prosperity_level
|
||||
list = overrun_counties
|
||||
save_scope_as = title_to_grant
|
||||
}
|
||||
|
|
@ -3697,7 +3772,7 @@ mpo_duchy_overrunning_vassal_title_distribution_effect = {
|
|||
}
|
||||
}
|
||||
ordered_in_list = {
|
||||
order_by = development_level
|
||||
order_by = prosperity_level
|
||||
list = overrun_counties
|
||||
save_scope_as = title_to_grant
|
||||
}
|
||||
|
|
@ -4875,12 +4950,14 @@ mpo_confederation_join_defensive_war_effect = {
|
|||
highest_held_title_tier >= tier_county
|
||||
NOR = {
|
||||
is_at_war_with = scope:defender
|
||||
is_at_war_with = scope:attacker # Cannot join a second war against them
|
||||
is_allied_to = scope:attacker
|
||||
is_imprisoned_by = scope:defender
|
||||
is_imprisoned_by = scope:attacker
|
||||
is_defender_in_war = scope:war
|
||||
is_attacker_in_war = scope:war
|
||||
}
|
||||
can_confederation_member_join_war_against = scope:attacker
|
||||
}
|
||||
scope:war = {
|
||||
add_defender = prev
|
||||
|
|
@ -6016,7 +6093,7 @@ clean_up_ai_nomad_effect = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_dlc_feature = roads_to_power
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
is_physically_able_adult = yes
|
||||
exists = location.county
|
||||
ai_can_valid_to_create_laamp_trigger = yes
|
||||
|
|
@ -6162,6 +6239,23 @@ expanding_steppe_effect = {
|
|||
SUB_REGION = central
|
||||
REGION = dlc_mpo_steppe_siberia_further_expansion
|
||||
}
|
||||
custom_tooltip = permafrost_modifier_removal_desc
|
||||
hidden_effect = {
|
||||
situation:the_great_steppe ?= {
|
||||
situation_sub_region:steppe_central = {
|
||||
every_situation_sub_region_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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# East
|
||||
scope:dlc_mpo_steppe_hexi_tarim_expansion = {
|
||||
|
|
@ -6718,3 +6812,67 @@ mpo_release_herder_land_effect = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
take_sub_realm_county_as_new_capital_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
capital_county.title_province = {
|
||||
$EXCLUDE$ = no
|
||||
}
|
||||
}
|
||||
capital_county = {
|
||||
save_scope_as = new_capital
|
||||
}
|
||||
}
|
||||
else = {
|
||||
every_sub_realm_county = {
|
||||
limit = {
|
||||
is_landless_type_title = no
|
||||
title_province = {
|
||||
$EXCLUDE$ = no
|
||||
}
|
||||
# avoid steal player's title
|
||||
trigger_if = {
|
||||
limit = { holder != prev }
|
||||
holder = { is_ai = yes }
|
||||
}
|
||||
}
|
||||
alternative_limit = {
|
||||
is_landless_type_title = no
|
||||
title_province = {
|
||||
$EXCLUDE$ = no
|
||||
}
|
||||
}
|
||||
add_to_list = potential_new_capitals
|
||||
}
|
||||
ordered_in_list = {
|
||||
order_by = title_province.province_size
|
||||
list = potential_new_capitals
|
||||
save_scope_as = new_capital
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:new_capital
|
||||
capital_county != scope:new_capital
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:new_capital.holder != root
|
||||
}
|
||||
create_title_and_vassal_change = {
|
||||
type = usurped
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = yes
|
||||
}
|
||||
scope:new_capital = {
|
||||
change_title_holder = {
|
||||
holder = root
|
||||
change = scope:change
|
||||
}
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
set_realm_capital = scope:new_capital
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue