aboutsummaryrefslogtreecommitdiff
path: root/internal/action
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/action
parenteef5ddaa94f8cff6010d092c30fed53d2be01524 (diff)
downloadthehouseoficarus-ec2e94e3463654a6288464a4c070b48ef9bf7368.tar.gz
feat: smithing added, item/object interaction reworked. recipes and menus refactored.
Diffstat (limited to 'internal/action')
-rw-r--r--internal/action/recipe.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/internal/action/recipe.go b/internal/action/recipe.go
index 18c08c5..2e93c06 100644
--- a/internal/action/recipe.go
+++ b/internal/action/recipe.go
@@ -9,8 +9,9 @@ import (
)
type ConsumeEntry struct {
- Items []string `yaml:"items"`
- Qty int `yaml:"qty"`
+ Items []string `yaml:"items"`
+ Qty int `yaml:"qty"`
+ Byproducts []string `yaml:"byproducts"`
}
type RecipeDef struct {
@@ -22,6 +23,7 @@ type RecipeDef struct {
Station []string `yaml:"station"`
Consume []ConsumeEntry `yaml:"consume"`
Output string `yaml:"output"`
+ OutputQty int `yaml:"output_qty"`
Fail string `yaml:"fail"`
Message string `yaml:"message"`
FailMessage string `yaml:"fail_message"`