Usage:

walldefense DefType Qty [BuildType]

Example:

walldefense at 1000
walldefense ab 1000 demo

Used to build or demolish wall defenses.

Starting in NeatBot version 3378 you can use multiple wall fortifications on a single line for demolish commands. You can also put the 'demo' action before or after the fortification types. These 4 different scripts will all demolish 5000 archer towers, 1000 abatis, and 1000 traps:

 walldefense at:5k,ab:1k,tra:1k demo

 walldefense demo at:5k,ab:1k,tra:1k

 walldefense /demo at:5k,ab:1k,tra:1k

 walldefense at 5k demo
 walldefense ab 1k demo
 walldefense tra 1k demo

You can also use the /keep action to force the bot to demolish all but the kept amount. Only specifically listed fortification types will be affected. For example, this will demolish all but 15,000 archer towers, 1000 abatis, and 1000 traps. Any rolling logs and trebs will not be effected:

 walldefense /keep at:15k,ab:1k,tra:1k

Here are several examples of ways to use the walldefense command in NeatBot versions 3378 and later:

 walldefense                 // build 1 trap (compatibility with older versions)

 walldefense at 100
 walldefense at:100          //same as above
 walldefense build at:100    //same as above
 walldefense /build at:100   //same as above
 walldefense at 100 produce  //same as above (compatibility)

 walldefense demo            // demolish 1 trap
 walldefense destruct tra 10 // demolish 10 traps (compatibility)

 walldefense at demo        // demolish 1 archer tower
 walldefense at             // build 1 archer tower (compatibility)
 walldefense at keep        // keep 1 archer tower (demolish all archer towers except one)

 // demolish 100 traps and 10,000 archers towers
 walldefense demo tra:100,at:10k
 walldefense /demo tra:100,at:10k // same as above

 // demolish all but 100 traps and 1,000 archers towers (other fortifications are unaffected)
 walldefense keep tra:100,at:1k
 walldefense /keep tra:100,at:1k // same as above

 // demolish all trebuchets (other fortifications are unaffected)
 walldefense /keep tre:0


ScriptCity

WallDefense (last edited 2016-01-03 01:03:57 by Inanna)