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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login