From ec2e94e3463654a6288464a4c070b48ef9bf7368 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 17 Jun 2026 21:13:07 -0400 Subject: feat: smithing added, item/object interaction reworked. recipes and menus refactored. --- internal/object/item.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'internal/object/item.go') diff --git a/internal/object/item.go b/internal/object/item.go index efcb2c5..a6a06e1 100644 --- a/internal/object/item.go +++ b/internal/object/item.go @@ -55,11 +55,13 @@ type ItemDef struct { HealValue int `yaml:"heal_value"` EatMessage string `yaml:"eat_message"` MadeFrom []MadeFromEntry `yaml:"made_from,omitempty"` + Ticks float64 `yaml:"ticks"` } type MadeFromEntry struct { - Items []string `yaml:"items"` - Qty int `yaml:"qty"` + Items []string `yaml:"items"` + Qty int `yaml:"qty"` + Byproducts []string `yaml:"byproducts"` } type ItemStats struct { -- cgit v1.2.3