aboutsummaryrefslogtreecommitdiff
path: root/internal/world/room.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/world/room.go
parent8b78aa4cd930fde145959704ba7bdc0e57465b9b (diff)
downloadthehouseoficarus-c84a9944356f590d90d819d652bdf1349ebacd40.tar.gz
feat: prediction exchange with live polymarket data
Diffstat (limited to 'internal/world/room.go')
-rw-r--r--internal/world/room.go29
1 files changed, 15 insertions, 14 deletions
diff --git a/internal/world/room.go b/internal/world/room.go
index 3783a73..a87ec41 100644
--- a/internal/world/room.go
+++ b/internal/world/room.go
@@ -86,20 +86,21 @@ type ExitDef struct {
}
type Room struct {
- ID int `yaml:"id"`
- Name string `yaml:"name"`
- Color string `yaml:"color"`
- Description behavior.DescList `yaml:"description"`
- Exits map[ExitDir]ExitDef `yaml:"exits"`
- Objects []RoomObject `yaml:"objects"`
- ItemSpawns []SpawnDef `yaml:"item_spawns"`
- Mobs []RoomMob `yaml:"mobs"`
- OnEnter []behavior.Trigger `yaml:"on_enter,omitempty"`
- OnExit []behavior.Trigger `yaml:"on_exit,omitempty"`
- Hazard string `yaml:"hazard"`
- BlockTransport bool `yaml:"block_transport"`
- CasinoTables []casino.TableConfig `yaml:"casino_tables,omitempty"`
- CasinoMachines []casino.MachineConfig `yaml:"casino_machines,omitempty"`
+ ID int `yaml:"id"`
+ Name string `yaml:"name"`
+ Color string `yaml:"color"`
+ Description behavior.DescList `yaml:"description"`
+ Exits map[ExitDir]ExitDef `yaml:"exits"`
+ Objects []RoomObject `yaml:"objects"`
+ ItemSpawns []SpawnDef `yaml:"item_spawns"`
+ Mobs []RoomMob `yaml:"mobs"`
+ OnEnter []behavior.Trigger `yaml:"on_enter,omitempty"`
+ OnExit []behavior.Trigger `yaml:"on_exit,omitempty"`
+ Hazard string `yaml:"hazard"`
+ BlockTransport bool `yaml:"block_transport"`
+ PredictionExchange bool `yaml:"prediction_exchange,omitempty"`
+ CasinoTables []casino.TableConfig `yaml:"casino_tables,omitempty"`
+ CasinoMachines []casino.MachineConfig `yaml:"casino_machines,omitempty"`
}
type RoomMob struct {