diff options
| author | historia <[not public]> | 2026-06-19 02:18:53 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-19 02:18:53 -0400 |
| commit | 86aec0e14eb6fec0a39d742bab1761dad8d7012c (patch) | |
| tree | aa0d9511c73ed86ffebc5de5ab862a62afd730f8 /internal/object | |
| parent | 458916fb78dcef3ff77cb29b7ba98d9f646819fc (diff) | |
| download | thehouseoficarus-86aec0e14eb6fec0a39d742bab1761dad8d7012c.tar.gz | |
feat: hostile mobs, equipment prereqs
Diffstat (limited to 'internal/object')
| -rw-r--r-- | internal/object/item.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/object/item.go b/internal/object/item.go index 14cb65c..60d9ff9 100644 --- a/internal/object/item.go +++ b/internal/object/item.go @@ -42,6 +42,7 @@ type ItemDef struct { AttackType string `yaml:"attack_type"` Stats ItemStats `yaml:"stats"` Speed float64 `yaml:"speed"` + Requirements map[string]int `yaml:"requirements,omitempty"` ToolType string `yaml:"tool_type"` ToolSpeed float64 `yaml:"tool_speed"` BurnTicks float64 `yaml:"burn_ticks"` |
