aboutsummaryrefslogtreecommitdiff
path: root/internal/world
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-27 16:50:41 -0400
committerhistoria <[not public]>2026-06-27 16:50:41 -0400
commit988b006a5bb9edb6465653566e7bdf8175347b8c (patch)
tree3a1fceff2ee80c11b5dafcc49c13ababe021e880 /internal/world
parent1cab9ca20e24742f770a676f84e4ed9f1636f297 (diff)
downloadthehouseoficarus-988b006a5bb9edb6465653566e7bdf8175347b8c.tar.gz
feat: one-way map links, blocked paths on map, map grid startup validation, user colors for maps
Diffstat (limited to 'internal/world')
-rw-r--r--internal/world/room.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/world/room.go b/internal/world/room.go
index e0e2d16..d542bf4 100644
--- a/internal/world/room.go
+++ b/internal/world/room.go
@@ -68,6 +68,7 @@ func (e *ExitDef) UnmarshalYAML(value *yaml.Node) error {
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"`