aboutsummaryrefslogtreecommitdiff
path: root/internal/net
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/net
parenteef5ddaa94f8cff6010d092c30fed53d2be01524 (diff)
downloadthehouseoficarus-ec2e94e3463654a6288464a4c070b48ef9bf7368.tar.gz
feat: smithing added, item/object interaction reworked. recipes and menus refactored.
Diffstat (limited to 'internal/net')
-rw-r--r--internal/net/server.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/internal/net/server.go b/internal/net/server.go
index f22c398..bb14b04 100644
--- a/internal/net/server.go
+++ b/internal/net/server.go
@@ -31,8 +31,9 @@ const (
StateChangeDescription
StateTalk
StateDropAllConfirm
- StateCookRecipe
- StateSmeltRecipe
+ StateRecipeChoice
+ StateHowMany
+ StateSmithProduct
StateColorChoice
)
@@ -43,8 +44,8 @@ type Session struct {
Player interface{}
PendingChar string
PendingPass string
- PendingRecipeItem string
- PendingCookMenu []map[string]string
+ PendingMenu []map[string]string
+ PendingRecipeID string
Disconnecting bool
DisconnectTicks int
}