From 27477e5f3cc80e411c1da72beccfd2cd00393b8d Mon Sep 17 00:00:00 2001 From: trashmasteruni Date: Wed, 18 Nov 2026 15:00:43 +0100 Subject: [PATCH] governments updated --- common/governments/00_government_types.txt | 381 +++++++++++++++--- .../02_theocratic_government_types.txt | 55 ++- common/governments/_governments.info | 188 +++++++-- 3 files changed, 502 insertions(+), 122 deletions(-) diff --git a/common/governments/00_government_types.txt b/common/governments/00_government_types.txt index cdb66c757..f12e7214e 100644 --- a/common/governments/00_government_types.txt +++ b/common/governments/00_government_types.txt @@ -33,10 +33,14 @@ feudal_government = { flags = { government_is_feudal government_is_settled + government_is_settled_non_tribal may_elevate_co_monarch government_uses_crown_authority government_uses_domain_limit government_can_use_tributary_men_at_arms + government_uses_legitimacy + government_uses_royal_court + distribution_trade_routes = yes } mechanic_type = feudal @@ -227,38 +231,95 @@ feudal_government = { color = hsv{ 0.67 1.00 0.78 } realm_mask_offset = { 0.0 0.01 } realm_mask_scale = { 1 1 } + + build_queue_reserve_categories = { + gold + } } republic_government = { primary_holding = city_holding valid_holdings = { castle_holding } required_county_holdings = { city_holding castle_holding church_holding } + government_rules = { + create_cadet_branches = yes inherit_from_dynastic_government = no + rulers_should_have_dynasty = yes + landless_playable = yes + noble_families = yes + legitimacy = no + use_as_base_on_landed = yes + treasury = yes + replace_gold_cost_by_treasury = yes + profit_trade_routes = yes + distribution_trade_routes = no + uses_assembly = yes + trade_post = yes + house_aspirations = yes + government_ignores_rightful_liege_penalties = yes + } + + house_power = { + value = patrician_house_score_value } - ai = { - arrange_marriage = no - use_goals = no - use_scripted_guis = no - perform_religious_reformation = no - use_legends = no + domicile_type = merchant_company + royal_court = none + min_appointment_tier = county + + can_move_realm_capital = { + # Not allowed to move the capital if it's in the de jure capital + capital_county != primary_title.title_capital_county } vassal_contract_group = republic_vassal + + character_modifier = { + men_at_arms_cap = -1 + men_at_arms_limit = -2 + mercenary_hire_limit = 2 + monthly_popular_opinion_change = 0.1 + prestige_standalone_gain_mult = -0.5 + title_creation_cost_mult = 0.5 + + # How much of your "tax income" (domain/vassal) is moved to the treasury (i.e. the conversion ratio) + monthly_treasury_from_vassals = 0.8 + } # Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player). flags = { government_is_republic + government_has_treasury government_is_settled + government_is_settled_non_tribal government_uses_domain_limit gov_uses_non_crown_coa - government_locked_to_elective#coa flag + government_uses_domicile_but_not_adventurer + has_special_house_aspirations + government_has_house_ambitions + government_has_trade_posts + government_has_title_men_at_arms + government_has_assembly + government_has_merchant_company + has_unique_government_perks + government_uses_landless_or_trader_lifestyle_perks + government_uses_salary_budget + government_uses_military_budget } + mechanic_type = republic + is_mechanic_type_default = yes + title_maa_setup = grand_mayor + color = hsv{ 0.00 1.00 0.98 } realm_mask_offset = { 0.0 -0.01 } realm_mask_scale = { 1 1 } + + build_queue_reserve_categories = { + gold + treasury + } } ### Brief: clan_government @@ -333,9 +394,13 @@ clan_government = { government_has_tax_slot may_appoint_viziers government_is_settled + government_is_settled_non_tribal government_uses_crown_authority government_uses_domain_limit - government_can_use_tributary_men_at_arms + government_uses_house_unity + government_uses_tax_collectors + government_uses_legitimacy + government_uses_royal_court } mechanic_type = clan @@ -521,6 +586,10 @@ clan_government = { color = hsv{ 0.39 0.93 0.54 } realm_mask_offset = { 0.0 0.03 } realm_mask_scale = { 1 1 } + + build_queue_reserve_categories = { + gold + } } tribal_government = { @@ -529,7 +598,7 @@ tribal_government = { regiments_prestige_as_gold = yes legitimacy = yes always_use_patronym = yes - affected_by_development = no + affected_by_prosperity = no allow_accolades = yes subject_men_at_arms = yes } @@ -563,6 +632,17 @@ tribal_government = { monthly_prestige = 0.2 ai_war_cooldown = 2 ai_war_chance = -0.05 + + generic_tax_mult = -0.5 + agricultural_tax_mult = -0.5 + mining_tax_mult = -0.5 + religious_tax_mult = -0.5 + urban_tax_mult = -0.5 + artisan_tax_mult = -0.5 + maritime_tax_mult = -0.5 + civic_tax_mult = -0.5 + woodland_tax_mult = -0.5 + commerce_tax_mult = -0.5 } # Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player). @@ -576,6 +656,8 @@ tribal_government = { government_uses_domain_limit government_uses_tribal_authority government_can_use_tributary_men_at_arms + government_uses_legitimacy + government_uses_royal_court } # Grant candidate for nomads and herders who want to settle @@ -593,6 +675,11 @@ tribal_government = { color = hsv{ 0.02 0.75 0.36 } realm_mask_offset = { 0.0 0.0 } realm_mask_scale = { 0.96 0.96 } + + build_queue_reserve_categories = { + gold + prestige + } } # This govtype will be switched back to tribal_government if the TGP DLC is not active. This is done by effect in the game_start.txt on_action file. @@ -602,7 +689,7 @@ wanua_government = { # "Wanua" rulers_should_have_dynasty = yes legitimacy = yes always_use_patronym = yes - affected_by_development = no + affected_by_prosperity = no gain_legitimacy_becoming_tributary = yes regiments_use_barter_goods_as_gold = yes barter = yes @@ -641,6 +728,19 @@ wanua_government = { # "Wanua" vassal_limit_max = 2 ai_war_cooldown = 2 ai_war_chance = -0.55 + + trade_route_length_mult = 0.15 + + generic_tax_mult = -0.5 + agricultural_tax_mult = -0.5 + mining_tax_mult = -0.5 + religious_tax_mult = -0.5 + urban_tax_mult = -0.5 + artisan_tax_mult = -0.5 + maritime_tax_mult = -0.5 + civic_tax_mult = -0.5 + woodland_tax_mult = -0.5 + commerce_tax_mult = -0.5 } can_get_government = { @@ -658,11 +758,18 @@ wanua_government = { # "Wanua" may_elevate_co_monarch government_uses_tribal_authority government_can_use_tributary_men_at_arms + government_uses_legitimacy + government_uses_royal_court } color = rgb{ 85 207 198 } realm_mask_offset = { 0.0 0.09 } realm_mask_scale = { 0.9 0.9 } + + build_queue_reserve_categories = { + gold + prestige + } } ### Brief: mercenary_government @@ -675,6 +782,7 @@ mercenary_government = { court_generate_spouses = no council = no inherit_from_dynastic_government = no + distribution_trade_routes = no allow_accolades = no } @@ -690,7 +798,6 @@ mercenary_government = { # Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player). flags = { - government_uses_crown_authority cannot_be_vassal_or_liege government_is_mercenary gov_uses_non_crown_coa @@ -702,6 +809,10 @@ mercenary_government = { color = hsv{ 0.00 0.00 0.66 } realm_mask_offset = { 0.0 -0.01 } realm_mask_scale = { 1 1 } + + build_queue_reserve_categories = { + gold + } } ### Brief: military_holy_order_government @@ -714,6 +825,7 @@ holy_order_government = { council = no court_generate_spouses = no inherit_from_dynastic_government = no + distribution_trade_routes = no allow_accolades = no } @@ -744,6 +856,10 @@ holy_order_government = { color = hsv{ 0.00 0.00 0.66 } realm_mask_offset = { 0.0 -0.01 } realm_mask_scale = { 1 1 } + + build_queue_reserve_categories = { + gold + } } monastic_holy_order_government = { @@ -751,6 +867,7 @@ monastic_holy_order_government = { council = no court_generate_spouses = no inherit_from_dynastic_government = no + distribution_trade_routes = no allow_accolades = no } @@ -794,8 +911,13 @@ monastic_holy_order_government = { color = hsv{ 0.00 0.00 0.66 } realm_mask_offset = { 0.0 -0.01 } realm_mask_scale = { 1 1 } + + build_queue_reserve_categories = { + gold + } } + administrative_government = { government_rules = { create_cadet_branches = yes @@ -803,6 +925,7 @@ administrative_government = { dynasty_named_realms = no landless_playable = yes legitimacy = yes + state_faith = yes use_as_base_on_landed = yes use_as_base_on_rank_up = yes allow_as_base_for_baronies = no @@ -815,7 +938,10 @@ administrative_government = { treasury_vassal_development = yes replace_gold_cost_by_treasury = yes allow_accolades = yes - subject_men_at_arms = yes + } + + house_power = { + value = administrative_house_power_score } royal_court = any @@ -825,6 +951,7 @@ administrative_government = { main_administrative_tier = duchy min_appointment_tier = duchy minimum_provincial_maa_tier = duchy + title_maa_setup = main_tier_and_top_liege fallback = 3 @@ -834,47 +961,35 @@ administrative_government = { vassal_contract_group = admin_vassal - can_get_government = { - #The LAAMP Construct Holding decision - trigger_if = { - limit = { - has_variable = { - name = city_construction_is_temple_citadel - name = city_construction_is_castle - } - } - always = no - } - } - character_modifier = { - levy_size = -0.1 - feudal_government_tax_contribution_mult = -0.25 - feudal_government_levy_contribution_mult = -0.25 - clan_government_tax_contribution_mult = -0.25 - clan_government_levy_contribution_mult = -0.25 - men_at_arms_cap = -1 - men_at_arms_limit = -1 + build_gold_cost = 0.5 + district_build_gold_cost = 0.5 + holding_build_gold_cost = 0.5 + levy_size = -0.5 + feudal_government_tax_contribution_mult = -0.5 + feudal_government_levy_contribution_mult = -0.5 + clan_government_tax_contribution_mult = -0.5 + clan_government_levy_contribution_mult = -0.5 + men_at_arms_cap = -2 + men_at_arms_limit = -2 knight_limit = -5 vassal_limit = 100 accolades = -1 - title_creation_cost_mult = 1.5 - mercenary_hire_cost_mult = 2.5 - men_at_arms_maintenance = 1.25 + title_creation_cost_mult = -0.5 + mercenary_hire_cost_mult = 2 + men_at_arms_maintenance = 0.5 # Vassals get Treasury income that is this percentage less than their taxes to their liege - monthly_treasury_from_liege_mult = -0.2 ai_war_cooldown = 2 ai_war_chance = -0.3 - short_reign_duration_mult = 2.5 - long_reign_bonus_mult = 1.5 + monthly_treasury_from_liege_mult = -0.15 } top_liege_character_modifier = { # 85% of vassal income goes to the treasury - monthly_treasury_from_vassals = 0.75 + monthly_treasury_from_vassals = 0.85 men_at_arms_maintenance = 1.5 - men_at_arms_recruitment_cost = 0.9 + men_at_arms_recruitment_cost = 1 } # Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player). @@ -884,14 +999,18 @@ administrative_government = { government_has_treasury government_has_powerful_families government_uses_administrative_house_aspirations - # These flags only exist for loc and in-game descriptions + government_has_provincial_law government_has_estate government_has_title_men_at_arms government_is_settled + government_is_settled_non_tribal government_uses_domicile_but_not_adventurer government_uses_domain_limit government_uses_admin_province_obligations + government_uses_governor_efficiency government_uses_imperial_bureaucracy + government_uses_legitimacy + government_uses_royal_court government_uses_salary_budget government_uses_military_budget government_can_use_tributary_men_at_arms @@ -909,6 +1028,11 @@ administrative_government = { color = { 72 6 92 } realm_mask_offset = { 0.0 0.01 } realm_mask_scale = { 1 1 } + + build_queue_reserve_categories = { + gold + treasury + } } ### Brief: landless_adventurer_government @@ -919,7 +1043,6 @@ administrative_government = { landless_adventurer_government = { government_rules = { court_generate_spouses = no - council = no create_cadet_branches = yes rulers_should_have_dynasty = yes landless_playable = yes @@ -968,6 +1091,8 @@ landless_adventurer_government = { flags = { cannot_be_vassal_or_liege government_is_landless_adventurer + government_uses_landless_lifestyle_perks + government_uses_landless_or_trader_lifestyle_perks government_has_camp has_unique_government_perks gov_uses_non_crown_coa @@ -1070,7 +1195,7 @@ nomad_government = { sticky_government = yes subject_men_at_arms = yes no_capital_movement_cooldown = yes - affected_by_development = no + affected_by_prosperity = no buildings = no allow_accolades = yes } @@ -1114,7 +1239,7 @@ nomad_government = { ai_war_chance = 2 men_at_arms_maintenance = -0.5 supply_duration = 1 - county_opinion_add = 25 + popular_opinion_add = 100 title_creation_cost_mult = -0.5 } @@ -1136,6 +1261,8 @@ nomad_government = { government_uses_domicile_but_not_adventurer government_uses_nomadic_authority government_can_use_tributary_men_at_arms + government_uses_legitimacy + government_uses_royal_court } ai = { @@ -1152,6 +1279,11 @@ nomad_government = { color = { 255 127 80 } realm_mask_offset = { 0.0 0.12 } realm_mask_scale = { 0.8 0.8 } + + build_queue_reserve_categories = { + gold + prestige + } } ### Brief: herder_government @@ -1173,11 +1305,13 @@ herder_government = { redirects_wars_to_overlord = yes buildings = no allow_accolades = no + distribution_trade_routes = no } character_modifier = { knight_limit = -100 - county_opinion_add = 100 + accolades = -100 + popular_opinion_add = 100 monthly_income_mult = -10 } @@ -1200,7 +1334,6 @@ herder_government = { # Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player). flags = { government_is_herder - government_is_true_herder government_has_herd government_is_in_steppe ignores_faith_marriage_penalties @@ -1214,6 +1347,10 @@ herder_government = { color = { 235 213 52 } realm_mask_offset = { 0.0 0.12 } realm_mask_scale = { 0.8 0.8 } + + build_queue_reserve_categories = { + gold + } } celestial_government = { @@ -1243,6 +1380,10 @@ celestial_government = { subject_men_at_arms = yes } + house_power = { + value = administrative_house_power_score + } + royal_court = any blocked_subject_courts = { meritocratic_government celestial_government japan_administrative_government administrative_government steppe_admin_government } @@ -1251,7 +1392,7 @@ celestial_government = { main_administrative_tier = duchy min_appointment_tier = county minimum_provincial_maa_tier = county - administrative_title_maa_setup = vassals_and_top_liege + title_maa_setup = vassals_and_top_liege fallback = 3 @@ -1262,6 +1403,9 @@ celestial_government = { vassal_contract_group = celestial_vassal character_modifier = { + build_gold_cost = 0.5 + district_build_gold_cost = 0.5 + holding_build_gold_cost = 0.5 levy_size = -0.5 feudal_government_tax_contribution_mult = -0.5 feudal_government_levy_contribution_mult = -0.5 @@ -1314,14 +1458,18 @@ celestial_government = { government_has_east_asian_estate government_has_title_men_at_arms government_has_powerful_families - government_has_county_tier_noble_families + government_has_provincial_law government_is_settled + government_is_settled_non_tribal government_uses_domicile_but_not_adventurer government_uses_domain_limit government_uses_admin_province_obligations + government_uses_governor_efficiency government_uses_merit_family_aspirations has_special_house_aspirations government_uses_celestial_bureaucracy + government_uses_legitimacy + government_uses_royal_court government_uses_salary_budget government_uses_military_budget government_uses_ministry_budget @@ -1346,6 +1494,11 @@ celestial_government = { color = { 250 230 10 } realm_mask_offset = { 0.0 0.1 } realm_mask_scale = { 0.94 0.94 } + + build_queue_reserve_categories = { + gold + treasury + } } mandala_government = { @@ -1383,16 +1536,6 @@ mandala_government = { liege ?= { has_government = mandala_government } is_independent_ruler = yes } - #The LAAMP Construct Holding decision - trigger_if = { - limit = { - has_variable = { - name = city_construction_is_temple_citadel - name = city_construction_is_castle - } - } - capital_province = { has_holding_type = temple_citadel_holding } - } } vassal_contract_group = mandala_vassal @@ -1507,9 +1650,15 @@ mandala_government = { subjects_gain_piety_based_on_overlord_piety_level has_special_house_aspirations government_is_settled + government_is_settled_non_tribal has_unique_government_perks no_powerful_vassals government_can_use_tributary_men_at_arms + + government_gets_theocratic_building_modifiers + government_extra_temple_district_building_slot + government_uses_legitimacy + government_uses_royal_court } ai = { @@ -1528,6 +1677,10 @@ mandala_government = { color = { 42 56 100 } realm_mask_offset = { 0.0 0.05 } realm_mask_scale = { 0.92 0.92 } + + build_queue_reserve_categories = { + gold + } } steppe_admin_government = { @@ -1555,6 +1708,11 @@ steppe_admin_government = { deny_powerful_vassal = yes disable_regnal_numbers = yes allow_accolades = yes + subject_men_at_arms = yes + } + + house_power = { + value = administrative_house_power_score } royal_court = any @@ -1565,6 +1723,7 @@ steppe_admin_government = { main_administrative_tier = duchy min_appointment_tier = county minimum_provincial_maa_tier = duchy + title_maa_setup = main_tier_and_top_liege primary_holding = castle_holding valid_holdings = { city_holding temple_citadel_holding tribal_holding } @@ -1575,6 +1734,9 @@ steppe_admin_government = { max_dread = 150 character_modifier = { + build_gold_cost = 0.5 + district_build_gold_cost = 0.5 + holding_build_gold_cost = 0.5 levy_size = -0.5 feudal_government_tax_contribution_mult = -0.5 feudal_government_levy_contribution_mult = -0.5 @@ -1632,19 +1794,22 @@ steppe_admin_government = { government_has_treasury government_has_title_men_at_arms government_has_powerful_families - government_has_county_tier_noble_families government_has_obedience government_has_east_asian_estate ignores_faith_marriage_penalties land_raiding_movement_speed_from_government can_raze_holdings government_is_settled + government_is_settled_non_tribal government_uses_domicile_but_not_adventurer government_uses_domain_limit government_uses_admin_province_obligations + government_uses_governor_efficiency government_uses_merit_family_aspirations has_special_house_aspirations government_uses_meritocratic_bureaucracy + government_uses_legitimacy + government_uses_royal_court government_uses_salary_budget government_uses_military_budget } @@ -1666,6 +1831,11 @@ steppe_admin_government = { color = { 255 110 40 } realm_mask_offset = { 0.0 0.2 } realm_mask_scale = { 0.78 0.78 } + + build_queue_reserve_categories = { + gold + treasury + } } meritocratic_government = { # e.g. Korea, Dai Viet @@ -1693,6 +1863,10 @@ meritocratic_government = { # e.g. Korea, Dai Viet subject_men_at_arms = yes } + house_power = { + value = administrative_house_power_score + } + royal_court = any blocked_subject_courts = { meritocratic_government celestial_government japan_administrative_government administrative_government steppe_admin_government } mechanic_type = administrative @@ -1700,6 +1874,7 @@ meritocratic_government = { # e.g. Korea, Dai Viet main_administrative_tier = duchy min_appointment_tier = county minimum_provincial_maa_tier = duchy + title_maa_setup = main_tier_and_top_liege primary_holding = castle_holding valid_holdings = { city_holding temple_citadel_holding tribal_holding } @@ -1708,6 +1883,9 @@ meritocratic_government = { # e.g. Korea, Dai Viet vassal_contract_group = meritocratic_vassal character_modifier = { + build_gold_cost = 0.5 + district_build_gold_cost = 0.5 + holding_build_gold_cost = 0.5 levy_size = -0.5 feudal_government_tax_contribution_mult = -0.5 feudal_government_levy_contribution_mult = -0.5 @@ -1757,21 +1935,23 @@ meritocratic_government = { # e.g. Korea, Dai Viet # Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player). flags = { government_is_meritocratic - # These flags only exist for loc and in-game descriptions government_has_merit government_has_influence government_has_treasury government_has_title_men_at_arms government_has_powerful_families - government_has_county_tier_noble_families government_has_east_asian_estate government_is_settled + government_is_settled_non_tribal government_uses_domicile_but_not_adventurer government_uses_domain_limit government_uses_admin_province_obligations + government_uses_governor_efficiency government_uses_merit_family_aspirations has_special_house_aspirations government_uses_meritocratic_bureaucracy + government_uses_legitimacy + government_uses_royal_court government_uses_salary_budget government_uses_military_budget government_can_use_tributary_men_at_arms @@ -1790,4 +1970,83 @@ meritocratic_government = { # e.g. Korea, Dai Viet color = { 250 100 0 } realm_mask_offset = { 0.0 0.12 } realm_mask_scale = { 0.92 0.92 } + + build_queue_reserve_categories = { + gold + treasury + } +} + +### Brief: merchant_government +# Default merchant government +# +# This is referenced in code +# +merchant_government = { + government_rules = { + court_generate_spouses = no + create_cadet_branches = yes + rulers_should_have_dynasty = yes + landless_playable = yes + allow_out_of_realm_inheritance = yes + use_as_base_on_landed = yes + can_have_vassal_suzerain = yes + profit_trade_routes = yes + distribution_trade_routes = no + can_sponsor_construction = yes + disable_regnal_numbers = yes + } + + domicile_type = merchant_company + court_generate_commanders = no + house_unity = merchant_house_unity + mechanic_type = merchant + is_mechanic_type_default = yes + + can_get_government = { + any_held_title = { + title_tier = county + is_landless_type_title = yes + } + } + + valid_holdings = { tribal_holding church_holding castle_holding city_holding temple_citadel_holding } + + character_modifier = { + men_at_arms_cap = -99 + men_at_arms_limit = -99 + character_travel_speed = 20 + siege_weapon_siege_value_mult = -0.5 + mercenary_hire_cost_mult = 1 + short_reign_duration_mult = -5 + long_reign_bonus_mult = -1 + domicile_travel_speed = -0.75 + prestige_standalone_gain_mult = -0.5 + } + + ai = { + use_goals = no + use_scripted_guis = no + perform_religious_reformation = no + use_legends = no + } + + # Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player). + flags = { + cannot_be_vassal_or_liege + government_is_merchant + government_uses_landless_lifestyle_perks + government_uses_landless_or_trader_lifestyle_perks + has_unique_government_perks + government_uses_company_sentiment + government_has_merchant_company + } + + color = hsv{ 0.00 0.00 0.66 } + realm_mask_offset = { 0.0 0.05 } + realm_mask_scale = { 1 1 } + + build_queue_reserve_categories = { + gold + } } diff --git a/common/governments/02_theocratic_government_types.txt b/common/governments/02_theocratic_government_types.txt index 0887142ba..d42b757ca 100644 --- a/common/governments/02_theocratic_government_types.txt +++ b/common/governments/02_theocratic_government_types.txt @@ -6,6 +6,7 @@ theocracy_government = { government_rules = { inherit_from_dynastic_government = no + distribution_trade_routes = yes disable_regnal_numbers = yes sticky_government = yes subject_men_at_arms = yes @@ -22,21 +23,7 @@ theocracy_government = { royal_court = landed can_get_government = { - exists = faith - trigger_if = { - limit = { exists = faith } - theocratic_lay_clergy_trigger = yes - } - #The LAAMP Construct Holding decision - trigger_if = { - limit = { - has_variable = { - name = city_construction_is_temple_citadel - name = city_construction_is_castle - } - } - always = no - } + theocratic_lay_clergy_trigger = yes } vassal_contract_group = theocracy_vassal @@ -45,9 +32,13 @@ theocracy_government = { flags = { government_is_theocracy government_is_settled + government_is_settled_non_tribal government_uses_church_authority government_uses_domain_limit government_can_use_tributary_men_at_arms + + government_gets_theocratic_building_modifiers + government_extra_temple_district_building_slot } mechanic_type = theocracy @@ -240,6 +231,10 @@ theocracy_government = { color = hsv{ 0.00 0.00 0.78 } realm_mask_offset = { 0.0 0.02 } realm_mask_scale = { 0.95 0.95 } + + build_queue_reserve_categories = { + gold + } } ### Brief: ecclesiastical_government @@ -248,6 +243,7 @@ theocracy_government = { ecclesiastical_government = { government_rules = { inherit_from_dynastic_government = no + distribution_trade_routes = yes treasury = yes replace_gold_cost_by_treasury = yes add_religious_subordinates_for_treasury = yes @@ -270,21 +266,7 @@ ecclesiastical_government = { } can_get_government = { - exists = faith - trigger_if = { - limit = { exists = faith } - theocratic_lay_clergy_trigger = yes - } - #The LAAMP Construct Holding decision - trigger_if = { - limit = { - has_variable = { - name = city_construction_is_temple_citadel - name = city_construction_is_castle - } - } - always = no - } + theocratic_lay_clergy_trigger = yes } vassal_contract_group = theocracy_vassal @@ -305,10 +287,14 @@ ecclesiastical_government = { government_is_ecclesiastical government_is_theocracy government_is_settled - government_uses_domicile_but_not_adventurer + government_is_settled_non_tribal government_uses_church_authority government_uses_domain_limit + government_uses_domicile_but_not_adventurer government_has_treasury + + government_gets_theocratic_building_modifiers + government_extra_temple_district_building_slot government_uses_cardinal_budget gov_uses_non_crown_coa government_can_use_tributary_men_at_arms @@ -328,7 +314,7 @@ ecclesiastical_government = { scope:title = { tier = tier_county } NOT = { has_variable = grant_vassal_government_cooldown } ai_zeal >= medium_positive_ai_value - rite ?= { rite_has_doctrine = doctrine_theocracy_temporal } + rite = { rite_has_doctrine = doctrine_theocracy_temporal } realm_theocratic_county_share_ai_below_cap_trigger = yes } add = 10 @@ -501,4 +487,9 @@ ecclesiastical_government = { color = hsv{ 0.00 0.00 0.38 } realm_mask_offset = { 0.0 0.02 } realm_mask_scale = { 0.95 0.95 } + + build_queue_reserve_categories = { + gold + treasury + } } diff --git a/common/governments/_governments.info b/common/governments/_governments.info index fdc189dc8..e969327cc 100644 --- a/common/governments/_governments.info +++ b/common/governments/_governments.info @@ -6,10 +6,6 @@ # The example value is the default assigned value for the flag. # All of these are referenced in code. # - # Note: these are also supported outside of this data structure for - # the duration of Roads to Power, but this functionality is - # deprecated. - # government_rules = { ### brief: create_cadet_branches ( bool ) @@ -46,7 +42,7 @@ ### brief: legitimacy ( bool ) # Rulers can have legitimacy if there's one valid for them # - legitimacy = yes + legitimacy = no ### brief: admin_allows_holding_multiple_primary_tier_titles ( bool ) # Allows administrative rulers to hold multiple primary tier titles @@ -209,6 +205,8 @@ ### brief: noble_families ( bool ) # Default is no. + # Noble families use house power to determine their standing in the realm + # See house_power below # noble_families = no @@ -243,11 +241,11 @@ # always_use_patronym = no - ### brief: affected_by_development ( bool ) + ### brief: affected_by_prosperity ( bool ) # Are the counties with owners with this government type affected - # by development. + # by prosperity. # - affected_by_development = yes + affected_by_prosperity = yes ### brief: noble_families (bool) # Does this government type allow the existence of Noble Family Titles? @@ -306,6 +304,91 @@ # This government will consider the religious subordinates to be in the distribution group # for Treasury budgets. add_religious_subordinates_for_treasury = no + + ### Brief: uses_assembly (bool) + # Should this government use assemblies for passing laws and approving decisions? + # Expects assembly members are set from scripted major_assembly_member and/or minor_assembly_member functions + # Default is no. + uses_assembly = no + + ### Brief: trade_post (bool) + # + # To be able to build and keep trade posts a ruler must both have a government type that supports it, + # and hold at least one title with a title type that also supports trade posts. + # + # Default: no + # + trade_post = no + + ### Brief: profit_trade_routes (bool) + # + # Can characters of this government create Profit Routes? + # A Profit Route buys Trade Goods at a Trade Market where they are in surplus and + # sells them where sell prices are high, earning gold from the difference. + # + # Requires a primary title of at least County tier. + # + # Default: no + # + profit_trade_routes = no + + ### Brief: distribution_trade_routes (bool) + # + # Can characters of this government create Distribution Routes? + # A Distribution Route connects two Trade Markets in a ruler's subrealm in order to meet + # the Needs of Buildings in those Markets. They neither earn gold nor depend on + # Trade Competitiveness/Capacity. + # + # This is only a mode permission and never grants Trade access by itself: the + # ruler must additionally hold land on the map (or belong to a government with + # profit_trade_routes = yes) and hold a primary title of at least + # MIN_DISTRIBUTION_ROUTE_TIER (see common/defines/00_defines.txt). + # + # Default: yes + # + distribution_trade_routes = yes + + ### brief: gain_legitimacy_becoming_tributary ( bool ) + # Rulers of this government gain monthly legitimacy based on their + # suzerain's radiance while they are a tributary of a suzerain that uses radiance. + # Default is no + # + gain_legitimacy_becoming_tributary = no + + ### brief: regiments_use_barter_goods_as_gold ( bool ) + # Is this government type using barter goods instead of gold to buy and + # reinforce MaA Regiments? + # Default is no + # + regiments_use_barter_goods_as_gold = no + + ### brief: dynasty_named_non_independent_landed_rulers ( bool ) + # Allows non-independent house heads of this government to use their dynasty + # name as the name of their primary title (any landed tier, except noble family titles). + # Only used if dynasty_named_realms is not enabled. + # Default is no + # + dynasty_named_non_independent_landed_rulers = no + + ### brief: government_ignores_rightful_liege_penalties ( bool ) + # Vassals of a liege with this government always count the liege as their + # rightful (de jure) liege. + # Default is no + # + government_ignores_rightful_liege_penalties = no + + ### brief: allow_as_base_for_baronies ( bool ) + # Can this government be used as the base government for characters becoming + # rulers through a barony (see use_as_base_on_landed)? + # Default is yes + # + allow_as_base_for_baronies = yes + + ### brief: allow_accolades ( bool ) + # Can rulers of this government use accolades? + # Default is no + # + allow_accolades = no } ### mechanic_type ( government type ) @@ -411,7 +494,7 @@ ### brief: primary_heritages ( array of database keys ) # A list of heritages for which this government type is valid and - # preferred. If both primary_cultures and primary_heritages are + # preferred. If primary_heritages is # empty, there are no cultural restrictions or preferences. Keys # are mapped to all entries within common/culture/pillars with the # heritage type. @@ -437,6 +520,12 @@ # supply_limit_mult_for_others = 0 + ### brief: max_dread ( fixed point ) + # Maximum dread for rulers of this government type. + # Default: NCharacter::MAX_DREAD define + # + max_dread = 100 + ### brief: prestige_opinion_override ( array of int ) # Override for the opinion bonus that prestige levels gain, number # of values should match the define in NCharacterOpinion:: @@ -461,41 +550,52 @@ blocked_subject_courts = { government_type_key ... } ### brief: main_administrative_tier ( enum ) + # # Title tier that enables most administrative mechanics # Such as title troops, map modes etc # main_administrative_tier = county / duchy / kingdom ### brief: min_appointment_tier ( enum ) + # # Title tier that enables appointment succession mechanics # min_appointment_tier = county / duchy / kingdom ### brief: minimum_provincial_maa_tier ( enum ) + # # Lowest title tier allowed to have title troops. - # This should only be set for administrative government types. - # Will default to 'duchy' if not set. + # This should only be set for government types with provincial/title men at arms. + # + # Default: (not set) # minimum_provincial_maa_tier = county / duchy / kingdom ### brief: title_maa_setup ( enum ) + # + # Determines what (if any) titles in a realm should have title (aka. provincial) men at arms. + # # Which titles within the Administrative government type can create title troops - # main_administrative_tier_and_top_liege - (default) Main administrative tier (see above) titles, and the top liege primary title + # main_tier_and_top_liege - Main tier (see above) titles, and the top liege primary title # vassals_and_top_liege - Titles that are the main administrative tier or above, and the top liege primary title # top_vassals_and_top_liege - Titles that are directly under the top liege, and the top liege primary title - title_maa_setup = main_administrative_tier_and_top_liege - - ### brief: vassal_contract ( array of database keys ) - # Vassal obligations, how much does the vassal give to their liege. - # The vassal's government type determines which contract type is - # used.Note that the values can be changed with the - # vassal_tax_contribution_add and vassal_levy_contribution_add - # modifiers. Key are mapped to the vassal contracts database: - # common/vassal_contracts/ + # grand_mayor - Title that is the primary title of the highest tier ruler with the same government mechanic # - vassal_contract = { - # List of vassal contract types - } + # No default. + # Needs to be set for all 'administrative' mechanic government types. + # + title_maa_setup = + + ### brief: vassal_contract_group ( database key ) + # + # Vassal obligations, how much does the vassal give to their liege. + # The vassal's government type determines which contract group is + # used. Note that the values can be changed with the + # vassal_tax_contribution_add and vassal_levy_contribution_add + # modifiers. Key is mapped to the subject contract groups database: + # common/subject_contracts/groups/ + # + vassal_contract_group = subject_contract_group_key ### brief: house_unity ( database key, optional ) # Database key pointing to a configuration of house unity this @@ -512,6 +612,12 @@ # domicile_type = domicile type key + ### brief: tax_slot_type ( database key, optional ) + # Database key pointing to the tax slot type this government uses + # if applicable. Key is mapped to common/tax_slots/types + # + tax_slot_type = tax_slot_type_key + ### brief: opinion_of_liege ( scripted value, optional ) # An opinion bonus or malus that the vassal may have related to their liege, specific to this vassal's government type. @@ -585,6 +691,13 @@ # compatible_government_type_succession = { government_type_key ... } + ### brief: house_power ( value ) + # House power is used in code to enable bonuses from powerful houses + # If a government uses noble_families, it should also have a corresponding house power value + # root - house under evaluation + # + house_power = value + ### brief: ai # Overrides for some AI functionaltiy when held by an AI with this # government type. Note that some features might be disabled for @@ -626,11 +739,6 @@ ### brief: perform_religious_reformation ( flag ) # perform_religious_reformation = yes - - ### brief: use_great_projects (flag) - # Will evaluate founding new Great Projects and contributing to existing ones - # - use_great_projects = no } ### brief: character_modifier ( modifiers ) @@ -649,6 +757,18 @@ # color = { 100 100 100 } + ### brief: realm_mask_offset ( vector 2 ) + # Offset of the realm mask texture used for this government's coat of arms + # Default: { 0 0 } + # + realm_mask_offset = { 0.0 0.0 } + + ### brief: realm_mask_scale ( vector 2 ) + # Scale of the realm mask texture used for this government's coat of arms + # Default: { 1 1 } + # + realm_mask_scale = { 1.0 1.0 } + ############## ### AI ############## @@ -716,6 +836,16 @@ some_flag some_other_flag } + + ### brief: build_queue_reserve_categories ( parameter list ) + # List of all the types of currency that will show up as reservable in the build queue interface + # possible types are: + # gold, prestige, piety, renown, influence, herd, treasury, merit, barter_goods + # + build_queue_reserve_categories = { + gold + piety + } } Allowed Modifiers