Something wrong with this?

Random_Numbers

Chieftain
Joined
Nov 14, 2016
Messages
8
Testing some modifications for Civ here and made an account just for this .. Does this piece of XML crash anyone else when they add it to their mod?
<Improvement_ValidTerrains>
<Row ImprovementType="IMPROVEMENT_FARM" TerrainType="TERRAIN_DESERT" PrereqTech="TECH_IRRIGATION"/>
<Row ImprovementType="IMPROVEMENT_FARM" TerrainType="TERRAIN_TUNDRA" PrereqTech="TECH_ENGINEERING"/>
</Improvement_ValidTerrains>

Quick update on this .. if the PrereqTechs are removed .. game doesn't crash .. with them attached .. game crashed after ending first turn. Tried several games starts random settings ...
The Gameplay_Schema.sql is supposed to support the conditional for prereqtech and prereqcivic.
 
They used the PrereqCivic but they never used the PreReqTech in the base xml file. The SQL schema allows the column within the game's database, but this does not mean the column was implemented within the game's DLL.
 
Back
Top Bottom