governments updated

This commit is contained in:
trashmasteruni 2026-11-18 15:00:43 +01:00
parent 014cb5d5a3
commit 27477e5f3c
3 changed files with 502 additions and 122 deletions

View file

@ -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 = <setup type>
### 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