Wall Fortification Goals

Fortification

Usage: fortification type:quantity[,type:quantity,type:quantity]
Example: fortification tra:1
fortification tra:1,ab:1,at:1
fortification tra:10,ab:10,at:10
fortification tra:100,ab:100,at:100,tre:10
fortification tra:3000,ab:3000,at:15000,tre:200
Types: Trap - tra
Abatis - ab
Archer Tower - at
Rolling Log - r
Trebuchet - tre

This directive will tell the bot to build wall defenses for your city. Just like the troop goal, fortification is read line by line in sequential order. In the example above, the bot is told to build 1 trap, 1 abatis, and 1 AT, then build 10 traps, 10 abatis, and 10 ATs, then build 100 traps, 100 abatis, 100 ATs, and 10 trebs, then build 3000 traps, 3000 abatis, 15000 ATs, and 200 trebs.

If the bot is currently working on building the 4th line of fortification goals, and you get attacked and you lose part or all of your wall defenses, with the above settings, the bot will stop queuing the 4th line and instead complete the goal of 1 trap/abatis/AT again from the 1st line, then go to the 2nd line and build the 10 traps/abatis/ATs, then go to the 3rd line and build the 100 traps/abatis/ATs and 10 trebs, then resume where it left off on the 4th line.

By setting these queue goals wisely, you can make yourself quite hard to break.

Wallqueuetime

Usage: config wallqueuetime:[hours]
Example: config wallqueuetime:1

This goal allows you to tell the bot how many hours per individual wall queue you want. It is recommended to adjust this number as your mayor's politics attribute grows, so that the bot can utilize your time more efficiently. If this is not set, the bot defaults to 15 minute queue times.

Fortsusereserved

Usage: config fortsusereserved:[switch]
Example: config fortsusereserved:1

By default, Y.A.E.B. will attempt keep 1 day worth of food in each city, or the number of days specified in config extrafood. The bot will not queue wall defenses if doing so would bring it under this amount of days. You can override this behavior and allow it to continue to queue new fortifications by enabling this goal.

WARNING!!! Enabling this without knowing what you're doing could cause the bot to send your city into refuge!