ludic/packages/ludic.inventory/package.ludic
Orkuncakilkaya 8075892e0e feat(ludic.inventory, ludic.wallet): the pack and the purse as mechanic packages
ludic.inventory: counts per item kind, a PackRules port (stack_limit), add
what fits / take all or none / set outright, an ItemChanged queue, and a save
section keyed by item NAME so a game can reorder its items with no migration.
ludic.wallet: earn, spend only what is there, lose down to zero, set, a
MoneyChanged queue and its own save section. Six and five test blocks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 04:29:17 +03:00

5 lines
192 B
Text

# ludic.inventory - a pack: a count per kind of item, with room that the game decides. Uses
# ludic.base and nothing else. See README.md.
package "ludic.inventory"
version "0.1.0"
kind source