BeatriceBernardo
Chieftain
- Joined
- Apr 28, 2017
- Messages
- 10
Hi everyone, this is my first time modding.
I want to make a new civilization. I'm using the Jasper Kitty template, I have succeeded thus far.
What's next is that I want to make a new building, let's say Litter Box, to replace the Granary, giving +3 productions.
How can I do that?
I know that I have to edit the NewLeader_LitterBox.xml file.
I know at some point I have to include REPLACE_BUILDING and BUILDING_GRANARY and YIELD_PRODUCTION and YieldChange=3. But I have no idea where and how.
Thank You.
I want to make a new civilization. I'm using the Jasper Kitty template, I have succeeded thus far.
What's next is that I want to make a new building, let's say Litter Box, to replace the Granary, giving +3 productions.
How can I do that?
I know that I have to edit the NewLeader_LitterBox.xml file.
Code:
<?xml version="1.0" encoding="utf-8"?>
<GameData>
<Types>
<Row Type="BUILDING_LITTER_BOX" Kind="KIND_BUILDING" />
</Types>
<Buildings>
<Row BuildingType="BUILDING_LITTER_BOX" Name="LOC_BUILDING_LITTER_BOX_NAME" PrereqDistrict="DISTRICT_CITY_CENTER" TraitType="TRAIT_CIVILIZATION_BUILDING_LITTER_BOX" PurchaseYield="YIELD_GOLD" Cost="100" AdvisorType="ADVISOR_GENERIC"/>
</Buildings>
<Building_YieldChanges>
<Row BuildingType="BUILDING_LITTER_BOX" YieldType="YIELD_CULTURE" YieldChange="3"/>
</Building_YieldChanges>
</GameData>
I know at some point I have to include REPLACE_BUILDING and BUILDING_GRANARY and YIELD_PRODUCTION and YieldChange=3. But I have no idea where and how.
Thank You.