kingchris20
Wisdom Seeker
I have 2 things. A custom district that replaces the harbor and a building for that district apart from the 3 normal ones for the harbor.
My district can build the lighthouse, shipyard, and seaport just fine. They are buildable once unlocked and purchasable, as expected.
However the additional building; once it is unlocked, it does not appear under the district as buildable. I can purchase it and it works fine once it is purchased, however I would like to make it buildable.
One thing I tried just to see if it could be build, I changed the prereq district to the city center instead of my district, and sure enough, I could build it once it was researched. But I would really like to have it as part of my district and have the option to build it rather than just buy it.
What can I do to make it buildable?
The coding:
My district can build the lighthouse, shipyard, and seaport just fine. They are buildable once unlocked and purchasable, as expected.
However the additional building; once it is unlocked, it does not appear under the district as buildable. I can purchase it and it works fine once it is purchased, however I would like to make it buildable.
One thing I tried just to see if it could be build, I changed the prereq district to the city center instead of my district, and sure enough, I could build it once it was researched. But I would really like to have it as part of my district and have the option to build it rather than just buy it.
What can I do to make it buildable?
The coding:
Code:
<Types>
<Row Type="KC20_DISTRICT_PIRATE_STRONGHOLD" Kind="KIND_DISTRICT"/>
<Row Type="BUILDING_KC20_PIRATE_MUSEUM" Kind="KIND_BUILDING"/>
</Types>
<Buildings>
<Row BuildingType="BUILDING_KC20_PIRATE_MUSEUM" Name="LOC_BUILDING_KC20_PIRATE_MUSEUM_NAME"
Description="LOC_BUILDING_KC20_PIRATE_MUSEUM_DESCRIPTION" PrereqCivic="CIVIC_CULTURAL_HERITAGE"
PrereqDistrict="KC20_DISTRICT_PIRATE_STRONGHOLD" PurchaseYield="YIELD_GOLD" Cost="600"
AdvisorType="ADVISOR_CULTURE" Maintenance="3" CitizenSlots="1"/>
</Buildings>
<Building_YieldChanges>
<Row BuildingType="BUILDING_KC20_PIRATE_MUSEUM" YieldType="YIELD_CULTURE" YieldChange="2"/>
</Building_YieldChanges>
<Building_GreatPersonPoints>
<Row BuildingType="BUILDING_KC20_PIRATE_MUSEUM" GreatPersonClassType="GREAT_PERSON_CLASS_MERCHANT"
PointsPerTurn="1"/>
</Building_GreatPersonPoints>
<Building_GreatWorks>
<Row BuildingType="BUILDING_KC20_PIRATE_MUSEUM" GreatWorkSlotType="GREATWORKSLOT_ARTIFACT"
NumSlots="3" ThemingSameEras="true" ThemingUniqueCivs="true" ThemingYieldMultiplier="100"
ThemingTourismMultiplier="100" NonUniquePersonYield="1" NonUniquePersonTourism="1"
ThemingBonusDescription="LOC_BUILDING_THEMINGBONUS_ARCHAEOLOGY"/>
</Building_GreatWorks>
<DistrictReplaces>
<Row CivUniqueDistrictType="KC20_DISTRICT_PIRATE_STRONGHOLD" ReplacesDistrictType="DISTRICT_HARBOR"/>
</DistrictReplaces>
<Districts>
<Row DistrictType="KC20_DISTRICT_PIRATE_STRONGHOLD" Name="LOC_KC20_DISTRICT_PIRATE_STRONGHOLD_NAME"
Description="LOC_KC20_DISTRICT_PIRATE_STRONGHOLD_DESCRIPTION" PrereqTech="TECH_CELESTIAL_NAVIGATION"
PlunderType="PLUNDER_GOLD" PlunderAmount="50" AdvisorType="ADVISOR_CONQUEST" Cost="27"
CostProgressionModel="COST_PROGRESSION_NUM_UNDER_AVG_PLUS_TECH" CostProgressionParam1="40"
RequiresPlacement="true" Coast="true" Aqueduct="false" FreeEmbark="true" NoAdjacentCity="false"
AdjacentToLand="true" InternalOnly="false" ZOC="true" HitPoints="100" TradeEmbark="true"
CaptureRemovesBuildings="true" CaptureRemovesCityDefenses="false" MilitaryDomain="DOMAIN_SEA"
TravelTime="2" Appeal="1" CityStrengthModifier="2"
TraitType="TRAIT_CIVILIZATION_KC20_DISTRICT_PIRATE_STRONGHOLD"/>
</Districts>
<District_Adjacencies>
<Row DistrictType="KC20_DISTRICT_PIRATE_STRONGHOLD" YieldChangeId="SeaResource_Gold"/>
<Row DistrictType="KC20_DISTRICT_PIRATE_STRONGHOLD" YieldChangeId="District_Gold"/>
<Row DistrictType="KC20_DISTRICT_PIRATE_STRONGHOLD" YieldChangeId="PirateStronghold_City_Gold"/>
</District_Adjacencies>
<District_GreatPersonPoints>
<Row DistrictType="KC20_DISTRICT_PIRATE_STRONGHOLD" GreatPersonClassType="GREAT_PERSON_CLASS_ADMIRAL"
PointsPerTurn="2"/>
</District_GreatPersonPoints>
<District_TradeRouteYields>
<Row DistrictType="KC20_DISTRICT_PIRATE_STRONGHOLD" YieldType="YIELD_PRODUCTION"
YieldChangeAsOrigin="0" YieldChangeAsDomesticDestination="1" YieldChangeAsInternationalDestination="0"/>
<Row DistrictType="KC20_DISTRICT_PIRATE_STRONGHOLD" YieldType="YIELD_GOLD"
YieldChangeAsOrigin="0" YieldChangeAsDomesticDestination="0" YieldChangeAsInternationalDestination="3"/>
</District_TradeRouteYields>
<District_CitizenYieldChanges>
<Row DistrictType="KC20_DISTRICT_PIRATE_STRONGHOLD" YieldType="YIELD_GOLD" YieldChange="2"/>
<Row DistrictType="KC20_DISTRICT_PIRATE_STRONGHOLD" YieldType="YIELD_SCIENCE" YieldChange="1"/>
</District_CitizenYieldChanges>
<Adjacency_YieldChanges>
<Row ID="PirateStronghold_Gold" Description="LOC_KC20_DISTRICT_PIRATE_STRONGHOLD_GOLD"
YieldType="YIELD_GOLD" YieldChange="2" TilesRequired="1"
AdjacentDistrict="KC20_DISTRICT_PIRATE_STRONGHOLD"/>
<Row ID="PirateStronghold_City_Gold" Description="LOC_DISTRICT_CITY_CENTER_GOLD"
YieldType="YIELD_GOLD" YieldChange="2" TilesRequired="1" AdjacentDistrict="DISTRICT_CITY_CENTER"/>
</Adjacency_YieldChanges>
<DistrictModifiers>
<Row>
<DistrictType>KC20_DISTRICT_PIRATE_STRONGHOLD</DistrictType>
<ModifierId>KC20_DISTRICT_PIRATE_STRONGHOLD_TRADE_ROUTE_CAPACITY</ModifierId>
</Row>
</DistrictModifiers>