Problem
The only ways to remove unwanted items from inventory are placing them in the world one at a time or dying. There is no way to drop a full stack directly, which becomes tedious for common items like grass that accumulate quickly and need to be cleared to free up space.
Desired behaviour
Players should be able to drop one or more items from a stack directly from the inventory screen, removing them from the inventory without placing them in the world.
Acceptance criteria
Relevant files
src/screen/inventoryScreen.py — mouse event handling (handleMouseClickEvent), cursor slot logic, inventory panel bounds
src/inventory/inventory.py — removeByItem() and related slot manipulation methods
src/inventory/inventorySlot.py — slot contents and stack operations
README.md — Controls table to be updated with the new drop keybind/gesture
Problem
The only ways to remove unwanted items from inventory are placing them in the world one at a time or dying. There is no way to drop a full stack directly, which becomes tedious for common items like grass that accumulate quickly and need to be cleared to free up space.
Desired behaviour
Players should be able to drop one or more items from a stack directly from the inventory screen, removing them from the inventory without placing them in the world.
Acceptance criteria
README.mdunder ControlsInventoryandInventorySlotwhere practicalRelevant files
src/screen/inventoryScreen.py— mouse event handling (handleMouseClickEvent), cursor slot logic, inventory panel boundssrc/inventory/inventory.py—removeByItem()and related slot manipulation methodssrc/inventory/inventorySlot.py— slot contents and stack operationsREADME.md— Controls table to be updated with the new drop keybind/gesture