idk why I dont have a cursor

This commit is contained in:
Magpie490 2025-06-02 16:22:24 +01:00
parent 701d55c01f
commit cda3acdcea
349 changed files with 78627 additions and 7804 deletions

View file

@ -1,5 +1,6 @@
@crown_authority_cooldown_years = 20
@tribal_authority_cooldown_years = 10
@nomadic_authority_cooldown_years = 5
@imperial_bureaucracy_cooldown_years_1 = 10
@imperial_bureaucracy_cooldown_years_2 = 20
@imperial_bureaucracy_cooldown_years_3 = 30
@ -19,6 +20,7 @@ crown_authority = {
crown_authority_0 = {
modifier = {
belligerent_opinion = -10
barons_and_minor_landholders_opinion = 20
glory_hound_opinion = 10
parochial_opinion = 10
@ -30,7 +32,7 @@ crown_authority = {
realm_law_use_crown_authority = yes
trigger_if = {
limit = {
has_government = administrative_government
government_has_flag = government_is_administrative
is_independent_ruler = no
}
liege = { has_realm_law = crown_authority_0 }
@ -45,15 +47,16 @@ crown_authority = {
crown_authority_1 = {
modifier = {
belligerent_opinion = 5
barons_and_minor_landholders_opinion = -30
glory_hound_opinion = -15
parochial_opinion = -15
courtly_opinion = -5
minority_opinion = -10
}
flag = uses_crown_authority
flag = title_revocation_allowed
flag = vassal_retraction_allowed
flag = can_have_tributaries
flag = can_change_partition_succession_laws
flag = diarchs_want_to_subsidise_without_this_flag
@ -61,7 +64,7 @@ crown_authority = {
realm_law_use_crown_authority = yes
trigger_if = {
limit = {
has_government = administrative_government
government_has_flag = government_is_administrative
is_independent_ruler = no
}
liege = { has_realm_law = crown_authority_1 }
@ -121,6 +124,7 @@ crown_authority = {
crown_authority_2 = {
modifier = {
belligerent_opinion = 10
barons_and_minor_landholders_opinion = -10
glory_hound_opinion = -10
parochial_opinion = -10
@ -130,7 +134,6 @@ crown_authority = {
vassal_tax_contribution_mult = 0.1
vassal_levy_contribution_mult = 0.1
}
flag = uses_crown_authority
flag = vassal_internal_wars_banned
flag = vassal_refusal_is_treason
flag = can_change_succession_laws
@ -140,7 +143,7 @@ crown_authority = {
realm_law_use_crown_authority = yes
trigger_if = {
limit = {
has_government = administrative_government
government_has_flag = government_is_administrative
is_independent_ruler = no
}
liege = { has_realm_law = crown_authority_2 }
@ -152,7 +155,7 @@ crown_authority = {
limit = {
NOT = { has_realm_law = crown_authority_3 }
NAND = {
has_government = administrative_government
government_has_flag = government_is_administrative
is_independent_ruler = no
}
}
@ -204,6 +207,7 @@ crown_authority = {
crown_authority_3 = {
modifier = {
belligerent_opinion = 15
barons_and_minor_landholders_opinion = -20
glory_hound_opinion = -25
parochial_opinion = -25
@ -213,7 +217,6 @@ crown_authority = {
vassal_tax_contribution_mult = 0.25
vassal_levy_contribution_mult = 0.25
}
flag = uses_crown_authority
flag = vassal_all_wars_banned
flag = can_designate_heirs
flag = max_authority_level
@ -222,7 +225,7 @@ crown_authority = {
realm_law_use_crown_authority = yes
trigger_if = {
limit = {
has_government = administrative_government
government_has_flag = government_is_administrative
is_independent_ruler = no
}
liege = { has_realm_law = crown_authority_3 }
@ -233,7 +236,7 @@ crown_authority = {
trigger_if = {
limit = {
NAND = {
has_government = administrative_government
government_has_flag = government_is_administrative
is_independent_ruler = no
}
}
@ -287,6 +290,7 @@ tribal_authority = {
glory_hound_opinion = 10
parochial_opinion = 10
courtly_opinion = 5
belligerent_opinion = -15
}
flag = uses_tribal_authority
flag = imprisonment_toggle_enable
@ -306,12 +310,15 @@ tribal_authority = {
parochial_opinion = -15
courtly_opinion = -5
minority_opinion = -10
belligerent_opinion = 5
}
flag = uses_tribal_authority
flag = can_have_tributaries
flag = can_change_succession_laws
flag = imprisonment_toggle_on
can_keep = { realm_law_use_tribal_authority = yes }
can_keep = {
realm_law_use_tribal_authority = yes
}
can_pass = {
trigger_if = {
@ -370,13 +377,18 @@ tribal_authority = {
courtly_opinion = -5
zealot_opinion = -10
minority_opinion = -10
belligerent_opinion = 15
}
flag = uses_tribal_authority
flag = title_revocation_allowed
flag = vassal_retraction_allowed
flag = diarchs_want_to_subsidise_without_this_flag
can_keep = { realm_law_use_tribal_authority = yes }
can_keep = {
realm_law_use_tribal_authority = yes
NOT = {
is_confederation_member = yes
}
}
can_pass = {
trigger_if = {
@ -435,13 +447,18 @@ tribal_authority = {
courtly_opinion = -10
zealot_opinion = -20
minority_opinion = -30
belligerent_opinion = 20
}
flag = uses_tribal_authority
flag = max_authority_level
#Settling is disabled unless you have this law. Script is in the decisions, currently in 80_major_decisions.
#Reforming pagan religions (but not creating other faiths) is disabled unless you have this law. Script is in the reformation prereqs, currently in 00_rules.
can_keep = { realm_law_use_tribal_authority = yes }
can_keep = {
realm_law_use_tribal_authority = yes
NOT = {
is_confederation_member = yes
}
}
can_pass = {
has_realm_law = tribal_authority_2
@ -489,6 +506,10 @@ camp_purpose = {
flag = realm_law
camp_purpose_wanderers = {
pass_phrase = camp_purpose_pass_phrase
confirmation_title = camp_purpose_pass_phrase
confirmation_button_text = camp_purpose_confirmation_button_text
flag = uses_camp_purpose
flag = can_change_succession_laws
flag = can_change_purpose_for_free
@ -517,6 +538,10 @@ camp_purpose = {
}
camp_purpose_mercenaries = {
pass_phrase = camp_purpose_pass_phrase
confirmation_title = camp_purpose_pass_phrase
confirmation_button_text = camp_purpose_confirmation_button_text
flag = uses_camp_purpose
flag = can_change_succession_laws
flag = laamp_contracts_weight_up_mercenary
@ -628,6 +653,10 @@ camp_purpose = {
}
camp_purpose_scholars = {
pass_phrase = camp_purpose_pass_phrase
confirmation_title = camp_purpose_pass_phrase
confirmation_button_text = camp_purpose_confirmation_button_text
modifier = {
monthly_lifestyle_xp_gain_mult = 0.2
}
@ -741,6 +770,10 @@ camp_purpose = {
}
camp_purpose_explorers = {
pass_phrase = camp_purpose_pass_phrase
confirmation_title = camp_purpose_pass_phrase
confirmation_button_text = camp_purpose_confirmation_button_text
modifier = {
character_travel_speed_mult = 0.25
coastal_sea_travel_danger = medium_sea_danger_reduction
@ -859,6 +892,10 @@ camp_purpose = {
}
camp_purpose_brigands = {
pass_phrase = camp_purpose_pass_phrase
confirmation_title = camp_purpose_pass_phrase
confirmation_button_text = camp_purpose_confirmation_button_text
flag = uses_camp_purpose
flag = can_change_succession_laws
flag = laamp_contracts_weight_up_criminal
@ -1008,6 +1045,10 @@ camp_purpose = {
}
camp_purpose_legitimists = {
pass_phrase = camp_purpose_pass_phrase
confirmation_title = camp_purpose_pass_phrase
confirmation_button_text = camp_purpose_confirmation_button_text
flag = uses_camp_purpose
flag = can_change_succession_laws
flag = martial_camp_purpose
@ -1019,6 +1060,7 @@ camp_purpose = {
flag = unlocks_baggage_train_ransom_cages
flag = unlocks_camp_fire_future_dreams
flag = unlocks_proving_grounds_bodyguard_drills
flag = unlocks_proving_grounds_lockwagon
can_keep = {
realm_law_use_camp_purpose = yes
@ -1117,6 +1159,7 @@ imperial_bureaucracy = {
imperial_bureaucracy_0 = {
modifier = {
belligerent_opinion = -10
barons_and_minor_landholders_opinion = 20
glory_hound_opinion = 10
parochial_opinion = 10
@ -1156,6 +1199,7 @@ imperial_bureaucracy = {
imperial_bureaucracy_1 = {
modifier = {
belligerent_opinion = 5
barons_and_minor_landholders_opinion = -30
glory_hound_opinion = -15
parochial_opinion = -15
@ -1164,7 +1208,7 @@ imperial_bureaucracy = {
administrative_government_tax_contribution_add = 0.05
vassal_limit = 100
}
flag = uses_imperial_bureaucracy
flag = can_have_tributaries
flag = title_revocation_allowed
flag = vassal_retraction_allowed
flag = can_change_partition_succession_laws
@ -1247,6 +1291,7 @@ imperial_bureaucracy = {
imperial_bureaucracy_2 = {
modifier = {
belligerent_opinion = 10
barons_and_minor_landholders_opinion = -10
glory_hound_opinion = -10
parochial_opinion = -10
@ -1257,7 +1302,6 @@ imperial_bureaucracy = {
republic_government_tax_contribution_add = 0.05
vassal_limit = 100
}
flag = uses_imperial_bureaucracy
flag = vassal_refusal_is_treason
flag = can_change_succession_laws
flag = vassal_all_wars_banned
@ -1338,6 +1382,7 @@ imperial_bureaucracy = {
imperial_bureaucracy_3 = {
modifier = {
belligerent_opinion = 15
barons_and_minor_landholders_opinion = -20
glory_hound_opinion = -25
parochial_opinion = -25
@ -1348,7 +1393,6 @@ imperial_bureaucracy = {
republic_government_tax_contribution_add = 0.05
vassal_limit = 200
}
flag = uses_imperial_bureaucracy
flag = vassal_all_wars_banned_permanent
flag = max_authority_level
flag = admin_title_troop_cost_reduction_high
@ -1417,3 +1461,376 @@ imperial_bureaucracy = {
}
}
}
nomadic_authority = {
default = nomadic_authority_1
cumulative = yes
flag = realm_law
nomadic_authority_1 = {
pass_phrase = nomadic_authority_1_pass_phrase
confirmation_title = nomadic_authority_1_pass_phrase
confirmation_button_text = nomadic_authority_confirmation_button_text
modifier = {
belligerent_opinion = -25
glory_hound_opinion = -20
domain_limit_min = 1
domain_limit_max = 2
vassal_limit_min = 1
vassal_limit_max = 1
}
flag = can_have_tributaries
flag = title_revocation_allowed
flag = uses_nomadic_authority
flag = imprisonment_toggle_enable
flag = access_to_nomadic_county_conquest
can_pass = {
has_realm_law = nomadic_authority_2
}
can_keep = { realm_law_use_nomadic_authority = yes }
#Imprisonment is disabled if you have this law. Script is in the interaction, currently in 00_prison_interactions.
on_pass = {
# Remove modifiers.
remove_law_related_modifiers_effect = yes
}
}
nomadic_authority_2 = {
pass_phrase = nomadic_authority_2_pass_phrase
confirmation_title = nomadic_authority_2_pass_phrase
confirmation_button_text = nomadic_authority_confirmation_button_text
modifier = {
belligerent_opinion = 10
glory_hound_opinion = 10
max_migration_distance_mult = 0.25
domain_limit_min = 1
domain_limit_max = 1
vassal_limit_min = 1
vassal_limit_max = 2 # 3
}
flag = can_change_succession_laws
flag = imprisonment_toggle_on
flag = title_revocation_allowed
flag = migration_to_duchies
flag = access_to_nomadic_county_conquest
flag = unlock_maa_nomad_lancers
can_keep = {
realm_law_use_nomadic_authority = yes
}
can_pass = {
custom_tooltip = {
text = "nomadic_authority_2_level_requirement"
OR = {
has_realm_law = nomadic_authority_1
has_realm_law = nomadic_authority_3
}
}
custom_description = {
subject = root
text = "has_nomadic_authority_cooldown"
NAND = {
has_variable = nomadic_authority_cooldown
NOT = {
culture = { has_innovation = innovation_all_things }
}
}
}
domicile.herd >= nomadic_authority_level_2_requirement
}
pass_cost = {
prestige = {
if = {
limit = {
NOR = {
has_realm_law = nomadic_authority_2
has_realm_law = nomadic_authority_3
}
}
add = increase_nomadic_authority_prestige_cost
}
}
}
on_pass = {
# Increment cooldown breaker tally, if appropriate.
calculate_authority_cooldown_break_effect = yes
# Set regular cooldown.
set_variable = {
name = nomadic_authority_cooldown
years = @nomadic_authority_cooldown_years
}
# Remove modifiers.
remove_law_related_modifiers_effect = yes
}
ai_will_do = {
if = {
limit = { has_realm_law = nomadic_authority_1 }
value = 1
}
}
}
nomadic_authority_3 = {
pass_phrase = nomadic_authority_3_pass_phrase
confirmation_title = nomadic_authority_3_pass_phrase
confirmation_button_text = nomadic_authority_confirmation_button_text
modifier = {
belligerent_opinion = 10
glory_hound_opinion = 10
max_migration_distance_mult = 0.5
domain_limit_min = 2
domain_limit_max = 3
vassal_limit_min = 8
vassal_limit_max = 12 # 15
}
flag = vassal_retraction_allowed
flag = diarchs_want_to_subsidise_without_this_flag
flag = migration_to_kingdoms
flag = access_to_nomadic_duchy_conquest
can_keep = {
realm_law_use_nomadic_authority = yes
NOT = {
is_confederation_member = yes
}
}
can_pass = {
custom_tooltip = {
text = "nomadic_authority_3_level_requirement"
OR = {
has_realm_law = nomadic_authority_2
has_realm_law = nomadic_authority_4
}
}
custom_description = {
subject = root
text = "has_nomadic_authority_cooldown"
NAND = {
has_variable = nomadic_authority_cooldown
NOT = {
culture = { has_innovation = innovation_all_things }
}
}
}
domicile.herd >= nomadic_authority_level_3_requirement
}
pass_cost = {
prestige = {
if = {
limit = {
NOR = {
has_realm_law = nomadic_authority_3
has_realm_law = nomadic_authority_4
}
}
add = increase_nomadic_authority_prestige_cost
}
}
}
on_pass = {
# Increment cooldown breaker tally, if appropriate.
calculate_authority_cooldown_break_effect = yes
# Set regular cooldown.
set_variable = {
name = nomadic_authority_cooldown
years = @nomadic_authority_cooldown_years
}
# Remove modifiers.
remove_law_related_modifiers_effect = yes
}
ai_will_do = {
if = {
limit = { has_realm_law = nomadic_authority_2 }
value = 1
}
}
}
nomadic_authority_4 = {
pass_phrase = nomadic_authority_4_pass_phrase
confirmation_title = nomadic_authority_4_pass_phrase
confirmation_button_text = nomadic_authority_confirmation_button_text
modifier = {
belligerent_opinion = 20
glory_hound_opinion = 10
max_migration_distance_mult = 1
domain_limit_min = 2
vassal_limit_min = 5
vassal_limit_max = 15
}
flag = migration_to_empires
#Settling is disabled unless you have this law. Script is in the decisions, currently in 80_major_decisions.
#Reforming pagan religions (but not creating other faiths) is disabled unless you have this law. Script is in the reformation prereqs, currently in 00_rules.
can_keep = {
realm_law_use_nomadic_authority = yes
NOT = {
is_confederation_member = yes
}
}
can_pass = {
custom_tooltip = {
text = "nomadic_authority_4_level_requirement"
OR = {
has_realm_law = nomadic_authority_3
has_realm_law = nomadic_authority_5
}
}
custom_description = {
subject = root
text = "has_nomadic_authority_cooldown"
NAND = {
has_variable = nomadic_authority_cooldown
NOT = {
culture = { has_innovation = innovation_all_things }
}
}
}
domicile.herd >= nomadic_authority_level_4_requirement
}
pass_cost = {
prestige = {
if = {
limit = {
NOR = {
has_realm_law = nomadic_authority_4
has_realm_law = nomadic_authority_5
}
}
add = increase_nomadic_authority_prestige_cost
}
}
}
on_pass = {
# Increment cooldown breaker tally, if appropriate.
calculate_authority_cooldown_break_effect = yes
# Set regular cooldown.
set_variable = {
name = nomadic_authority_cooldown
years = @nomadic_authority_cooldown_years
}
# Remove modifiers.
remove_law_related_modifiers_effect = yes
}
ai_will_do = {
if = {
limit = { has_realm_law = nomadic_authority_3 }
value = 1
}
}
}
nomadic_authority_5 = {
pass_phrase = nomadic_authority_5_pass_phrase
confirmation_title = nomadic_authority_5_pass_phrase
confirmation_button_text = nomadic_authority_confirmation_button_text
modifier = {
belligerent_opinion = 25
glory_hound_opinion = 15
max_migration_distance_mult = 10
max_migration_distance_mult = 2
vassal_limit_min = 985
vassal_limit_max = 970
}
flag = max_authority_level
#Settling is disabled unless you have this law. Script is in the decisions, currently in 80_major_decisions.
#Reforming pagan religions (but not creating other faiths) is disabled unless you have this law. Script is in the reformation prereqs, currently in 00_rules.
can_keep = {
realm_law_use_nomadic_authority = yes
NOT = {
is_confederation_member = yes
}
}
can_pass = {
has_realm_law = nomadic_authority_4
trigger_if = {
limit = {
any_character_situation = {
any_participant_group = {
participant_group_type = nomad_rulers_capital
participant_group_has_character = root
}
}
}
custom_description = {
text = nomadic_authority_5_gurkhan
any_character_situation = {
any_participant_group = {
participant_group_type = nomad_rulers_capital
participant_group_has_character = root
}
situation_top_herd ?= root
}
}
}
custom_description = {
subject = root
text = "has_nomadic_authority_cooldown"
NAND = {
has_variable = nomadic_authority_cooldown
NOT = {
culture = { has_innovation = innovation_all_things }
}
}
}
domicile.herd >= nomadic_authority_level_5_requirement
}
pass_cost = {
prestige = {
if = {
limit = {
NOT = {
has_realm_law = nomadic_authority_5
}
}
add = increase_nomadic_authority_prestige_cost
multiply = 2
}
}
}
on_pass = {
# Increment cooldown breaker tally, if appropriate.
calculate_authority_cooldown_break_effect = yes
# Set regular cooldown.
set_variable = {
name = nomadic_authority_cooldown
years = @nomadic_authority_cooldown_years
}
# Remove modifiers.
remove_law_related_modifiers_effect = yes
play_sound_effect = "event:/DLC/CE2/UI/Notifications/ce2_ui_notifications_nomadicAuthority_wolf"
}
ai_will_do = {
if = {
limit = { has_realm_law = nomadic_authority_4 }
value = 1
}
}
}
}

View file

@ -7,9 +7,21 @@
}
can_pass = {
can_change_partition_succession_law_trigger = yes
trigger_if = {
limit = {
exists = primary_title
}
is_confederation_member = no
}
}
can_have = {
can_have_confederate_partition_succession_law_trigger = yes
trigger_if = {
limit = {
exists = primary_title
}
is_confederation_member = no
}
}
should_start_with = {
NOR = {
@ -41,6 +53,7 @@
modifier = {
glory_hound_opinion = 10
parochial_opinion = 5
belligerent_opinion = -10
dynasty_house_opinion = 5
eligible_child_opinion = 10
}
@ -49,20 +62,47 @@
}
potential = {
NOT = { government_has_flag = government_is_clan }
NOT = { government_has_flag = government_is_administrative }
NOR = {
government_has_flag = government_is_nomadic
government_has_flag = government_is_clan
government_has_flag = government_is_administrative
}
}
}
partition_succession_law = {
can_keep = {
can_keep_partition_succession_law_trigger = yes
OR = {
can_keep_partition_succession_law_trigger = yes
trigger_if = {
limit = {
exists = primary_title
}
is_confederation_member = yes
}
}
}
can_pass = {
can_change_partition_succession_law_trigger = yes
OR = {
can_change_partition_succession_law_trigger = yes
trigger_if = {
limit = {
exists = primary_title
}
is_confederation_member = yes
}
}
}
can_have = {
can_have_partition_succession_law_trigger = yes
OR = {
can_have_partition_succession_law_trigger = yes
trigger_if = {
limit = {
exists = primary_title
}
is_confederation_member = yes
}
}
}
should_start_with = {
NOR = {
@ -77,7 +117,7 @@
has_innovation = innovation_heraldry
}
}
NOT = { has_government = administrative_government }
NOT = { government_has_flag = government_is_administrative }
}
succession = {
order_of_succession = inheritance
@ -89,6 +129,7 @@
modifier = {
glory_hound_opinion = 10
parochial_opinion = 5
belligerent_opinion = -10
player_heir_opinion = 10
eligible_child_except_player_heir_opinion = 5
}
@ -104,8 +145,11 @@
}
potential = {
NOT = { government_has_flag = government_is_clan }
NOT = { government_has_flag = government_is_administrative }
NOR = {
government_has_flag = government_is_nomadic
government_has_flag = government_is_clan
government_has_flag = government_is_administrative
}
}
}
@ -117,6 +161,7 @@
can_change_partition_succession_law_trigger = yes
}
can_have = {
NOT = { government_has_flag = government_is_nomadic }
can_have_high_partition_succession_law_trigger = yes
}
should_start_with = {
@ -132,7 +177,7 @@
has_innovation = innovation_hereditary_rule
}
}
NOT = { has_government = administrative_government }
NOT = { government_has_flag = government_is_administrative }
}
succession = {
order_of_succession = inheritance
@ -144,6 +189,7 @@
flag = partition_succession_law
modifier = {
glory_hound_opinion = 5
belligerent_opinion = -10
player_heir_opinion = 15
}
pass_cost = {
@ -163,8 +209,11 @@
}
potential = {
NOT = { government_has_flag = government_is_clan }
NOT = { government_has_flag = government_is_administrative }
NOR = {
government_has_flag = government_is_nomadic
government_has_flag = government_is_clan
government_has_flag = government_is_administrative
}
}
}
@ -181,6 +230,7 @@
}
}
can_have = {
NOT = { government_has_flag = government_is_nomadic }
can_have_single_heir_succession_law_trigger = yes
}
can_pass = {
@ -191,10 +241,18 @@
}
piety_level >= 3
}
trigger_if = {
limit = {
government_has_flag = government_is_administrative
}
influence_level >= 4
has_active_diarchy = no
primary_title = { title_held_years >= 10 }
}
}
should_start_with = {
historical_succession_access_single_heir_succession_law_trigger = yes
NOT = { has_government = administrative_government }
NOT = { government_has_flag = government_is_administrative }
}
succession = {
order_of_succession = inheritance
@ -233,7 +291,55 @@
}
potential = {
NOT = { government_has_flag = government_is_administrative }
NOT = { government_has_flag = government_is_nomadic }
trigger_if = {
limit = {
government_has_flag = government_is_administrative
}
is_independent_ruler = yes
}
}
}
single_heir_succession_kurultai_law = {
can_keep = {
government_has_flag = government_is_nomadic
}
can_have = {
government_has_flag = government_is_nomadic
}
can_pass = {
government_has_flag = government_is_nomadic
}
should_start_with = {
government_has_flag = government_is_nomadic
}
succession = {
order_of_succession = inheritance
traversal_order = children
rank = oldest
title_division = single_heir
}
flag = advanced_succession_law
flag = can_designate_heirs
modifier = {
belligerent_opinion = 10
glory_hound_opinion = 5
player_heir_opinion = 20
eligible_child_except_player_heir_opinion = -20
}
pass_cost = {
}
revoke_cost = {
prestige = change_succession_law_prestige_cost
}
ai_will_do = {
value = 3
}
potential = {
government_has_flag = government_is_nomadic
}
}
@ -250,6 +356,7 @@
}
}
can_have = {
NOT = { government_has_flag = government_is_nomadic }
can_have_single_heir_youngest_succession_law_trigger = yes
}
can_pass = {
@ -260,6 +367,14 @@
}
piety_level >= 3
}
trigger_if = {
limit = {
government_has_flag = government_is_administrative
}
influence_level >= 4
has_active_diarchy = no
primary_title = { title_held_years >= 10 }
}
}
succession = {
order_of_succession = inheritance
@ -295,7 +410,13 @@
}
potential = {
NOT = { government_has_flag = government_is_administrative }
trigger_if = {
limit = {
government_has_flag = government_is_administrative
}
is_independent_ruler = yes
}
NOT = { government_has_flag = government_is_nomadic }
}
}
@ -312,6 +433,7 @@
}
}
can_have = {
NOT = { government_has_flag = government_is_nomadic }
can_have_single_heir_dynasty_house_trigger = yes
}
can_pass = {
@ -325,7 +447,7 @@
}
should_start_with = {
historical_succession_access_single_heir_dynasty_house_trigger = yes
NOT = { has_government = administrative_government }
NOT = { government_has_flag = government_is_administrative }
}
succession = {
order_of_succession = inheritance
@ -362,6 +484,7 @@
ai_will_do = {
if = {
limit = {
exists = primary_title
primary_title.tier > tier_county
OR = {
#West Slavic
@ -373,7 +496,10 @@
}
potential = {
NOT = { government_has_flag = government_is_administrative }
NOR = {
government_has_flag = government_is_administrative
government_has_flag = government_is_nomadic
}
}
}
@ -385,12 +511,13 @@
can_change_acclamation_succession_law_trigger = yes
}
can_have = {
NOT = { government_has_flag = government_is_nomadic }
can_have_acclamation_succession_law_trigger = yes
}
should_start_with = {
has_ep3_dlc_trigger = yes
has_title = title:e_britannia
has_government = administrative_government
has_title = title:e_byzantium
government_has_flag = government_is_administrative
}
succession = {
order_of_succession = appointment
@ -398,8 +525,15 @@
}
flag = advanced_succession_law
flag = can_designate_heirs
flag = appointment_type_succession
pass_cost = {
prestige = change_succession_law_prestige_cost
prestige = {
value = change_succession_law_prestige_cost
multiply = {
value = 0.5 # We reduce the cost to ensure that going back to acclamation is easy
desc = "[administrative_government|E]"
}
}
}
ai_will_do = {
if = {
@ -408,14 +542,14 @@
}
}
potential = {
has_government = administrative_government
government_has_flag = government_is_administrative
is_independent_ruler = yes
}
}
appointment_succession_law = {
can_keep = {
has_government = administrative_government
is_independent_ruler = no
can_keep_appointment_succession_law_trigger = yes
# Vassal Contract allows it
custom_description = {
@ -427,17 +561,14 @@
}
}
can_have = {
#can_have_single_heir_succession_law_trigger = yes
has_government = administrative_government
is_independent_ruler = no
NOT = { government_has_flag = government_is_nomadic }
can_have_appointment_succession_law_trigger = yes
}
can_pass = {
can_change_succession_law_trigger = yes
has_government = administrative_government
is_independent_ruler = no
can_change_appointment_succession_law_trigger = yes
}
should_start_with = {
has_government = administrative_government
government_has_flag = government_is_administrative
is_independent_ruler = no
}
succession = {
@ -445,6 +576,7 @@
appointment_type = admin_governor
}
flag = advanced_succession_law
flag = appointment_type_succession
modifier = {
glory_hound_opinion = -10
parochial_opinion = -5
@ -472,7 +604,8 @@
}
potential = {
has_government = administrative_government
government_has_flag = government_is_administrative
is_independent_ruler = no
}
}
@ -641,6 +774,7 @@
dynasty_house_opinion = -10
glory_hound_opinion = 15
zealot_opinion = 10
belligerent_opinion = -10
player_heir_opinion = 10
eligible_child_except_player_heir_opinion = 5
}
@ -695,6 +829,7 @@
modifier = {
glory_hound_opinion = 10
zealot_opinion = 5
belligerent_opinion = -5
player_heir_opinion = 10
eligible_child_except_player_heir_opinion = 5
}
@ -868,6 +1003,29 @@
widget_name = "widget_clan_law"
}
herder_succession_law = {
can_keep = {
can_have_herder_succession_law_trigger = yes
}
can_have = {
can_have_herder_succession_law_trigger = yes
}
should_start_with = {
government_has_flag = government_is_herder
}
can_remove_from_title = {
always = no
}
succession = {
order_of_succession = generate
pool_character_config = pool_herder_succession
}
potential = {
can_have_herder_succession_law_trigger = yes
}
}
}
succession_gender_laws = {
@ -885,7 +1043,7 @@ succession_gender_laws = {
trigger_if = {
limit = {
is_independent_ruler = no
has_government = administrative_government
government_has_flag = government_is_administrative
}
top_liege = { has_realm_law = male_only_law }
}
@ -908,7 +1066,7 @@ succession_gender_laws = {
trigger_if = {
limit = {
is_independent_ruler = no
has_government = administrative_government
government_has_flag = government_is_administrative
}
top_liege = { has_realm_law = male_only_law }
}
@ -945,7 +1103,7 @@ succession_gender_laws = {
trigger_if = {
limit = {
is_independent_ruler = no
has_government = administrative_government
government_has_flag = government_is_administrative
}
top_liege = { has_realm_law = male_preference_law }
}
@ -974,7 +1132,7 @@ succession_gender_laws = {
trigger_if = {
limit = {
is_independent_ruler = no
has_government = administrative_government
government_has_flag = government_is_administrative
}
top_liege = { has_realm_law = male_preference_law }
}
@ -989,7 +1147,29 @@ succession_gender_laws = {
}
has_doctrine = doctrine_gender_male_dominated
}
has_realm_law = male_only_law # For when male_only_law ceases to be a legal option
AND = {
has_realm_law = male_only_law # For when male_only_law ceases to be a legal option
trigger_if = {
limit = {
is_independent_ruler = no
government_has_flag = government_is_administrative
}
NOT = {
top_liege = { has_realm_law = male_only_law }
}
}
trigger_else = {
custom_tooltip = {
text = culture_not_female_only_tt
NOR = {
faith = { has_doctrine = doctrine_gender_male_dominated }
NOT = {
culture = { has_cultural_parameter = female_only_inheritance }
}
}
}
}
}
}
}
}
@ -1019,7 +1199,7 @@ succession_gender_laws = {
trigger_if = {
limit = {
is_independent_ruler = no
has_government = administrative_government
government_has_flag = government_is_administrative
}
top_liege = { has_realm_law = equal_law }
}
@ -1051,7 +1231,7 @@ succession_gender_laws = {
trigger_if = {
limit = {
is_independent_ruler = no
has_government = administrative_government
government_has_flag = government_is_administrative
}
top_liege = { has_realm_law = equal_law }
}
@ -1084,6 +1264,7 @@ succession_gender_laws = {
ai_will_do = {
if = {
limit = {
exists = primary_title
primary_title.tier > tier_county
faith = {
NOT = {
@ -1107,7 +1288,7 @@ succession_gender_laws = {
trigger_if = {
limit = {
is_independent_ruler = no
has_government = administrative_government
government_has_flag = government_is_administrative
}
top_liege = { has_realm_law = female_preference_law }
}
@ -1127,7 +1308,7 @@ succession_gender_laws = {
trigger_if = {
limit = {
is_independent_ruler = no
has_government = administrative_government
government_has_flag = government_is_administrative
}
top_liege = { has_realm_law = female_preference_law }
}
@ -1169,7 +1350,7 @@ succession_gender_laws = {
trigger_if = {
limit = {
is_independent_ruler = no
has_government = administrative_government
government_has_flag = government_is_administrative
}
top_liege = { has_realm_law = female_only_law }
}
@ -1203,7 +1384,7 @@ succession_gender_laws = {
trigger_if = {
limit = {
is_independent_ruler = no
has_government = administrative_government
government_has_flag = government_is_administrative
}
top_liege = { has_realm_law = female_only_law }
}

View file

@ -1,5 +1,5 @@
title_succession_laws = {
#Default Feudal Elective
# Default Feudal Elective
feudal_elective_succession_law = {
can_have = {
government_has_flag = government_is_feudal
@ -30,7 +30,7 @@
}
}
#HRE Succession
# HRE Succession
princely_elective_succession_law = {
can_have = {
OR = {
@ -64,7 +64,7 @@
}
}
#Witenagemot
# Witenagemot
saxon_elective_succession_law = {
can_have = {
OR = {
@ -95,7 +95,7 @@
}
}
#Thing
# Thing
scandinavian_elective_succession_law = {
can_have = {
OR = {
@ -126,7 +126,7 @@
}
}
#Tanistry
# Tanistry
gaelic_elective_succession_law = {
can_have = {
OR = {
@ -163,7 +163,7 @@
}
}
#Jirga elective
# Jirga elective
tribal_elective_succession_law = { #FOR FP3
can_have = {
OR = {
@ -194,7 +194,7 @@
}
}
#Player Heir
# Player Heir
temporal_head_of_faith_succession_law = {
can_title_have = {
is_temporal_head_of_faith_trigger = yes
@ -213,7 +213,7 @@
}
}
#Noble Family Succession
# Noble Family Succession
noble_family_succession_law = {
can_title_have = {
is_noble_family_title = yes
@ -229,4 +229,49 @@
}
flag = can_designate_heirs
}
# Law of the Land Title Succession
# Applied in on_title_gain when a county title's capital province has required heir government types defined and the new holder does not meet the requirement.
law_of_the_land_succession_law = {
can_title_have = {
tier = tier_county
title_province = {
holding_type = {
has_required_heir_governments = yes
NOT = {
any_required_heir_government_type = {
this = root.holder.government_type
}
}
}
}
}
# Never show this in the UI, just apply it through script
should_show_for_title = { always = no }
can_remove_from_title = { always = no }
succession = {
order_of_succession = generate_from_template
}
}
#Confederation elective
confederation_elective_succession_law = {
can_title_have = {
tier >= tier_kingdom
}
should_show_for_title = { always = no }
succession = {
order_of_succession = election
election_type = confederation_elective
}
flag = elective_succession_law
title_allegiance_opinion = 10
revoke_cost = {
prestige = change_title_succession_law_prestige_cost
}
pass_cost = {
prestige = change_title_succession_law_prestige_cost
}
}
}