From e958e64b59832f40193837dd37566b3930b97c80 Mon Sep 17 00:00:00 2001 From: Fishedotjpg Date: Thu, 19 Nov 2026 04:01:56 +0000 Subject: [PATCH] new holdings (to be edited later) --- common/holdings/00_holdings.txt | 202 ++++++++++++++++++++++++++++++++ common/holdings/_holdings.info | 72 ++++++++++++ 2 files changed, 274 insertions(+) create mode 100644 common/holdings/00_holdings.txt create mode 100644 common/holdings/_holdings.info diff --git a/common/holdings/00_holdings.txt b/common/holdings/00_holdings.txt new file mode 100644 index 000000000..6ef748121 --- /dev/null +++ b/common/holdings/00_holdings.txt @@ -0,0 +1,202 @@ +#Ordering here is also ordering in the game. +#Every District that is locked by another district must appear above that district. +#Keep Color Groups Together + +castle_holding = { + primary_district = castle_holding_district + + districts = { + household_district + + #Rural (shows at top when unlocked) + manor_houses_district + religious_community_district + + #Economy + market_district + guild_district + port_district + + #Urban + entertainment_district + patrician_district + temple_district + + #Fortifications/Control + walls_district + border_forts_district + + #Rural / Urban entry (these two unlock all above, so the ones that are unlocked will show above the other unlocking district - you do not want to build both) + villages_district + urban_housing_district + + + #Military + military_district + + #Civic/Capital + bureaucratic_district + } +} + +tribal_holding = { + primary_district = tribal_holding_district + + districts = { + port_district + tribal_economy_prestige_district + tribal_military_district + tribal_wanua_district + } + + parameters = { + no_sprawl + } +} + +city_holding = { + primary_district = city_holding_district + + can_be_inherited = yes + + districts = { + household_district + + #Rural (shows at top when unlocked) + manor_houses_district + religious_community_district + + #Economy + market_district + guild_district + port_district + + #Urban + entertainment_district + patrician_district + temple_district + + #Fortifications/Control + walls_district + border_forts_district + + #Rural / Urban entry (these two unlock all above, so the ones that are unlocked will show above the other unlocking district - you do not want to build both) + villages_district + urban_housing_district + + #Military + military_district + + #Civic/Capital + bureaucratic_district + + } +} + +church_holding = { + primary_district = temple_holding_district + + can_be_inherited = yes + + districts = { + #Rural (shows at top when unlocked) + manor_houses_district + religious_community_district + + #Economy + market_district + guild_district + port_district + + #Urban + entertainment_district + patrician_district + temple_district + + #Fortifications/Control + walls_district + border_forts_district + + #Rural / Urban entry (these two unlock all above, so the ones that are unlocked will show above the other unlocking district - you do not want to build both) + villages_district + urban_housing_district + + #Military + military_district + + #Civic/Capital + bureaucratic_district + } +} + +temple_citadel_holding = { + primary_district = temple_citadel_holding_district + + can_be_inherited = yes + + districts = { + household_district + + #Religious + mandala_district + + #Rural (shows at top when unlocked) + manor_houses_district + religious_community_district + + #Economy + market_district + guild_district + port_district + + #Urban + entertainment_district + patrician_district + temple_district + + #Fortifications/Control + walls_district + border_forts_district + + #Rural / Urban entry (these two unlock all above, so the ones that are unlocked will show above the other unlocking district - you do not want to build both) + villages_district + urban_housing_district + + #Military + military_district + + #Civic/Capital + bureaucratic_district + } +} + +nomad_holding = { + primary_district = nomad_holding_district + counts_toward_domain_limit_if_disabled = no + can_be_inherited = yes + required_heir_government_types = { nomad_government } + + parameters = { + no_sprawl + no_buildings + no_levies + county_fertility + } +} + +herder_holding = { + primary_district = herder_holding_district + counts_toward_domain_limit_if_disabled = no + can_be_inherited = yes + required_heir_government_types = { + nomad_government + herder_government + } + + parameters = { + no_sprawl + no_buildings + no_levies + county_fertility + } +} diff --git a/common/holdings/_holdings.info b/common/holdings/_holdings.info new file mode 100644 index 000000000..42fc65c83 --- /dev/null +++ b/common/holdings/_holdings.info @@ -0,0 +1,72 @@ +== Structure == + +name_of_the_holding = { + + ### brief: primary_district ( key ) + # The primary district for this holding + # (will be built when creating a holding of this type) + # + primary_district = city_district + + ### brief: districts ( keys, optional ) + # All districts buildable in the holding + # (doesn't include the primary district) + # + districts = { + city_market_district + salami_district + ... + } + + ### brief: can_be_inherited ( bool, optional) + # Can a barony with this holding be inherited? + # Default: yes + # + can_be_inherited = yes/no + + ### brief: counts_toward_domain_limit_if_disabled ( bool, optional) + # Does a barony with this holding type count toward a ruler's domain + # limit if the holding is disabled? + # Default: yes + # + counts_toward_domain_limit_if_disabled = yes/no + + ### brief: required_heir_government_types ( array of database keys, optional ) + # Which government types are required to inherit a county title with + # this holding built in the capital province when succession occurs? + # If generating a character for county title of this province during succession, + # the first government type in the list will be used. + # Keys are mapped to the government types database: common/governments + # Default: none + # + required_heir_government_types = { + nomad_government + ... + } + + ### brief: parameters ( keys, optional ) + # An arbitrary list of parameter keys which can be checked with + # the has_holding_parameter trigger + # Default: none + # + parameters = { + no_buildings + no_sprawl + ... + } +} + +== Modifiers == +The following modifiers are automatically generated for all holding types: + +* _build_speed (example: church_holding_build_speed) +* _build_gold_cost +* _build_piety_cost +* _build_prestige_cost +* _holding_build_speed +* _holding_build_gold_cost +* _holding_build_piety_cost +* _holding_build_prestige_cost +These affect building buildings within such a holding or the holdings themselves. + +These work everywhere the more generic version works. E.G., church_holding_build_speed will work everywhere build_speed does.