From 6b2b4bf470b655f01c5a21c5f558a6102402c214 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 11 Jun 2026 19:24:25 -0400 Subject: feat: map implemented with BFS --- data/rooms/1.yaml | 3 +++ data/rooms/22.yaml | 7 +++++++ data/rooms/23.yaml | 7 +++++++ data/rooms/24.yaml | 7 +++++++ data/rooms/25.yaml | 7 +++++++ data/rooms/26.yaml | 7 +++++++ data/rooms/27.yaml | 7 +++++++ data/rooms/28.yaml | 6 ++++++ data/rooms/3.yaml | 1 + data/rooms/30.yaml | 6 ++++++ data/rooms/31.yaml | 6 ++++++ 11 files changed, 64 insertions(+) create mode 100644 data/rooms/22.yaml create mode 100644 data/rooms/23.yaml create mode 100644 data/rooms/24.yaml create mode 100644 data/rooms/25.yaml create mode 100644 data/rooms/26.yaml create mode 100644 data/rooms/27.yaml create mode 100644 data/rooms/28.yaml create mode 100644 data/rooms/30.yaml create mode 100644 data/rooms/31.yaml (limited to 'data/rooms') diff --git a/data/rooms/1.yaml b/data/rooms/1.yaml index 77c49a0..c8d8aa1 100644 --- a/data/rooms/1.yaml +++ b/data/rooms/1.yaml @@ -4,6 +4,9 @@ description: "The central square of Lumbridge. A fountain gurgles peacefully in map_symbol: "S" exits: east: 2 + west: 22 + up: 30 + down: 31 objects: - id: lumby_fountain mobs: diff --git a/data/rooms/22.yaml b/data/rooms/22.yaml new file mode 100644 index 0000000..478995b --- /dev/null +++ b/data/rooms/22.yaml @@ -0,0 +1,7 @@ +id: 22 +name: "West of Town Square" +description: "" +map_symbol: "W" +exits: + east: 1 + west: 23 diff --git a/data/rooms/23.yaml b/data/rooms/23.yaml new file mode 100644 index 0000000..f7301f6 --- /dev/null +++ b/data/rooms/23.yaml @@ -0,0 +1,7 @@ +id: 23 +name: "West of West of Town Square" +description: "Here is a description of where we are!" +map_symbol: "D" +exits: + east: 22 + south: 24 diff --git a/data/rooms/24.yaml b/data/rooms/24.yaml new file mode 100644 index 0000000..60bf0d8 --- /dev/null +++ b/data/rooms/24.yaml @@ -0,0 +1,7 @@ +id: 24 +name: "South of West of West of Town Square" +description: "Here is a description of where we are!" +map_symbol: "N" +exits: + north: 23 + east: 25 diff --git a/data/rooms/25.yaml b/data/rooms/25.yaml new file mode 100644 index 0000000..a3dd843 --- /dev/null +++ b/data/rooms/25.yaml @@ -0,0 +1,7 @@ +id: 25 +name: "East of South of West of West of Town Square" +description: "Here is a description of where we are!" +map_symbol: "N" +exits: + west: 24 + east: 26 diff --git a/data/rooms/26.yaml b/data/rooms/26.yaml new file mode 100644 index 0000000..a2899e7 --- /dev/null +++ b/data/rooms/26.yaml @@ -0,0 +1,7 @@ +id: 26 +name: "East of South of West of West of Town Square" +description: "Here is a description of where we are!" +map_symbol: "Q" +exits: + west: 25 + south: 27 diff --git a/data/rooms/27.yaml b/data/rooms/27.yaml new file mode 100644 index 0000000..d435424 --- /dev/null +++ b/data/rooms/27.yaml @@ -0,0 +1,7 @@ +id: 27 +name: "East of South of West of West of Town Square" +description: "Here is a description of where we are!" +map_symbol: "J" +exits: + west: 28 + north: 26 diff --git a/data/rooms/28.yaml b/data/rooms/28.yaml new file mode 100644 index 0000000..03913d5 --- /dev/null +++ b/data/rooms/28.yaml @@ -0,0 +1,6 @@ +id: 28 +name: "East of South of West of West of Town Square" +description: "Here is a description of where we are!" +map_symbol: "r" +exits: + east: 27 diff --git a/data/rooms/3.yaml b/data/rooms/3.yaml index b54546f..8e4d1ed 100644 --- a/data/rooms/3.yaml +++ b/data/rooms/3.yaml @@ -1,6 +1,7 @@ id: 3 name: "Fly Fishing Pool" description: "A calm pool where insects hover over the water. Perfect for fly fishing." +map_symbol: "X" exits: south: 2 objects: diff --git a/data/rooms/30.yaml b/data/rooms/30.yaml new file mode 100644 index 0000000..8c167eb --- /dev/null +++ b/data/rooms/30.yaml @@ -0,0 +1,6 @@ +id: 30 +name: "Above Town Square" +description: "The central square of Lumbridge. A fountain gurgles peacefully in the center. Paths lead west toward the gathering grounds and east toward the production district." +map_symbol: "A" +exits: + down: 1 diff --git a/data/rooms/31.yaml b/data/rooms/31.yaml new file mode 100644 index 0000000..fc57b2d --- /dev/null +++ b/data/rooms/31.yaml @@ -0,0 +1,6 @@ +id: 31 +name: "Below Town Square" +description: "The central square of Lumbridge. A fountain gurgles peacefully in the center. Paths lead west toward the gathering grounds and east toward the production district." +map_symbol: "b" +exits: + up: 1 -- cgit v1.2.3