Admin fixed republics reverted

This commit is contained in:
Fishedotjpg 2025-12-10 18:59:37 +00:00
parent 8d62f8817c
commit 4f15a1c485
19 changed files with 39 additions and 80 deletions

View file

@ -51,7 +51,7 @@ tell_mines_01 = {
modifier = { modifier = {
factor = 0 factor = 0
scope:holder = { scope:holder = {
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
} }
NOT = { NOT = {
has_building_or_higher = guild_halls_01 has_building_or_higher = guild_halls_01

View file

@ -344,7 +344,7 @@ tradition_republican_legacy = {
scope:character = { scope:character = {
any_vassal = { any_vassal = {
primary_title.tier > tier_county primary_title.tier > tier_county
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
} }
} }
} }
@ -2280,7 +2280,7 @@ tradition_parochialism = {
scope:character = { scope:character = {
any_vassal = { any_vassal = {
primary_title.tier > tier_county primary_title.tier > tier_county
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
} }
} }
} }

View file

@ -1097,10 +1097,10 @@ GetGovernmentIcon = {
trigger_else = { trigger_else = {
trigger_if = { trigger_if = {
limit = { is_ruler = yes } limit = { is_ruler = yes }
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
} }
trigger_else = { trigger_else = {
liege ?= { government_has_flag = government_is_special_republic } liege ?= { government_has_flag = government_is_republic }
} }
} }
} }

View file

@ -57,7 +57,7 @@ get_hold_court_8010_stake = { # Flavor for government type of worried vassal
type = character type = character
text = { text = {
trigger = { government_has_flag = government_is_special_republic } trigger = { government_has_flag = government_is_republic }
localization_key = hold_court_8010.desc_republic localization_key = hold_court_8010.desc_republic
} }

View file

@ -178,7 +178,7 @@ ResidenceBuilding = { #Castle, Palace, etc.
text = { text = {
trigger = { trigger = {
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
is_landless_adventurer = no is_landless_adventurer = no
} }
localization_key = mansion localization_key = mansion
@ -220,7 +220,7 @@ ResidenceBuilding = { #Castle, Palace, etc.
trigger = { trigger = {
is_landless_adventurer = no is_landless_adventurer = no
NOR = { NOR = {
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
government_has_flag = government_is_theocracy government_has_flag = government_is_theocracy
any_held_title = { is_noble_family_title = yes } any_held_title = { is_noble_family_title = yes }
is_theocratic_lessee = yes is_theocratic_lessee = yes
@ -261,7 +261,7 @@ ResidenceBuildingPlural = { #Castles, Palaces, etc.
text = { text = {
trigger = { trigger = {
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
is_landless_adventurer = no is_landless_adventurer = no
} }
localization_key = mansions localization_key = mansions
@ -302,7 +302,7 @@ ResidenceBuildingPlural = { #Castles, Palaces, etc.
trigger = { trigger = {
is_landless_adventurer = no is_landless_adventurer = no
NOR = { NOR = {
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
government_has_flag = government_is_theocracy government_has_flag = government_is_theocracy
any_held_title = { is_noble_family_title = yes } any_held_title = { is_noble_family_title = yes }
is_theocratic_lessee = yes is_theocratic_lessee = yes

View file

@ -1686,7 +1686,7 @@ HeirMessageInterface = {
trigger = { trigger = {
any_child = { count >= 8 } any_child = { count >= 8 }
NOR = { NOR = {
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
government_has_flag = government_is_theocracy government_has_flag = government_is_theocracy
} }
} }

View file

@ -21,7 +21,7 @@ StatecraftGetVassalType = {
localization_key = statecraft_ongoing.4010.clergy localization_key = statecraft_ongoing.4010.clergy
} }
text = { text = {
trigger = { government_has_flag = government_is_special_republic} trigger = { government_has_flag = government_is_republic}
localization_key = statecraft_ongoing.4010.citizenry localization_key = statecraft_ongoing.4010.citizenry
} }
} }

View file

@ -679,7 +679,7 @@ leave_confederation_decision = {
} }
modifier = { #Is wrong government type modifier = { #Is wrong government type
NOR = { NOR = {
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
government_has_flag = government_is_feudal government_has_flag = government_is_feudal
government_has_flag = government_is_clan government_has_flag = government_is_clan
} }

View file

@ -27,7 +27,7 @@ restore_european_union_decision = {
} }
OR = { OR = {
government_has_flag = government_is_feudal government_has_flag = government_is_feudal
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
government_has_flag = government_is_clan government_has_flag = government_is_clan
has_government = administrative_government has_government = administrative_government
} }

View file

@ -42,70 +42,30 @@ feudal_government = {
} }
republic_government = { republic_government = {
primary_holding = city_holding
valid_holdings = { castle_holding }
required_county_holdings = { city_holding castle_holding church_holding }
government_rules = { government_rules = {
create_cadet_branches = yes
rulers_should_have_dynasty = yes
dynasty_named_realms = no
landless_playable = yes
legitimacy = yes
administrative = yes
use_as_base_on_landed = yes
use_as_base_on_rank_up = yes
inherit_from_dynastic_government = no inherit_from_dynastic_government = no
sticky_government = yes
house_aspirations = yes
noble_families = yes
admin_allows_holding_multiple_primary_tier_titles = yes
treasury = yes
replace_gold_cost_by_treasury = yes
} }
ai = {
domicile_type = estate arrange_marriage = no
main_administrative_tier = county use_goals = no
min_appointment_tier = county use_scripted_guis = no
minimum_provincial_maa_tier = county perform_religious_reformation = no
use_legends = no
fallback = 2 }
primary_holding = city_holding
valid_holdings = { temple_citadel_holding }
required_county_holdings = { city_holding castle_holding church_holding }
vassal_contract_group = republic_vassal vassal_contract_group = republic_vassal
character_modifier = {
# Vassals get Treasury income that is this percentage less than their taxes to their liege
monthly_treasury_from_liege_mult = -0.15
men_at_arms_maintenance = 0.75
men_at_arms_recruitment_cost = 0.75
}
top_liege_character_modifier = {
# 85% of vassal income goes to the treasury
monthly_treasury_from_vassals = 0.85
men_at_arms_maintenance = 0.75
men_at_arms_recruitment_cost = 0.75
}
# Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player). # Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player).
flags = { flags = {
government_is_administrative government_is_republic
# These flags only exist for loc and in-game descriptions
government_has_influence
government_has_treasury
government_has_county_tier_noble_families
government_is_special_administrative
government_is_special_republic2
government_has_title_men_at_arms
government_has_powerful_families
government_is_settled government_is_settled
government_uses_domicile_but_not_adventurer
government_uses_domain_limit government_uses_domain_limit
} }
mechanic_type = administrative
color = hsv{ 0.00 1.00 0.98 } color = hsv{ 0.00 1.00 0.98 }
realm_mask_offset = { 0.0 -0.01 } realm_mask_offset = { 0.0 -0.01 }
realm_mask_scale = { 1 1 } realm_mask_scale = { 1 1 }
@ -437,7 +397,6 @@ administrative_government = {
dynasty_named_realms = no dynasty_named_realms = no
landless_playable = yes landless_playable = yes
legitimacy = yes legitimacy = yes
state_faith = yes
administrative = yes administrative = yes
use_as_base_on_landed = yes use_as_base_on_landed = yes
use_as_base_on_rank_up = yes use_as_base_on_rank_up = yes
@ -454,8 +413,8 @@ administrative_government = {
domicile_type = estate domicile_type = estate
main_administrative_tier = duchy main_administrative_tier = duchy
min_appointment_tier = duchy min_appointment_tier = county
minimum_provincial_maa_tier = duchy minimum_provincial_maa_tier = county
fallback = 3 fallback = 3

View file

@ -4095,14 +4095,14 @@ on_vassal_change = {
liege = root # I.e. root is independent liege = root # I.e. root is independent
government_has_flag = government_is_administrative government_has_flag = government_is_administrative
NOT = { NOT = {
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
} }
} }
# And is not of a high enough rank, change government # And is not of a high enough rank, change government
if = { if = {
limit = { limit = {
NOT = { NOT = {
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
} }
administrative_tier_allows_independence = no administrative_tier_allows_independence = no
} }

View file

@ -2405,7 +2405,7 @@ five_year_everyone_pulse = {
is_married = no is_married = no
is_lowborn = no is_lowborn = no
NOT = { NOT = {
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
} }
can_marry_trigger = yes can_marry_trigger = yes
} }

View file

@ -3508,7 +3508,7 @@ faith_conversion_cost_mult = {
else_if = { else_if = {
limit = { limit = {
scope:character = { scope:character = {
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
} }
} }
multiply = { multiply = {

View file

@ -188,7 +188,7 @@
limit = { limit = {
scope:impress_check = { scope:impress_check = {
OR = { OR = {
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
government_has_flag = government_is_theocracy government_has_flag = government_is_theocracy
} }
} }

View file

@ -459,7 +459,7 @@ valid_junior_emperor_candidate_trigger = {
} }
# Prevent weird governments from taking place. # Prevent weird governments from taking place.
NOR = { NOR = {
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
government_has_flag = government_is_theocracy government_has_flag = government_is_theocracy
government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_adventurer
} }
@ -494,7 +494,7 @@ valid_co_emperor_candidate_trigger = {
has_trait = eunuch has_trait = eunuch
has_trait = incapable has_trait = incapable
# Prevent weird governments from taking place. # Prevent weird governments from taking place.
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
government_has_flag = government_is_theocracy government_has_flag = government_is_theocracy
government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_adventurer
} }
@ -536,7 +536,7 @@ valid_co_monarch_candidate_trigger = {
} }
# Prevent weird governments from taking place. # Prevent weird governments from taking place.
NOR = { NOR = {
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
government_has_flag = government_is_theocracy government_has_flag = government_is_theocracy
government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_adventurer
} }

View file

@ -64,7 +64,7 @@ this_is_martial_society_trigger = {
this_is_diplomatic_society_trigger = { this_is_diplomatic_society_trigger = {
OR = { OR = {
government_has_flag = government_is_feudal government_has_flag = government_is_feudal
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
government_has_flag = government_is_theocracy government_has_flag = government_is_theocracy
} }
OR = { OR = {

View file

@ -599,7 +599,7 @@ laamp_base_1001_valid_neighbouring_county_trigger = {
laamp_base_2001_valid_mayor_trigger = { laamp_base_2001_valid_mayor_trigger = {
highest_held_title_tier = tier_barony highest_held_title_tier = tier_barony
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
NOT = { is_close_or_extended_family_of = scope:employer } NOT = { is_close_or_extended_family_of = scope:employer }
} }

View file

@ -644,7 +644,7 @@ fp2_lyonese_monk_0002_valid_court_trigger = {
# Remove non-playables. # Remove non-playables.
NOR = { NOR = {
government_has_flag = government_is_theocracy government_has_flag = government_is_theocracy
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
} }
# Plus, for various reasons, we don't want Lyon _itself_. # Plus, for various reasons, we don't want Lyon _itself_.
NOT = { NOT = {

View file

@ -414,7 +414,7 @@ ep3_frankokratia_financier_trigger = {
ep3_frankokratia_financier_sub_trigger = { ep3_frankokratia_financier_sub_trigger = {
highest_held_title_tier >= tier_county highest_held_title_tier >= tier_county
government_has_flag = government_is_special_republic government_has_flag = government_is_republic
ep3_frankokratia_financier_trigger = yes ep3_frankokratia_financier_trigger = yes
} }