diff options
| author | historia <[not public]> | 2026-10-05 06:03:49 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-05 06:03:49 -0400 |
| commit | c84a9944356f590d90d819d652bdf1349ebacd40 (patch) | |
| tree | af1ee15992e141fb3eb6f26cac02cf06306d4982 /internal/game/vesta_world_test.go | |
| parent | 8b78aa4cd930fde145959704ba7bdc0e57465b9b (diff) | |
| download | thehouseoficarus-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.go | 5 |
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 ") { |
