diff options
| author | historia <[not public]> | 2026-06-10 01:48:28 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-10 01:48:28 -0400 |
| commit | a226d72e51eecb768b13600303f73483118d9104 (patch) | |
| tree | 458d15ef049732c15dacc591a830d3beddbedfde /data/rooms | |
| parent | 6a0f3d7a252de4b1741cfe5e1c561412c602becc (diff) | |
| download | thehouseoficarus-a226d72e51eecb768b13600303f73483118d9104.tar.gz | |
feat: implemented janky object interaction model
Diffstat (limited to 'data/rooms')
| -rw-r--r-- | data/rooms/1.yaml | 3 | ||||
| -rw-r--r-- | data/rooms/10.yaml | 20 | ||||
| -rw-r--r-- | data/rooms/11.yaml | 17 | ||||
| -rw-r--r-- | data/rooms/2.yaml | 16 | ||||
| -rw-r--r-- | data/rooms/4.yaml | 6 | ||||
| -rw-r--r-- | data/rooms/5.yaml | 3 | ||||
| -rw-r--r-- | data/rooms/6.yaml | 10 | ||||
| -rw-r--r-- | data/rooms/7.yaml | 6 | ||||
| -rw-r--r-- | data/rooms/8.yaml | 14 | ||||
| -rw-r--r-- | data/rooms/9.yaml | 5 |
10 files changed, 75 insertions, 25 deletions
diff --git a/data/rooms/1.yaml b/data/rooms/1.yaml index 97615a6..2f30f7e 100644 --- a/data/rooms/1.yaml +++ b/data/rooms/1.yaml @@ -4,9 +4,10 @@ description: "A bustling town square in the heart of Lumbridge. Cobblestone path map_symbol: "S" exits: north: 2 + west: 7 east: 3 objects: - - "lumby_fountain" + - id: lumby_fountain spawns: - item_id: "copper_ore" quantity: 1 diff --git a/data/rooms/10.yaml b/data/rooms/10.yaml new file mode 100644 index 0000000..99e84eb --- /dev/null +++ b/data/rooms/10.yaml @@ -0,0 +1,20 @@ +id: 10 +name: "Guard Post" +description: "A checkpoint at the edge of the mine. A guard stands watch beside a heavy iron gate leading north." +exits: + west: 2 + north: + room: 11 + condition: + flag: gate_open + value: true + blocked_message: "A heavy iron gate blocks the way north. Maybe the guard can help." +objects: + - id: iron_gate +mobs: + - "guard" +on_enter: + - message: "The Guard barks: \"State your business!\"" + condition: + flag: talked_to_guard + not: true diff --git a/data/rooms/11.yaml b/data/rooms/11.yaml new file mode 100644 index 0000000..dcc3b05 --- /dev/null +++ b/data/rooms/11.yaml @@ -0,0 +1,17 @@ +id: 11 +name: "Supply Room" +description: "A dusty storage room filled with crates and barrels. This area is normally off-limits." +exits: + south: + room: 10 + condition: + flag: gate_open + value: true + blocked_message: "The iron gate is closed." +spawns: + - item_id: uncut_sapphire + quantity: 1 + respawn_ticks: 100 + - item_id: credits + quantity: 50 + respawn_ticks: 200 diff --git a/data/rooms/2.yaml b/data/rooms/2.yaml index 4b1b5f8..89913f7 100644 --- a/data/rooms/2.yaml +++ b/data/rooms/2.yaml @@ -1,8 +1,14 @@ id: 2 -name: "North Lumbridge Road" -description: "A dusty road leading north out of town. To the south you see the town square. A small mine entrance is carved into a hillside to the west." -map_symbol: "R" +name: "Copper Mine" +description: "A small mining pit. The walls glint with copper veins." exits: south: 1 - north: 4 - west: 6 + east: 10 +objects: + - id: copper_rock + - id: copper_rock + - id: copper_rock +spawns: + - item_id: bronze_pickaxe + quantity: 1 + respawn_ticks: 30 diff --git a/data/rooms/4.yaml b/data/rooms/4.yaml index ab25de1..49280fe 100644 --- a/data/rooms/4.yaml +++ b/data/rooms/4.yaml @@ -5,9 +5,3 @@ map_symbol: "F" exits: south: 2 north: 5 -objects: - - "oak_tree_1" -spawns: - - item_id: "oak_logs" - quantity: 1 - respawn_ticks: 10 diff --git a/data/rooms/5.yaml b/data/rooms/5.yaml index 097a134..3c16a41 100644 --- a/data/rooms/5.yaml +++ b/data/rooms/5.yaml @@ -4,6 +4,3 @@ description: "Thick trees surround you on all sides. Shafts of light pierce thro map_symbol: "T" exits: south: 4 -objects: - - "oak_tree_2" - - "oak_tree_3" diff --git a/data/rooms/6.yaml b/data/rooms/6.yaml index 7b5d4b4..b4bae5b 100644 --- a/data/rooms/6.yaml +++ b/data/rooms/6.yaml @@ -4,13 +4,3 @@ description: "A dark, dusty mine shaft. Veins of copper and tin run through the map_symbol: "M" exits: west: 2 -objects: - - "copper_rock_1" - - "copper_rock_2" -spawns: - - item_id: "copper_ore" - quantity: 1 - respawn_ticks: 10 - - item_id: "tin_ore" - quantity: 1 - respawn_ticks: 10 diff --git a/data/rooms/7.yaml b/data/rooms/7.yaml new file mode 100644 index 0000000..f9168ec --- /dev/null +++ b/data/rooms/7.yaml @@ -0,0 +1,6 @@ +id: 7 +name: "Lake West Shore" +description: "The western edge of a placid lake. Reeds rustle in the breeze." +exits: + east: 8 + south: 1 diff --git a/data/rooms/8.yaml b/data/rooms/8.yaml new file mode 100644 index 0000000..46e29f3 --- /dev/null +++ b/data/rooms/8.yaml @@ -0,0 +1,14 @@ +id: 8 +name: "Lake Center Shore" +description: "The center of the lake's southern shore. A good spot to cast a line." +exits: + west: 7 + east: 9 +objects: + - id: fishing_spot + wander_rooms: [7, 8, 9] + wander_interval: 12 +spawns: + - item_id: fishing_rod + quantity: 1 + respawn_ticks: 30 diff --git a/data/rooms/9.yaml b/data/rooms/9.yaml new file mode 100644 index 0000000..b5ea278 --- /dev/null +++ b/data/rooms/9.yaml @@ -0,0 +1,5 @@ +id: 9 +name: "Lake East Shore" +description: "The eastern shore of the lake. A fallen log offers a comfortable seat." +exits: + west: 8 |
