From c705ae942573984784ef501bf8198f61f5206ddd Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 9 Jul 2026 05:27:10 -0400 Subject: refactor: simplify yaml, remove support for old scalar fields --- internal/world/room_test.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'internal/world/room_test.go') diff --git a/internal/world/room_test.go b/internal/world/room_test.go index 1ad974e..855eba5 100644 --- a/internal/world/room_test.go +++ b/internal/world/room_test.go @@ -27,11 +27,13 @@ objects: - id: workbench - name: window hidden: true - description: "A small window." + description: + - text: "A small window." - id: control name: instrument panel aliases: [cockpit] - description: "A panel." + description: + - text: "A panel." ` // rebuild the path index so LoadRoom can find the room file writeRoom(t, dir, body) @@ -98,7 +100,8 @@ func TestExitDefUnmarshalAlwaysBlocked(t *testing.T) { north: room: 5 always_blocked: true - south: 3 + south: + room: 3 east: room: 7 hidden: true -- cgit v1.2.3