city work

This commit is contained in:
Magpie490 2025-11-03 23:17:54 +00:00
parent a7ba3a99ad
commit bbb372f931
7 changed files with 3539 additions and 27 deletions

View file

@ -57,9 +57,16 @@ republic_government = {
landless_playable = yes
replace_gold_cost_by_treasury = yes
admin_allows_holding_multiple_primary_tier_titles = yes
sticky_government = yes
use_as_base_on_landed = yes
house_aspirations = yes
use_as_base_on_rank_up = yes
}
main_administrative_tier = county
min_appointment_tier = county
minimum_provincial_maa_tier = county
fallback = 2
vassal_contract_group = republic_vassal
# Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player).
@ -67,8 +74,11 @@ republic_government = {
government_is_special_republic
government_is_special_administrative
government_is_administrative
government_has_influence
government_has_powerful_families
government_is_settled
government_uses_domain_limit
government_has_treasury
government_uses_domicile_but_not_adventurer
government_has_house_blocs
}

View file

@ -539,30 +539,18 @@
acclamation_succession_law = {
can_keep = {
can_keep_acclamation_succession_law_trigger = yes
NOT ={
government_has_flag = government_is_special_republic
}
}
can_pass = {
can_change_acclamation_succession_law_trigger = yes
NOT ={
government_has_flag = government_is_special_republic
}
}
can_have = {
NOT = { government_has_flag = government_is_nomadic }
can_have_acclamation_succession_law_trigger = yes
NOT ={
government_has_flag = government_is_special_republic
}
}
should_start_with = {
has_ep3_dlc_trigger = yes
has_title = title:e_byzantium
government_allows = administrative
NOT ={
government_has_flag = government_is_special_republic
}
}
succession = {
order_of_succession = appointment
@ -595,9 +583,6 @@
appointment_succession_law = {
can_keep = {
can_keep_appointment_succession_law_trigger = yes
NOT ={
government_has_flag = government_is_special_republic
}
# Vassal Contract allows it
custom_description = {
text = succession_laws_must_not_be_forced_partition
@ -610,9 +595,6 @@
can_have = {
NOT = { government_has_flag = government_is_nomadic }
can_have_appointment_succession_law_trigger = yes
NOT ={
government_has_flag = government_is_special_republic
}
}
can_pass = {
can_change_appointment_succession_law_trigger = yes
@ -621,7 +603,6 @@
government_allows = administrative
NOR = {
government_has_flag = government_is_celestial
government_has_flag = government_is_special_republic
government_has_flag = government_is_japan_administrative
government_has_flag = government_is_meritocratic
}

View file

@ -2,10 +2,7 @@
# Default Feudal Elective
feudal_elective_succession_law = {
can_have = {
OR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_special_republic
}
government_has_flag = government_is_feudal
highest_held_title_tier >= tier_county
NOR = { #Cultures have their special flavor.
culture = { has_cultural_parameter = witenagemot_succession_enabled }
@ -20,7 +17,6 @@
can_title_have_law_general_trigger = yes
}
should_start_with = {
government_has_flag = government_is_special_republic
}
succession = {
order_of_succession = election

View file

@ -11,6 +11,29 @@ on_game_start = {
effect = {
##NEOW
if = {
limit = {
government_allows = administrative
is_house_head = yes
trigger_if = {
# This trigger is intentionally different from the similar effecy in on_title_gain up above. We want all direct vassals of the top liege to have a family title if they can
limit = { government_has_flag = government_has_county_tier_noble_families }
highest_held_title_tier >= tier_county
}
trigger_else = { highest_held_title_tier >= tier_duchy }
NOR = {
any_held_title = { is_noble_family_title = yes }
house = {
any_house_member = {
any_held_title = { is_noble_family_title = yes }
}
}
}
}
create_noble_family_effect = { GOVERNMENT_GIVER = this }
domicile ?= { set_up_domicile_estate_effect = yes }
}
#Dynamic Titles
character:benelux_oranje_nassau_weilburg_guillem = {
if = {

File diff suppressed because it is too large Load diff

View file

@ -3218,11 +3218,22 @@ create_noble_family_effect = {
}
}
}
republic_government = { # Steppe Admin has different government
scope:new_noble_family_holder = {
give_noble_family_title = {
name = noble_family_name
tier = county
article = DEFAULT_TITLE_NAME_ARTICLE
government = republic_government
save_scope_as = new_title
}
}
}
fallback = {
scope:new_noble_family_holder = {
give_noble_family_title = {
name = noble_family_name
tier = duchy
tier = county
article = DEFAULT_TITLE_NAME_ARTICLE
government = administrative_government
save_scope_as = new_title
@ -3243,7 +3254,7 @@ create_noble_family_effect = {
top_liege = scope:new_noble_family_holder.top_liege
this != scope:new_noble_family_holder
# China has hundreds of Noble Families, it gets spammy
NOT = { government_allows = merit }
NOT = { OR = { government_allows = merit government_has_flag = government_is_special_administrative } }
}
trigger_event = {
id = ep3_emperor_yearly.2410

View file

@ -367,7 +367,7 @@ is_temporal_head_of_faith_trigger = {
}
can_title_have_law_general_trigger = {
tier >= tier_duchy
tier >= tier_county
is_temporal_head_of_faith_trigger = no
}