Skip to content

bot.interactLoc()` should support filtering by loc ID #23

@MaxBittker

Description

@MaxBittker

2. bot.interactLoc() should support filtering by loc ID

When mining, all rocks are named "Rocks" but have different IDs for different ore types. bot.interactLoc(rock, 'mine') and sdk.findNearbyLoc(/rocks/i) both just pick the closest one, which is often the wrong ore.

Wish: sdk.findNearbyLoc(/rocks/i, { id: 2091 }) or bot.interactLoc({ name: /rocks/i, id: 2091 }, 'mine'). Currently you have to drop to raw SDK and manually filter nearbyLocs then sendInteractLoc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions