From 86aec0e14eb6fec0a39d742bab1761dad8d7012c Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 19 Jun 2026 02:18:53 -0400 Subject: feat: hostile mobs, equipment prereqs --- internal/object/item.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/object/item.go') 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"` -- cgit v1.2.3