fixes big evebts abd on actions plus mroe

This commit is contained in:
Greekman 2026-11-21 19:27:08 +00:00
parent c9d520e5a1
commit bce2aa31a1
207 changed files with 100377 additions and 9296 deletions

View file

@ -2491,3 +2491,290 @@ same_faith_succession_law = {
faith = same_faith
}
}
# CK3 1.21 Silk & Silver: required succession law retained from vanilla.
republican_despot_succession_law = {
law_group_type = succession_order_laws
index = 20
modifier = {
character_capital_popular_opinion_add = -25
}
can_have = {
government_has_flag = government_is_republic
highest_held_title_tier >= tier_county
liege = {
OR = {
this = root
NOT = { government_has_flag = government_is_republic }
}
}
}
can_pass = {
government_has_flag = government_is_republic
capital_county = {
county_control >= county_control_baseline
}
has_realm_law = republic_assembly_authority_legislative
has_realm_law = republic_assembly_term_length_indefinite
has_realm_law = republic_end_term_law_1
has_realm_law = republic_vassal_refusal_2_treason
has_realm_law = republic_title_revocation_2_allowed
has_realm_law = republic_retract_vassal_2_allowed
has_realm_law = republic_banishment_3_unrestricted
has_realm_law = republic_execution_3_unrestricted
}
succession = {
order_of_succession = inheritance
traversal_order = children
rank = oldest
title_division = single_heir
}
flag = advanced_succession_law
flag = can_designate_heirs
modifier = {
player_heir_opinion = 20
close_relative_opinion = 10
republic_government_opinion = -20
}
revoke_cost = {
prestige = change_hre_title_succession_law_prestige_cost
}
pass_cost = {
prestige = gdp_republican_despot_law_prestige_cost
}
requires_approve = { government_has_flag = government_is_republic }
voting_session = { government_has_flag = government_is_republic }
on_pass = {
capital_county = { add_popular_opinion = -25 }
}
ai_approval = {
value = {
value = -100
desc = LAW_BASE_RELUCTANCE_DESC
}
}
ai_will_do = {
value = 0
if = {
limit = {
house ?= {
has_house_aspiration_parameter = republic_signorial
}
}
add = 2
}
if = {
limit = {
OR = {
has_trait = ambitious
has_trait = arrogant
}
}
add = 1
}
# Grace period
multiply = ai_law_grace_period_value
}
potential = {
government_has_flag = government_is_republic
gdp_is_assembly_head_trigger = yes
}
}
# CK3 1.21 Silk & Silver: required succession law retained from vanilla.
merchant_succession_law = {
law_group_type = succession_order_laws
index = 36
can_keep = {
government_has_flag = government_is_merchant
}
can_have = {
government_has_flag = government_is_merchant
}
can_pass = {
government_has_flag = government_is_merchant
}
should_start_with = {
government_has_flag = government_is_merchant
}
should_show_for_title = { # Never show this in the UI, just apply it through script
always = no
}
can_remove_from_title = {
always = no
}
succession = {
order_of_succession = inheritance
traversal_order = children
rank = oldest
title_division = single_heir
exclude_rulers = yes
limit_to_courtiers = yes
}
flag = can_designate_heirs
potential = {
government_has_flag = government_is_merchant
}
}
# CK3 1.21 Silk & Silver: required succession law retained from vanilla.
republican_elective_succession_law = {
law_group_type = succession_order_laws
index = 37
can_keep = {
government_has_flag = government_is_republic
highest_held_title_tier >= tier_county
liege = {
OR = {
this = root
NOT = { government_has_flag = government_is_republic }
}
}
}
can_have = {
government_has_flag = government_is_republic
highest_held_title_tier >= tier_county
}
can_pass = {
government_has_flag = government_is_republic
}
should_start_with = {
government_has_flag = government_is_republic
highest_held_title_tier >= tier_county
}
succession = {
allow_same_successor = yes
order_of_succession = election
election_type = republican_elective
use_term_length = yes
}
modifier = {
short_reign_duration_mult = -2
}
flag = elective_succession_law
flag = succession_uses_term_length
revoke_cost = {
prestige = {
value = change_title_succession_law_prestige_cost
multiply = gdp_republic_revoke_title_law_cost_scale_value
}
gold = {
add = {
value = 1000
desc = BASE
}
value = gdp_republic_revoke_title_law_monetary_cost_value
multiply = gdp_republic_revoke_title_law_cost_scale_value
}
}
pass_cost = {
prestige = change_title_succession_law_prestige_cost
treasury_or_gold = gdp_republic_pass_title_law_monetary_cost_value
}
requires_approve = { government_has_flag = government_is_republic }
voting_session = { government_has_flag = government_is_republic }
ai_approval = {
value = {
value = 100
desc = LAW_BASE_WILLINGNESS_DESC
}
}
ai_will_do = {
value = 10 # TODO_GDP - Add proper AI values and weights
}
potential = {
government_has_flag = government_is_republic
gdp_is_assembly_head_trigger = yes
}
}
# CK3 1.21 Silk & Silver: required succession law retained from vanilla.
republican_appointment_succession_law = {
law_group_type = succession_order_laws
index = 38
can_keep = {
government_has_flag = government_is_republic
highest_held_title_tier >= tier_county
liege = {
this != root
government_has_flag = government_is_republic
}
}
can_have = {
government_has_flag = government_is_republic
highest_held_title_tier >= tier_county
liege = {
this != root
government_has_flag = government_is_republic
}
}
can_pass = {
}
should_start_with = {
government_has_flag = government_is_republic
highest_held_title_tier >= tier_county
liege = {
this != root
government_has_flag = government_is_republic
}
}
succession = {
order_of_succession = appointment
appointment_type = republic_governor
}
flag = advanced_succession_law
flag = appointment_type_succession
modifier = {
}
pass_cost = {
prestige = change_succession_law_prestige_cost
}
revoke_cost = {
prestige = change_succession_law_prestige_cost
}
ai_will_do = {
if = {
limit = {
OR = {
has_realm_law = confederate_partition_succession_law
has_realm_law = partition_succession_law
has_realm_law = high_partition_succession_law
}
}
value = 3
}
}
potential = {
government_has_flag = government_is_republic
gdp_is_assembly_head_trigger = no
}
}