wyrt_items

v1.0.0Inventory

Base item system providing item definitions, data storage, and item registry

Features

  • Item definition registry
  • YAML-based item data loading
  • Item type categorization (weapon, armor, consumable, etc.)
  • Item property storage (stats, effects, descriptions)
  • Item lookup by ID or type
  • Shared item data across modules

Quick Start

// Items are typically loaded from YAML data files
// Access item definitions through context.data
const sword = context.data.items['iron_sword'];
console.log(sword.name, sword.damage, sword.type);

// Item data is shared with wyrt_inventory, wyrt_equipment, wyrt_loot

Exports

ItemData

Item definition interface