From 78b522d57a9ebc691e075523910d7cdaa06b6493 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 1 Jul 2026 18:36:21 -0400 Subject: feat: shop system removed from talk system, added per-item restock and variable pricing --- cmd/mud/main.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cmd/mud') diff --git a/cmd/mud/main.go b/cmd/mud/main.go index 990164e..23a2ca4 100644 --- a/cmd/mud/main.go +++ b/cmd/mud/main.go @@ -9,6 +9,7 @@ import ( "syscall" "thehouseoficarus/internal/admin" + "thehouseoficarus/internal/behavior" "thehouseoficarus/internal/config" "thehouseoficarus/internal/game" "thehouseoficarus/internal/net" @@ -36,6 +37,10 @@ func main() { } } + if cfg.GameConstants.ShopDefaultRestock > 0 { + behavior.ShopDefaultRestock = cfg.GameConstants.ShopDefaultRestock + } + g := game.New(dataDir, &cfg.DefaultColors, cfg.StartupValidation, cfg.StartingRoom) g.Ticks.Start(cfg.TickLength) defer g.Ticks.Stop() -- cgit v1.2.3