Grunthex
Prince
Looking for a bit of advice. Seems to me my logic is solid, but I can't make it work in practice.
I'm trying to make trading posts so they can only be built on a road or railroad, or on a riverside.
Using the Lumbermill as inspiration, I dove into Terrain\Civ5Improvements.xml
In that file, Lumbermills are not defined anywhere in Improvement_ValidTerrains, but they are defined in Improvement_ValidFeatures. As we know, in practice lumbermills get to be built on any forest, regardless of the terrain underneath.
So in the Improvement_ValidFeatures table, I've tried adding the following:
I've also tried:
And just for kicks I tried both. None of it seems to work. All I've accomplished is to disable trading posts entirely. Anyone have any thoughts?
I'm trying to make trading posts so they can only be built on a road or railroad, or on a riverside.
Using the Lumbermill as inspiration, I dove into Terrain\Civ5Improvements.xml
In that file, Lumbermills are not defined anywhere in Improvement_ValidTerrains, but they are defined in Improvement_ValidFeatures. As we know, in practice lumbermills get to be built on any forest, regardless of the terrain underneath.
So in the Improvement_ValidFeatures table, I've tried adding the following:
Code:
<Row>
<ImprovementType>IMPROVEMENT_TRADING_POST</ImprovementType>
<FeatureType>ROUTE_ROAD</FeatureType>
</Row>
I've also tried:
Code:
<Row>
<ImprovementType>IMPROVEMENT_TRADING_POST</ImprovementType>
<FeatureType>FEATURE_RIVER</FeatureType>
</Row>
And just for kicks I tried both. None of it seems to work. All I've accomplished is to disable trading posts entirely. Anyone have any thoughts?