Provides add/remove/contents/contains/count over composition entities acting as list containers. Items attach as synthetic children under item.<n> slots; renderable tag toggled via composition.set_tag on add/remove. Slot counter is reconstruction-safe (derived from get_children scan, no persisted state). Depends on lib-core.composition 0.2.0 (get_container + set_tag).
2 lines
124 B
Plaintext
2 lines
124 B
Plaintext
{"id":"lib-core.inventory-list","version":"0.1.0","api_min":"0.1","deps":[{"id":"lib-core.composition","version":"0.2.0"}]}
|