game inventory: fix bug
game inventory: fix bug: a task in smol-software-harbor (Harbor dataset). The backpack in src/inventory.lua lets the hero carry far too much: Inventory:weight() counts each stack once, whatever its size (10 arrows weigh as much as one). Fix it and run lua tests/run.lua .
The task
The backpack in `src/inventory.lua` lets the hero carry far too much: `Inventory:weight()` counts each stack once, whatever its size (10 arrows weigh as much as one). Fix it and run `lua tests/run.lua`.
Part of efederici/smol-software-harbor.