From 9292634f2f8d71a53879ff07e1330c671b207d51 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 6 Jul 2026 23:05:04 -0400 Subject: feat: split the concept of hidden and impassable exits. add player_flag for discovered hidden exits. --- internal/world/room.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/world/room.go') diff --git a/internal/world/room.go b/internal/world/room.go index 8843b9e..29cce0b 100644 --- a/internal/world/room.go +++ b/internal/world/room.go @@ -81,6 +81,7 @@ type ExitDef struct { SetFlags map[string]any `yaml:"set_flags,omitempty"` SetPlayerFlags map[string]any `yaml:"set_player_flags,omitempty"` Hidden bool `yaml:"hidden,omitempty"` + AlwaysBlocked bool `yaml:"always_blocked,omitempty"` } func (e *ExitDef) UnmarshalYAML(value *yaml.Node) error { -- cgit v1.2.3