Expand description
§openstranded-common-items
Shared data types for the OpenStranded item system.
This crate defines the canonical structures that represent item types
and item stacks, used by both the engine (Bevy ECS components) and WASM
game plugins (parsing .ron registry data, defining service contracts).
§Types
| Type | Purpose |
|---|---|
ItemDef | Full item type definition |
ItemGroup | Category enum (material, food, tool, weapon, …) |
Material | Material enum (wood, stone, metal, flesh, …) |
ItemStack | ECS component: item_id + amount + optional durability |
§Dependency
Only serde — this is a pure data crate with no engine or plugin API
dependencies.