aboutsummaryrefslogtreecommitdiff
path: root/internal/net
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-16 04:17:43 -0400
committerhistoria <[not public]>2026-06-16 04:17:43 -0400
commit085e728d22a3369bd110b77409914cfbe9ebe611 (patch)
treeeeb88cb1ceb91cc9ea2b5a1877c3c66328fab503 /internal/net
parent43f21aabae8924f35c12c8485e690aeefe0089fb (diff)
downloadthehouseoficarus-085e728d22a3369bd110b77409914cfbe9ebe611.tar.gz
feat: recipe system, combining items, cooking skill
Diffstat (limited to 'internal/net')
-rw-r--r--internal/net/server.go19
1 files changed, 11 insertions, 8 deletions
diff --git a/internal/net/server.go b/internal/net/server.go
index d909cc2..1b6c99b 100644
--- a/internal/net/server.go
+++ b/internal/net/server.go
@@ -29,17 +29,20 @@ const (
StateChangeDescription
StateTalk
StateDropAllConfirm
+ StateCookRecipe
)
type Session struct {
- Conn Conn
- State SessionState
- Account *AccountEntry
- Player interface{}
- PendingChar string
- PendingPass string
- Disconnecting bool
- DisconnectTicks int
+ Conn Conn
+ State SessionState
+ Account *AccountEntry
+ Player interface{}
+ PendingChar string
+ PendingPass string
+ PendingRecipeItem string
+ PendingCookMenu []map[string]string
+ Disconnecting bool
+ DisconnectTicks int
}
type AccountEntry struct {