aboutsummaryrefslogtreecommitdiff
path: root/internal/object/item.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/object/item.go')
-rw-r--r--internal/object/item.go1
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"`