aboutsummaryrefslogtreecommitdiff
path: root/internal/game/vesta_world_test.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-05 06:03:49 -0400
committerhistoria <[not public]>2026-10-05 06:03:49 -0400
commitc84a9944356f590d90d819d652bdf1349ebacd40 (patch)
treeaf1ee15992e141fb3eb6f26cac02cf06306d4982 /internal/game/vesta_world_test.go
parent8b78aa4cd930fde145959704ba7bdc0e57465b9b (diff)
downloadthehouseoficarus-c84a9944356f590d90d819d652bdf1349ebacd40.tar.gz
feat: prediction exchange with live polymarket data
Diffstat (limited to 'internal/game/vesta_world_test.go')
-rw-r--r--internal/game/vesta_world_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/game/vesta_world_test.go b/internal/game/vesta_world_test.go
index 3a2e320..8072dca 100644
--- a/internal/game/vesta_world_test.go
+++ b/internal/game/vesta_world_test.go
@@ -285,8 +285,9 @@ func TestVestaCasinoFloorsAndVariants(t *testing.T) {
continue
}
// The vestibule stays at street level (below the gaming floor);
- // every gaming room shares 6101's floor.
- if id != 6100 && grid.Coord[id][2] != grid.Coord[6101][2] {
+ // every gaming room shares 6101's floor. Support rooms (the
+ // vestibule, the Prediction Exchange) may sit on the ground floor.
+ if id != 6100 && (len(r.CasinoTables)+len(r.CasinoMachines)) > 0 && grid.Coord[id][2] != grid.Coord[6101][2] {
t.Errorf("casino room %d drifted off the gaming floor", id)
}
if strings.Contains(r.Name, "Future ") {