Hello everyone,
First of all, I couldn't find a "help" section on the forums, so I decided to post here. If there is a correct place for this, please move it there.
I have been writing a "No happiness mod" that disables happiness for a while. The first part that actually disabled it was written long ago, but now I would like to replace building bonuses (such as the colosseum). I have followed a tutorial I found here, but it is to create a new building. I have tried importing into VFS, so don't say that is the problem.
My code is below:
Moderator Action: Welcome to CivFanatics. Questions belong in the main forum, so this thread has been moved there. Happy posting.
First of all, I couldn't find a "help" section on the forums, so I decided to post here. If there is a correct place for this, please move it there.
I have been writing a "No happiness mod" that disables happiness for a while. The first part that actually disabled it was written long ago, but now I would like to replace building bonuses (such as the colosseum). I have followed a tutorial I found here, but it is to create a new building. I have tried importing into VFS, so don't say that is the problem.
My code is below:
HTML:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 8/13/2014 5:11:40 PM -->
<GameData>
<!--Building Classes-->
<BuildingClasses>
<Row>
<Type>BUILDINGCLASS_COLOSSEUM</Type>
<DefaultBuilding>BUILDING_COLOSSEUM</DefaultBuilding>
<Description>TXT_KEY_BUILDING_COLOSSEUM</Description>
</Row>
</BuildingClasses>
<!--End Building Classes-->
<!--Building Data-->
<Buildings>
<Row>
<Type>BUILDING_COLOSSEUM</Type>
<BuildingClass>BUILDINGCLASS_COLOSSEUM</BuildingClass>
<FreeStartEra>ERA_INDUSTRIAL</FreeStartEra>
<Cost>100</Cost>
<GoldMaintenance>0</GoldMaintenance>
<PrereqTech>TECH_CONSTRUCTION</PrereqTech>
<Help>TXT_KEY_BUILDING_COLOSSEUM_STRATEGY</Help>
<Description>TXT_KEY_BUILDING_COLOSSEUM</Description>
<Civilopedia>TXT_KEY_CIV5_BUILDINGS_COLISEUM_TEXT</Civilopedia>
<Strategy>TXT_KEY_BUILDING_COLOSSEUM_STRATEGY</Strategy>
<ArtDefineTag>COLESSEUM</ArtDefineTag>
<MinAreaSize>-1</MinAreaSize>
<ConquestProb>100</ConquestProb>
<HurryCostModifier>25</HurryCostModifier>
<DisplayPosition>2</DisplayPosition>
<ArtInfoCulturalVariation>true</ArtInfoCulturalVariation>
<IconAtlas>BW_ATLAS_1</IconAtlas>
<PortraitIndex>23</PortraitIndex>
</Row>
</Buildings>
<!--End Building Data-->
<!--Building Yields/Flavors-->
<Building_YieldChanges>
<Row>
<BuildingType>BUILDING_COLOSSEUM</BuildingType>
<YieldType>YIELD_GOLD</YieldType>
<Yield>2</Yield>
</Row>
</Building_YieldChanges>
<Building_Flavors>
<Row>
<BuildingType>BUILDING_COLOSSEUM</BuildingType>
<FlavorType>FLAVOR_COLOSSEUM</FlavorType>
<Flavor>7</Flavor>
</Row>
</Building_Flavors>
<!--End Building Yields/Flavors-->
<!--Building Docs-->
<Language_en_US>
<Row Tag="TXT_KEY_BUILDING_COLOSSEUM">
<Text>Colosseum</Text>
</Row>
<Row Tag="TXT_KEY_BUILDING_COLOSSEUM_HELP">
<Text>The Colosseum adds +2 [ICON_GOLD] Gold.</Text>
</Row>
<Row Tag="TXT_KEY_BUILDING_COLOSSEUM_STRATEGY">
<Text>The Colosseum provides gold for the nation.</Text>
</Row>
<Row Tag="TXT_KEY_BUILDING_COLOSSEUM_Text">
<Text>The Colosseum allows the city to present gladiator battles, or special events, which yield entry fees, that give the nation gold.</Text>
</Row>
</Language_en_US>
<!--End Building Docs-->
</GameData>
Moderator Action: Welcome to CivFanatics. Questions belong in the main forum, so this thread has been moved there. Happy posting.