Size: 1601
Comment:
|
Size: 1816
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Default: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">none || | |
Line 4: | Line 5: |
'''coord can be in either xxx,yyy or city name format including "all" ''' '''note using city name is valid within the same account''' |
For cities on the same account, you can use cityname, coordinates, or "any" for the destination. For cities on another account, you must use coordinates for the destination. |
Usage: |
keepresource destination_Coord res_to_keep [quantity] |
Example: |
keepresource 111,222 f:1b 50m |
Default: |
none |
For cities on the same account, you can use cityname, coordinates, or "any" for the destination. For cities on another account, you must use coordinates for the destination.
This goal will allow you to keep a specified amount of resources, and send all extra to another location.
In the 1st example above, the bot will keep 1 billion food in this city, and if it acquires over that, it will send the extra to 111,222 in increments of at least 50 million.
In the 2nd example above, the bot will keep 20 million lumber and 20 million iron, and send all extra to OtherCity in increments of at least 5 million.
Keepresource uses transports to send with, and will send as much over the "kept" amount as it has resources and transports available to, as long as it's at least the minimum quantity specified. If no quantity is specified, the bot sends any amount available.