How to limit the territory to just 1 Town, 1 Fort & 1 Castle?
-
I was hoping I can make the AI just limit itself to;
1 Town, not 3+
1 Castle, not 2+What am I missing?
Here is an extract of the town code;
<option name="isFactory" value="true"/> <option name="isInfrastructure" value="true"/> <option name="isConstruction" value="true"/> <!-- Required for Constructions must have isConstruction true --> <option name="canBeDamaged" value="false"/> <option name="canProduceXUnits" value="2"/> <!-- produce X max units per producer --> <option name="constructionType" value="settlement"/> <!-- unique label or not --> <option name="maxConstructionsPerTypePerTerr" value="1"/> <!-- max constructions of this type may be in a territory --> <option name="constructionsPerTerrPerTypePerTurn" value="1"/> <!-- how many units of this type you can place in a territory every turn --> <option name="canOnlyBePlacedInTerritoryValuedAtX" value="2"/> <option name="tuv" value="20"/>
-
@thedog do you want only 1 total to be placed ? if so try adding "_structure" to the "constructionType" name.
So "settlement_structure"
-
@beelee
Thanks I try it. -
@beelee
++Good!
It works, thanks