The inventory module includes components and actions to implement an inventory system, as well as an extended Target for validating items.
Target
Load it with the following:
prism.loadModule("prism/extra/inventory")
Components
Inventory
Item
Actions
Drop
Pickup
Relations
HeldByRelation
InventoryRelation
Targets
A helper target equivalent to the following:
prism.Target(...) :outsideLevel() :related(prism.relations.InventoryRelation)
How-tos
Making a roguelike
Explainers
Reference
prism.targets.InventoryTarget