Parse Rooms and added proper room JSON

This commit is contained in:
Timothy O'Barr
2026-08-18 11:59:09 -05:00
parent 455e54b557
commit db2cb3aeea
6 changed files with 63 additions and 79 deletions
+31 -41
View File
@@ -1,45 +1,35 @@
{
"rooms": [
[
[
{
"id": 0,
"name": "Test Room 1",
"description": "A fascinating Room. There's ... nothing in it, neat.",
"exits": [
{
"exitID": 1,
"dir": "E",
"isLocked": false
},
{
"exitID": 2,
"dir": "S",
"isLocked": false
}
]
},
{
"id": 1,
"name": "Test Room 2",
"description": "Another test room. What a shocker",
"exits": [
{}
]
}
{
"description": "A fascinating Room. There's ... nothing in it, neat.",
"exits": [
{
"dir": 2,
"exitID": 1,
"isLocked": false
},
{
"dir": 1,
"exitID": 2,
"isLocked": false
}
],
"id": -8528,
"name": "Test Room 1"
},
{
"description": "Another test room. What a shocker",
"exits": [],
"id": -8608,
"name": "Test Room 2"
}
],
[
{
"id": 6,
"name": "Test Room 3",
"description": "Testing another column",
"exits": [
{
"exitID": 0,
"dir": "S",
"isLocked": false
}
]
}
{
"description": "Testing another column",
"exits": [],
"id": -8656,
"name": "Test Room 3"
}
]
]
}
]