Yields are not working?

gabe_oz

Chieftain
Joined
Feb 10, 2015
Messages
21
For some reason my yields aren't working at all, and they should. I have done everything right. And it just doesn't work.


BUILDING CODE:

<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 11/25/2014 5:55:14 PM -->
<GameData>
<Buildings>
<Row>
<Type>BUILDING_XENOMASS_REACTOR</Type>
<BuildingClass>BUILDINGCLASS_XENOMASS_REACTOR</BuildingClass>
<Cost>200</Cost>
<ConquestProbability>42</ConquestProbability>
<EnergyMaintenance>2</EnergyMaintenance>
<PrereqTech>TECH_ORGANICS</PrereqTech>
<Description>TXT_KEY_BUILDING_XENOMASS_REACTOR_DESC</Description>
<Civilopedia>TXT_KEY_BUILDING_XENOMASS_REACTOR_PEDIA</Civilopedia>
<ArtDefineTag>ART_DEF_BUILDING_THORIUM_REACTOR</ArtDefineTag>
<IconAtlas>BW_ATLAS_1</IconAtlas>
<PortraitIndex>13</PortraitIndex>
<Health>3</Health>
</Row>
</Buildings>
<Building_YieldChanges>
<Row>
<BuildingType>BUILDING_XENOMASS_REACTOR</BuildingType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>3</Yield>
</Row>
</Building_YieldChanges>
<Building_ResourceQuantity>
<Row>
<BuildingType>BUILDING_XENOMASS_REACTOR</BuildingType>
<ResourceType>RESOURCE_XENOMASS</ResourceType>
<Quantity>4</Quantity>
</Row>
</Building_ResourceQuantity>
</GameData>


BUILDING CLASS CODE:

<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 11/25/2014 6:02:34 PM -->
<GameData>
<BuildingClasses>
<Row>
<Type>BUILDINGCLASS_XENOMASS_REACTOR</Type>
<DefaultBuilding>BUILDING_XENOMASS_REACTOR</DefaultBuilding>
<Description>TXT_KEY_BUILDING_XENOMASS_REACTOR_DESC</Description>
</Row>
</BuildingClasses>
</GameData>
 
wait is the building class in a different XML file?!
If so put it in the same file at the top (I normally use the top) or bottom, it should work
 
Top Bottom