From 79764732406d6484f67d3dec045483dcb5d08c28 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 18 Sep 2026 20:03:13 -0400 Subject: feat: better card ascii art --- internal/game/cmd_inventory.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/game/cmd_inventory.go') diff --git a/internal/game/cmd_inventory.go b/internal/game/cmd_inventory.go index b7b52ed..fbde186 100644 --- a/internal/game/cmd_inventory.go +++ b/internal/game/cmd_inventory.go @@ -4,6 +4,7 @@ import ( "fmt" "thehouseoficarus/internal/net" + "thehouseoficarus/internal/player" ) func (g *Game) executeInventory(sess *net.Session, args []string, rawInput string) { @@ -15,7 +16,7 @@ func (g *Game) doInventory(sess *net.Session) { sess.WriteLine(fmt.Sprintf("Inventory (%d free):", p.FreeSlots())) num := 0 - for i := 0; i < 28; i++ { + for i := 0; i < player.MaxInventorySlots; i++ { slot := p.InvSlot(i) if slot == nil { continue -- cgit v1.2.3