Issue: Having an item "held" by the cursor when exiting bot inventory deletes item
greysondn opened this issue · 0 comments
This issue is very label on the tin.
This issue was reported in JoeStrout's MiniScript Discord server by user not-a-lawyer and can be seen in the logs when it's reproduced by them here. I have reproduced it using the steps provided below before filing this report.
Detailed Description
not-a-lawyer specifically says:
If you quit out of the bot with an item in your cursor it deletes the item
Expected Behavior
The bot's inventory should return items "held" in the cursor to their most recent inventory when closed instead of just destroying them. If no free spot is available in the rare edge case an item was picked up off the ground into the player's inventory, the item should be dropped instead.
Reproduction Steps
- Load a saved game for Stardew Valley with Farmtronics installed and a bot available
- Get an item into the cursor from any inventory on the bot's inventory screen (mouse click by default)
- With the item still in the cursor, exit the bot's inventory screen (escape key by default)
Current Workaround
Ensure you've placed any item in the cursor into an inventory before exiting the bot inventory screen.
Fix Ideas
Nothing specially notable.
Environment
- Version used:
- Farmtronics 1.1.0
- Host operating system:
- Windows 10 Home x64