[XML] new building that affects canyon - doubts

BinderAJ

Chieftain
Joined
Feb 3, 2014
Messages
18
Location
Santiago, Chile
I've investigated the XML files for buildings in CivBE, in particular the Mass Digester

Code:
		<Row>
			<BuildingType>BUILDING_MASS_DIGESTER</BuildingType>
			<TerrainType>TERRAIN_TUNDRA</TerrainType>
			<YieldType>YIELD_ENERGY</YieldType>
			<Yield>1</Yield>
  		</Row>

In principle, since the mass digester increases energy yield regardless if the terrain is improved or not, i wish to ask if it would be possible to do the same with Canyons.

Let's say i want to create a building that gives 1 food per canyon plot, since canyons are worked by citizens, it should be feasible......just want to confirm i'm not facing a situation of not beinga able because its the typical "its not terrain its a plot" issue.

any help is appreciated.
 
Code:
        <Building_TerrainYieldChanges>
		<Row>
			<BuildingType>BUILDING_BOREHOLE</BuildingType>
			<TerrainType>TERRAIN_CANYON</TerrainType>
			<YieldType>YIELD_FOOD</YieldType>
			<Yield>1</Yield>
		</Row>
        </Building_TerrainYieldChanges>

Using the borehole as an example building, this would do it. Canyon is considered a terrain in the XML tables
 
after reviewing the example Starrynite posted, and searching the XML, found out tectonic anvil increases bonus applies to the production yield of canyons...

i'll try it out and post the results.
 
Back
Top Bottom