(→Fortification) |
(→Fortsusereserved) |
||
Line 48: | Line 48: | ||
|} | |} | ||
− | By default, Y.A.E.B. will attempt keep 1 day worth of food in each city, or the number of days specified in [[ | + | By default, Y.A.E.B. will attempt keep 1 day worth of food in each city, or the number of days specified in [[general goals#extrafood|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. |
<span style="color:red">WARNING!!! Enabling this without knowing what you're doing could cause the bot to send your city into refuge!</span> | <span style="color:red">WARNING!!! Enabling this without knowing what you're doing could cause the bot to send your city into refuge!</span> |
Revision as of 23:05, 24 May 2011
Fortification
Usage: | fortification type:quantity[,type:quantity,type:quantity] |
---|---|
Example: | fortification tra:1 fortification tra:1,ab:1,at:1 |
Types: | Trap - tra Abatis - ab |
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!