From f51424c90dbce7191a31b6e675818c985f0f4539 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 31 Jul 2026 17:44:10 -0400 Subject: feat: casino framework and basic slot machine --- internal/game/act_effects.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'internal/game/act_effects.go') diff --git a/internal/game/act_effects.go b/internal/game/act_effects.go index cadd05e..d1effac 100644 --- a/internal/game/act_effects.go +++ b/internal/game/act_effects.go @@ -177,7 +177,12 @@ func (g *Game) applyStep(sess *net.Session, p *player.Player, step *behavior.Ste } } - // 11/12. spawn_mob / despawn_mob (player-owned / owner-filtered). + // 11. casino game join. The table is resolved from the player's current room. + if step.StartGame != "" { + g.startCasinoGame(sess, p, step.StartGame) + } + + // 12/13. spawn_mob / despawn_mob (player-owned / owner-filtered). if step.SpawnMob != nil { g.spawnTriggerMob(sess, p, step.SpawnMob, roomID) } -- cgit v1.2.3