I'm trying to add a few simple buildings/structures to the early civilisation cities. each building to give a small buff to production or housing & the like. The game loads OK, & the MOD can be slected OK, but the game CTD after the first city is built & the new building do not show in the city production window. Any assitance would be appreciated.
MODINFO file
BUILDINGS file
TEXTS file
MODINFO file
Spoiler :
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Mod by Salmo 3 Nov 2016 -->
<Mod id="c247f9c5-b2d5-493d-a673-1a4be1b77076">
<Properties>
<Name>LOC_ANCIENT_BUILDINGS_NAME</Name>
<Stability>Alpha</Stability>
<Teaser>LOC_ANCIENT_BUILDINGS_TEASER</Teaser>
<Description>LOC_ANCIENT_BUILDINGS_DESCRIPTION</Description>
<Authors>LOC_ANCIENT_BUILDINGS_AUTHORS</Authors>
<SpecialThanks>LOC_ANCIENT_BUILDINGS_SPECIAL_THANKS</SpecialThanks>
</Properties>
<Files>
<File>Ancient_Era_Buildings.xml</File>
<File>Ancient_Era_Text.xml</File>
</Files>
<Components>
<UpdateDatabase id="AncientEraBuildingsComponent">
<Properties>
<Ruleset>RULESET_STANDARD</Ruleset>
</Properties>
<Items>
<File>Ancient_Era_Buildings.xml</File>
</Items>
</UpdateDatabase>
<LocalizedText>
<Properties>
<Ruleset>RULESET_STANDARD</Ruleset>
</Properties>
<Items>
<File>Ancient_Era_Text.xml</File>
</Items>
</LocalizedText>
</Components>
<LocalizedText>
<Text id="LOC_ANCIENT_BUILDINGS_AUTHORS">
<en_US>Salmo</en_US>
</Text>
<Text id="LOC_ANCIENT_BUILDINGS_SPECIAL_THANKS">
<en_US>Special thanks go out to Shaun Seckman (Firaxis Games).</en_US>
<nl_NL>Mijn speciale dank gaat uit naar Shaun Seckman (Firaxis Games).</nl_NL>
</Text>
<Text id="LOC_ANCIENT_BUILDINGS_DESCRIPTION">
<en_US>Adds new Ancient Era buildings for your city center.</en_US>
</Text>
<Text id="LOC_ANCIENT_BUILDINGS_TEASER">
<en_US>Adds new Ancient Era buildings for your city center.</en_US>
</Text>
<Text id="LOC_ANCIENT_BUILDINGS_NAME">
<en_US>Ancient Era Buildings</en_US>
</Text>
</LocalizedText>
</Mod>
BUILDINGS file
Spoiler :
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Mod by Salmo 3 Nov 2016 -->
<GameData>
<Types>
<Row Type="BUILDING_INN" Kind="KIND_BUILDING" />
<Row Type="BUILDING_WATER_WELL" Kind="KIND_BUILDING" />
</Types>
<Buildings>
<Row BuildingType="BUILDING_INN"
Name="LOC_BUILDING_INN_NAME"
PrereqTech="TECH_MASONARY"
Cost="80"
PrereqDistrict="DISTRICT_CITY_CENTER"
Description="LOC_BUILDING_INN_DESCRIPTION"
Housing="1"
Entertainment="0"
PurchaseYield="YIELD_GOLD"
Maintenance="1"
CitizenSlots="1"
AdvisorType="ADVISOR_GENERIC" />
<Row BuildingType="BUILDING_WATER_WELL"
Name="LOC_BUILDING_WATER_WELL_NAME"
Description="LOC_BUILDING_WATER_WELL_DESCRIPTION"
PrereqDistrict="DISTRICT_CITY_CENTER"
Cost="50"
PurchaseYield="YIELD_GOLD"
AdvisorType="ADVISOR_GENERIC"
Entertainment="1"
Maintenance="2"
ObsoleteEra="ERA_INFORMATION" />
</Buildings>
<!--
<Building_YieldChanges>
<Row BuildingType="BUILDING_WATER_WELL" YieldType="YIELD_PRODUCTION" YieldChange="2" />
</Building_YieldChanges>
<Modifiers>
<Row ModifierId="WATER_WELL_ADDGROWTH" ModifierType="MODIFIER_PLAYER_CITIES_ADJUST_CITY_GROWTH" />
</Modifiers>
<BuildingModifiers>
<Row BuildingType="BUILDING_WATER_WELL" ModifierId="WATER_WELL_ADDGROWTH" />
</BuildingModifiers>
<ModifierArguments>
<Row ModifierId="WATER_WELL_ADDGROWTH" Name="Amount" Type="ARGTYPE_IDENTITY" Value="1" />
</ModifierArguments>
-->
</GameData>
TEXTS file
Spoiler :
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Mod by Salmo 3 Nov 2016 -->
<GameData>
<LocalizedText>
<Row Tag="LOC_BUILDING_INN_NAME" Language="en_US">
<Text>Inn</Text>
</Row>
<Row Tag="LOC_BUILDING_INN_DESCRIPTION" Language="en_US">
<Text>Inns are establishments or buildings where travelers can seek lodging, food and drink. They are typically located in the country or along a highway; before the advent of motorized transportation they also provided accommodation for horses. </Text>
</Row>
<Row Tag="LOC_BUILDING_WATER_WELL_NAME" Language="en_US">
<Text>Water Well</Text>
</Row>
<Row Tag="LOC_BUILDING_WATER_WELL_DESCRIPTION" Language="en_US">
<Text>A water well is an excavation or structure created in the ground by digging, driving, boring, or drilling to access groundwater in underground aquifers. The well water is drawn by a pump, or using containers, such as buckets, that are raised mechanically or by hand. Wells were first constructed at least eight thousand years ago and historically vary in construction from a simple scoop in the sediment of a dry watercourse to the stepwells of India, the qanats of Iran, and the shadoofs and sakiehs of India. Placing a lining in the well shaft helps create stability and linings of wood or wickerwork date back at least as far as the Iron Age. Gives +2 [ICON_Production] Production.</Text>
</Row>
</LocalizedText>
</GameData>