blob: 89f6db960e52128f14999cf9816f24b1ab967cee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Package object defines item and object definitions with their YAML-backed
// loading stores.
//
// ItemDef covers all game items: equipment stats, weapon types, tool
// properties (tool_type, tool_speed for gathering/firemaking), firemaking
// fields (burn_ticks, fire_level, fire_xp), and stackable/quality metadata.
//
// ObjectDef covers interactive world objects: their behavior reference,
// hidden flag for unlisted-but-interactable objects, in-room description
// overrides, removal items, and arbitrary props.
//
// ItemStore and ObjectStore load definitions from YAML files in the
// data/items/ and data/objects/ directories, caching results in memory.
package object
|