aboutsummaryrefslogtreecommitdiff
path: root/internal/object/item.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-17 21:13:07 -0400
committerhistoria <[not public]>2026-06-17 21:13:07 -0400
commitec2e94e3463654a6288464a4c070b48ef9bf7368 (patch)
tree3c5df0f9a6a5968fa4c725a7d331825883ae798c /internal/object/item.go
parenteef5ddaa94f8cff6010d092c30fed53d2be01524 (diff)
downloadthehouseoficarus-ec2e94e3463654a6288464a4c070b48ef9bf7368.tar.gz
feat: smithing added, item/object interaction reworked. recipes and menus refactored.
Diffstat (limited to 'internal/object/item.go')
-rw-r--r--internal/object/item.go6
1 files changed, 4 insertions, 2 deletions
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 {