feat: default_label_resolver reads name property; item-template convention
The default label_resolver now reads the optional player-facing `name` property from the item-template; modules with named templates get pretty row labels without registering an override. Falls back to "Item" when `name` is absent or empty. README documents the player-facing item-template convention: name, description, weight, volume, composition.<material> — all optional, all with documented defaults. Skill-gated description reveals stay on the separate hints lib (designed, not yet implemented).
This commit is contained in:
@@ -1 +1 @@
|
||||
{"id":"lib-core.inventory-list-display","version":"0.1.0","api_min":"0.1","deps":[{"id":"lib-core.panel","version":"0.1.0"},{"id":"lib-core.inventory-list","version":"0.1.0"},{"id":"lib-core.composition","version":"0.2.0"}]}
|
||||
{"id":"lib-core.inventory-list-display","version":"0.1.1","api_min":"0.1","deps":[{"id":"lib-core.panel","version":"0.1.0"},{"id":"lib-core.inventory-list","version":"0.1.0"},{"id":"lib-core.composition","version":"0.2.0"}]}
|
||||
|
||||
Reference in New Issue
Block a user