Teak has no bank in range, and a gatherer has no bankless mode #135
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bot.Sitespairs every gather site with a bank within 90 tiles and drops theones it cannot. Teak is the species that genuinely has nowhere to bank:
The closest is 108 tiles, so no pairing rule short of tripling the range
reaches it, and tripling it would hand every other site a bank a bot spends a
minute walking to.
::botgen 5 chopper teakis therefore legal, spawns five bots, and they standstill forever. The command warns — "No teak site has a bank in range, so they
will stand idle" — which is the whole of the current mitigation.
What it wants
A bankless mode for
Bot.Goals.GatherAndBank: work the site, and when thepack fills, drop the yield where the bot stands instead of walking a bank leg.
That is what a player does at teak, and it is the same mechanism two other
open items want:
Shape, roughly:
mode: :bank | :dropin the goal config, defaulting to:bank, with--dropon::botgen;:droppingphase that emits the client's own drop click —{:item_op, %{interface: 149, component: 0, op: <drop>, slot: …, item: …}}, whichWorld.Player.Hostalready dispatches toWorld.Player.Effects.drop/3;Bot.Siteskeeping sites whose bank pairing failed, withbank: nil, sothe drop mode has something to choose from.
gather_site.bankbecomesnullable and
travel_to_bankmust not be reachable when it is nil.Bot.Acthas no drop verb yet; it is one builder.Not in scope
Nothing here needs the bank range changed. The 90-tile rule is right for the
mode it serves.