whitep4nth3r / pantherworld

View your p4nth3rworld inventory, read the manual, and more!
https://p4nth3r.world
21 stars 6 forks source link

[feat] player command to see what's lying around in a zone #70

Closed whitep4nth3r closed 4 weeks ago

whitep4nth3r commented 1 month ago

If a player is curious they can !scan a zone to see what is lying around.

No claiming though, just a report.

Maybe the scan command won't find all.

@username scanned the area and found...


Maybe don't be explicit in what has been dropped, but give hints?

Dropped items can currently be picked up at any time. It's just a case of finding out what's there somehow.

whitep4nth3r commented 1 month ago

Could add categories to items. e.g. !scan vegetable will tell you if there are any vegetables lying around in your current zone.

whitep4nth3r commented 4 weeks ago

e.g.

command: !scan (current zone)

response: @matty_twoshoes scanned the beach and observed: some shells, a few plants, and something precious.

whitep4nth3r commented 4 weeks ago

Will be more effective if paired with https://github.com/whitep4nth3r/pantherworld/issues/73

ricardodevries commented 4 weeks ago

command: !scan beach

There should be a cool down on this command per user.

whitep4nth3r commented 4 weeks ago

Consider adding to player model:

lastScan: Date

whitep4nth3r commented 4 weeks ago

Initial MVP: https://github.com/whitep4nth3r/p4nth3rb0t-mainframe/pull/174

Todo

Scan limits will be implemented in the global limits engine.

whitep4nth3r commented 4 weeks ago

New bug:

image
whitep4nth3r commented 4 weeks ago

Latest bug fixed here: https://github.com/whitep4nth3r/p4nth3rb0t-mainframe/commit/6afd4bfabcdb1a2f8c06e08dc65f7bbd5e10169f

whitep4nth3r commented 4 weeks ago

Currently, a scan doesn't tell you if an item is dropped and therefore claimable.