Proto_Noob
Chieftain
- Joined
- Jan 11, 2016
- Messages
- 42
So, I am writing a mod (attached). The point of the mod is to reduce the default gold of a Trading Post to 0, then add one gold if each each of the following is true:
Next to a city
On a River
On the Coast
On a Road/Railroad
Additionally, I am not allowing Trading Post to be adjacent.
When I apply the attach mod to my game it seems to modify the yield of the TPs appropriately except in the case of whether it is on a road or not. Can anyone tell me why? Does the shown below not work for a reason?
[ C O D E ]
<Improvement_RouteYieldChanges>
<Row>
<ImprovementType>IMPROVEMENT_TRADING_POST</ImprovementType>
<YieldType>YIELD_GOLD</YieldType>
<Yield>1</Yield>
</Row>
</Improvement_RouteYieldChanges>
[ / C O D E ]
Next to a city
On a River
On the Coast
On a Road/Railroad
Additionally, I am not allowing Trading Post to be adjacent.
When I apply the attach mod to my game it seems to modify the yield of the TPs appropriately except in the case of whether it is on a road or not. Can anyone tell me why? Does the shown below not work for a reason?
[ C O D E ]
<Improvement_RouteYieldChanges>
<Row>
<ImprovementType>IMPROVEMENT_TRADING_POST</ImprovementType>
<YieldType>YIELD_GOLD</YieldType>
<Yield>1</Yield>
</Row>
</Improvement_RouteYieldChanges>
[ / C O D E ]