From 90ad8c0c33b519d5830c69d4128bdc984b5e9de8 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 5 Oct 2026 14:22:14 -0400 Subject: feat: cryptocurrency exchange added to casino --- internal/game/game.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'internal/game/game.go') diff --git a/internal/game/game.go b/internal/game/game.go index 1ce89e5..0c550ae 100644 --- a/internal/game/game.go +++ b/internal/game/game.go @@ -15,6 +15,7 @@ import ( "thehouseoficarus/internal/casino" "thehouseoficarus/internal/combat" "thehouseoficarus/internal/config" + "thehouseoficarus/internal/cryptomarket" "thehouseoficarus/internal/engine" "thehouseoficarus/internal/game/hacking" "thehouseoficarus/internal/item" @@ -62,6 +63,7 @@ type Game struct { GlobalFlags *GlobalFlagStore Combat *combat.Tracker PredictionClient *prediction.Client + CryptoClient *cryptomarket.Client Casino *casino.Manager flagIndex *flagTriggerIndex queue *CommandQueue @@ -632,7 +634,7 @@ func (g *Game) handleGameCommand(sess *net.Session, input string) { cmd := parts[0] // Counter commands exist only while using the counter, before global prefixes. - if g.predictionInputOwned(sess, cmd) { + if g.cryptoInputOwned(sess, cmd) || g.predictionInputOwned(sess, cmd) { g.executeCommand(sess, cmd, parts[1:], input) g.writePrompt(sess) return -- cgit v1.2.3