Fixed parsing Scenery

This commit is contained in:
Timothy O'Barr
2026-09-02 11:24:10 -05:00
parent 668d416256
commit 0e7406db96
4 changed files with 100 additions and 29 deletions
+77 -15
View File
@@ -1,39 +1,101 @@
[
[
{
"description": "A fascinating Room. There's ... nothing in it, neat.",
"description": "First Test Room",
"exits": [
{
"dir": 1,
"exitID": 0,
"isLocked": false
},
{
"dir": 2,
"exitID": 1,
"isLocked": false
}
],
"id": 0,
"name": "Test Room 1",
"scenery": [
{
"canTake": false,
"description": "A Grey Rock",
"id": 0,
"keywords": [
"Rock"
],
"name": "Rock",
"roomIdItBelongsTo": 0,
"type": 1
}
]
},
{
"description": "A court yard",
"exits": [
{
"dir": 3,
"exitID": 2,
"isLocked": false
},
{
"dir": 2,
"exitID": 3,
"isLocked": false
},
{
"dir": 1,
"exitID": 2,
"exitID": 4,
"isLocked": false
}
],
"id": 1,
"name": "Test Room 2",
"scenery": [
{
"canTake": false,
"description": "A fine looking Tree stands in the courtyard",
"id": 1,
"keywords": [
"Tree"
],
"name": "Tree",
"roomIdItBelongsTo": 1,
"type": 1
}
],
"id": -8528,
"name": "Test Room 1"
},
{
"description": "Another test room. What a shocker",
"exits": [],
"id": -8608,
"name": "Test Room 2"
]
}
],
[
{
"description": "Testing another column",
"exits": [],
"id": -8656,
"name": "Test Room 3"
"description": "You can hear the sound of a waterfall nearby",
"exits": [
{
"dir": 0,
"exitID": 5,
"isLocked": false
},
{
"dir": 2,
"exitID": 6,
"isLocked": false
}
],
"id": 3,
"name": "Test Room 3",
"scenery": [
{
"canTake": false,
"description": "A fine waterfall on a cliff",
"id": 3,
"keywords": [
"Waterfall"
],
"name": "Waterfall",
"roomIdItBelongsTo": 3,
"type": 1
}
]
}
]
]