From e6b4cb9f5816c6ee239233bc85f74ee446a161c2 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 1 Jul 2026 16:37:45 -0400 Subject: feat: shop system overhauled, gui conversation tree editor overhauled --- internal/net/server.go | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'internal/net') diff --git a/internal/net/server.go b/internal/net/server.go index d212dbf..11339d7 100644 --- a/internal/net/server.go +++ b/internal/net/server.go @@ -14,7 +14,6 @@ import ( "sync" "time" - "thehouseoficarus/internal/behavior" "thehouseoficarus/internal/color" "thehouseoficarus/internal/config" "thehouseoficarus/internal/player" @@ -47,7 +46,6 @@ const ( StateCraftProduct StateProductChoice StateColorChoice - StateShop StateBank StateHacking StateDangerConfirm @@ -68,7 +66,6 @@ type Session struct { PendingBackground bool Disconnecting bool DisconnectTicks int - Shop *behavior.ShopConfig PendingUndigDir string PendingUndigRoom int promptVisible bool @@ -76,14 +73,14 @@ type Session struct { } type Server struct { - config *config.Config - telnetLn net.Listener - telnetTLSLn net.Listener - httpServer *http.Server - httpsServer *http.Server + config *config.Config + telnetLn net.Listener + telnetTLSLn net.Listener + httpServer *http.Server + httpsServer *http.Server httpsTLSConfig *tls.Config - hub *Hub - handler func(*Session, string) + hub *Hub + handler func(*Session, string) } type Hub struct { -- cgit v1.2.3