From d9f62c3a66910f9a3928b9e86cf8d38ee46a36c9 Mon Sep 17 00:00:00 2001
From: Chris Kearney <chris.kearney@urbanairship.com>
Date: Sat, 6 Sep 2014 23:38:21 -0700
Subject: [PATCH] Well, building works.

---
 .../server/command/admin/BuildCommand.java    |  23 +-
 .../comandante/creeper/world/MapMatrix.java   |  13 +
 world/main_floor.json                         | 240 +++++++++++-------
 3 files changed, 186 insertions(+), 90 deletions(-)

diff --git a/src/main/java/com/comandante/creeper/server/command/admin/BuildCommand.java b/src/main/java/com/comandante/creeper/server/command/admin/BuildCommand.java
index 5e727046..d76805ef 100644
--- a/src/main/java/com/comandante/creeper/server/command/admin/BuildCommand.java
+++ b/src/main/java/com/comandante/creeper/server/command/admin/BuildCommand.java
@@ -2,6 +2,7 @@ package com.comandante.creeper.server.command.admin;
 
 import com.comandante.creeper.managers.GameManager;
 import com.comandante.creeper.player.Player;
+import com.comandante.creeper.player.PlayerMovement;
 import com.comandante.creeper.server.ChannelUtils;
 import com.comandante.creeper.server.CreeperSession;
 import com.comandante.creeper.server.command.Command;
@@ -56,7 +57,7 @@ public class BuildCommand extends Command {
                         mapMatrix.addRow(true);
                         coords = new Coords(0, roomCoords.column);
                     }
-                    buildBasicRoom(currentRoom, coords, mapMatrix);
+                    buildBasicRoom(player, currentRoom, coords, mapMatrix);
                     utils.write(playerId, "Room created.");
                     return;
                 } else {
@@ -68,7 +69,7 @@ public class BuildCommand extends Command {
                     if (coords.getRow() >= mapMatrix.getMaxRow()) {
                         mapMatrix.addRow(false);
                     }
-                    buildBasicRoom(currentRoom, coords, mapMatrix);
+                    buildBasicRoom(player, currentRoom, coords, mapMatrix);
                     utils.write(playerId, "Room created.");
                     return;
                 } else {
@@ -76,7 +77,12 @@ public class BuildCommand extends Command {
                 }
             } else if (desiredBuildDirection.equalsIgnoreCase("e") | desiredBuildDirection.equalsIgnoreCase("east")) {
                 if (!currentRoom.getEastId().isPresent() && mapMatrix.getEast(currentRoom.getRoomId()) == 0) {
-                    buildBasicRoom(currentRoom, new Coords(roomCoords.row, roomCoords.column + 1), mapMatrix);
+                    Coords coords = new Coords(roomCoords.row, roomCoords.column + 1);
+                    if (coords.getColumn() >= mapMatrix.getMaxCol()) {
+                        mapMatrix.addColumn(false);
+                        coords = new Coords(roomCoords.row, roomCoords.column + 1);
+                    }
+                    buildBasicRoom(player, currentRoom, coords, mapMatrix);
                     utils.write(playerId, "Room created.");
                     return;
                 } else {
@@ -84,7 +90,12 @@ public class BuildCommand extends Command {
                 }
             } else if (desiredBuildDirection.equalsIgnoreCase("w") | desiredBuildDirection.equalsIgnoreCase("west")) {
                 if (!currentRoom.getWestId().isPresent() && mapMatrix.getWest(currentRoom.getRoomId()) == 0) {
-                    buildBasicRoom(currentRoom, new Coords(roomCoords.row, roomCoords.column - 1), mapMatrix);
+                    Coords coords = new Coords(roomCoords.row, roomCoords.column - 1);
+                    if (coords.getColumn() < 0) {
+                        mapMatrix.addColumn(true);
+                        coords = new Coords(roomCoords.row, 0);
+                    }
+                    buildBasicRoom(player, currentRoom, coords, mapMatrix);
                     utils.write(playerId, "Room created.");
                     return;
                 } else {
@@ -96,7 +107,7 @@ public class BuildCommand extends Command {
         }
     }
 
-    private void buildBasicRoom(Room currentRoom, Coords newCords, MapMatrix mapMatrix) {
+    private void buildBasicRoom(Player player, Room currentRoom, Coords newCords, MapMatrix mapMatrix) {
         Integer newRroomId = findRoomId();
         mapMatrix.setCoordsValue(newCords, newRroomId);
         BasicRoomBuilder basicRoomBuilder = new BasicRoomBuilder();
@@ -124,6 +135,8 @@ public class BuildCommand extends Command {
             rebuildExits(roomManager.getRoom(basicRoom.getWestId().get()), mapMatrix);
         }
         getGameManager().getMapsManager().generateAllMaps(9, 9);
+        getGameManager().movePlayer(new PlayerMovement(player, currentRoom.getRoomId(), basicRoom.getRoomId(), null, "", ""));
+        getGameManager().currentRoomLogic(player.getPlayerId());
     }
 
     private void rebuildExits(Room room, MapMatrix mapMatrix) {
diff --git a/src/main/java/com/comandante/creeper/world/MapMatrix.java b/src/main/java/com/comandante/creeper/world/MapMatrix.java
index 82a1bc3f..1daeb233 100644
--- a/src/main/java/com/comandante/creeper/world/MapMatrix.java
+++ b/src/main/java/com/comandante/creeper/world/MapMatrix.java
@@ -210,4 +210,17 @@ public class MapMatrix {
         }
         setMax(new Coords(matrix.size(), matrix.get(0).size()));
     }
+
+    public void addColumn(boolean startOfArray) {
+        Iterator<List<Integer>> rows = getRows();
+        while (rows.hasNext()) {
+            List<Integer> next = rows.next();
+            if (startOfArray) {
+                next.add(0, 0);
+            } else {
+                next.add(0);
+            }
+        }
+        setMax(new Coords(matrix.size(), matrix.get(0).size()));
+    }
 }
diff --git a/world/main_floor.json b/world/main_floor.json
index 190f7fee..1cb0de05 100644
--- a/world/main_floor.json
+++ b/world/main_floor.json
@@ -1,10 +1,10 @@
 {
   "name": "main",
   "id": 0,
-  "rawMatrixCsv": ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,46,45,44,43,42,41,40,39,38,37,36,35,34,33,,,,,\n,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,47,,,,,,,,,,,,,32,,,,,\n,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,49,48,,,,,,,,,,,,,31,,,,,\n,,,,,,,,,,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,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,63,,69,,,,,,,,,,,,,\n,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,64,65,66,,,,,,,,,,,,,\n,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,70,,,,,,,,,,,,,\n",
   "roomModels": [
     {
-      "roomId": 54,
+      "roomId": 43,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -14,7 +14,7 @@
       ]
     },
     {
-      "roomId": 53,
+      "roomId": 49,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -24,7 +24,7 @@
       ]
     },
     {
-      "roomId": 14,
+      "roomId": 13,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -34,7 +34,7 @@
       ]
     },
     {
-      "roomId": 49,
+      "roomId": 15,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -44,7 +44,7 @@
       ]
     },
     {
-      "roomId": 21,
+      "roomId": 62,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -54,7 +54,7 @@
       ]
     },
     {
-      "roomId": 27,
+      "roomId": 19,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -64,7 +64,7 @@
       ]
     },
     {
-      "roomId": 65,
+      "roomId": 52,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -74,27 +74,27 @@
       ]
     },
     {
-      "roomId": 70,
+      "roomId": 58,
       "floorId": 0,
-      "roomDescription": "Newly created room. Set a new description with the desc command.",
-      "roomTitle": "Default Title, change with title command",
+      "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
+      "roomTitle": "This is a blank title.",
       "roomTags": [],
       "areaNames": [
-        "default"
+        "newbie_zone"
       ]
     },
     {
-      "roomId": 68,
+      "roomId": 59,
       "floorId": 0,
-      "roomDescription": "Newly created room. Set a new description with the desc command.",
-      "roomTitle": "Default Title, change with title command",
+      "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
+      "roomTitle": "This is a blank title.",
       "roomTags": [],
       "areaNames": [
         "newbie_zone"
       ]
     },
     {
-      "roomId": 8,
+      "roomId": 10,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -104,7 +104,7 @@
       ]
     },
     {
-      "roomId": 26,
+      "roomId": 7,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -114,7 +114,7 @@
       ]
     },
     {
-      "roomId": 4,
+      "roomId": 42,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -124,7 +124,7 @@
       ]
     },
     {
-      "roomId": 56,
+      "roomId": 18,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -134,17 +134,17 @@
       ]
     },
     {
-      "roomId": 67,
+      "roomId": 56,
       "floorId": 0,
-      "roomDescription": "Newly created room. Set a new description with the desc command.",
-      "roomTitle": "Default Title, change with title command",
+      "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
+      "roomTitle": "This is a blank title.",
       "roomTags": [],
       "areaNames": [
         "newbie_zone"
       ]
     },
     {
-      "roomId": 31,
+      "roomId": 17,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -154,7 +154,7 @@
       ]
     },
     {
-      "roomId": 57,
+      "roomId": 46,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -164,7 +164,7 @@
       ]
     },
     {
-      "roomId": 30,
+      "roomId": 8,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -174,7 +174,7 @@
       ]
     },
     {
-      "roomId": 10,
+      "roomId": 61,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -184,7 +184,7 @@
       ]
     },
     {
-      "roomId": 62,
+      "roomId": 66,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -194,7 +194,7 @@
       ]
     },
     {
-      "roomId": 61,
+      "roomId": 65,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -204,7 +204,7 @@
       ]
     },
     {
-      "roomId": 6,
+      "roomId": 37,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -214,7 +214,7 @@
       ]
     },
     {
-      "roomId": 60,
+      "roomId": 9,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -224,7 +224,17 @@
       ]
     },
     {
-      "roomId": 66,
+      "roomId": 77,
+      "floorId": 0,
+      "roomDescription": "Newly created room. Set a new description with the desc command.",
+      "roomTitle": "Default Title, change with title command",
+      "roomTags": [],
+      "areaNames": [
+        "default"
+      ]
+    },
+    {
+      "roomId": 54,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -234,7 +244,7 @@
       ]
     },
     {
-      "roomId": 59,
+      "roomId": 5,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -244,7 +254,7 @@
       ]
     },
     {
-      "roomId": 46,
+      "roomId": 23,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -254,7 +264,17 @@
       ]
     },
     {
-      "roomId": 51,
+      "roomId": 76,
+      "floorId": 0,
+      "roomDescription": "Newly created room. Set a new description with the desc command.",
+      "roomTitle": "Default Title, change with title command",
+      "roomTags": [],
+      "areaNames": [
+        "default"
+      ]
+    },
+    {
+      "roomId": 26,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -264,7 +284,7 @@
       ]
     },
     {
-      "roomId": 44,
+      "roomId": 6,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -274,7 +294,7 @@
       ]
     },
     {
-      "roomId": 41,
+      "roomId": 20,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -284,7 +304,7 @@
       ]
     },
     {
-      "roomId": 12,
+      "roomId": 16,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -294,7 +314,7 @@
       ]
     },
     {
-      "roomId": 45,
+      "roomId": 36,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -304,7 +324,17 @@
       ]
     },
     {
-      "roomId": 23,
+      "roomId": 68,
+      "floorId": 0,
+      "roomDescription": "Newly created room. Set a new description with the desc command.",
+      "roomTitle": "Default Title, change with title command",
+      "roomTags": [],
+      "areaNames": [
+        "newbie_zone"
+      ]
+    },
+    {
+      "roomId": 32,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -314,7 +344,7 @@
       ]
     },
     {
-      "roomId": 34,
+      "roomId": 22,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -324,7 +354,17 @@
       ]
     },
     {
-      "roomId": 13,
+      "roomId": 70,
+      "floorId": 0,
+      "roomDescription": "Newly created room. Set a new description with the desc command.",
+      "roomTitle": "Default Title, change with title command",
+      "roomTags": [],
+      "areaNames": [
+        "newbie_zone"
+      ]
+    },
+    {
+      "roomId": 14,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -334,7 +374,7 @@
       ]
     },
     {
-      "roomId": 15,
+      "roomId": 27,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -344,7 +384,7 @@
       ]
     },
     {
-      "roomId": 28,
+      "roomId": 31,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -354,7 +394,7 @@
       ]
     },
     {
-      "roomId": 47,
+      "roomId": 48,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -364,7 +404,7 @@
       ]
     },
     {
-      "roomId": 38,
+      "roomId": 51,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -374,7 +414,7 @@
       ]
     },
     {
-      "roomId": 2,
+      "roomId": 38,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -384,7 +424,7 @@
       ]
     },
     {
-      "roomId": 5,
+      "roomId": 50,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -394,7 +434,7 @@
       ]
     },
     {
-      "roomId": 20,
+      "roomId": 11,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -404,7 +444,7 @@
       ]
     },
     {
-      "roomId": 35,
+      "roomId": 3,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -414,7 +454,7 @@
       ]
     },
     {
-      "roomId": 17,
+      "roomId": 12,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -424,7 +464,7 @@
       ]
     },
     {
-      "roomId": 32,
+      "roomId": 35,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -434,7 +474,7 @@
       ]
     },
     {
-      "roomId": 3,
+      "roomId": 57,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -444,7 +484,7 @@
       ]
     },
     {
-      "roomId": 29,
+      "roomId": 41,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -454,7 +494,7 @@
       ]
     },
     {
-      "roomId": 58,
+      "roomId": 29,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -464,7 +504,7 @@
       ]
     },
     {
-      "roomId": 42,
+      "roomId": 55,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -474,7 +514,7 @@
       ]
     },
     {
-      "roomId": 55,
+      "roomId": 4,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -484,7 +524,7 @@
       ]
     },
     {
-      "roomId": 18,
+      "roomId": 1,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -494,7 +534,7 @@
       ]
     },
     {
-      "roomId": 48,
+      "roomId": 39,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -504,7 +544,7 @@
       ]
     },
     {
-      "roomId": 40,
+      "roomId": 2,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -514,7 +554,27 @@
       ]
     },
     {
-      "roomId": 43,
+      "roomId": 72,
+      "floorId": 0,
+      "roomDescription": "Newly created room. Set a new description with the desc command.",
+      "roomTitle": "Default Title, change with title command",
+      "roomTags": [],
+      "areaNames": [
+        "default"
+      ]
+    },
+    {
+      "roomId": 71,
+      "floorId": 0,
+      "roomDescription": "Newly created room. Set a new description with the desc command.",
+      "roomTitle": "Default Title, change with title command",
+      "roomTags": [],
+      "areaNames": [
+        "default"
+      ]
+    },
+    {
+      "roomId": 63,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -524,7 +584,7 @@
       ]
     },
     {
-      "roomId": 39,
+      "roomId": 34,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -534,7 +594,7 @@
       ]
     },
     {
-      "roomId": 9,
+      "roomId": 30,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -544,7 +604,7 @@
       ]
     },
     {
-      "roomId": 63,
+      "roomId": 47,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -554,7 +614,7 @@
       ]
     },
     {
-      "roomId": 19,
+      "roomId": 33,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -564,7 +624,7 @@
       ]
     },
     {
-      "roomId": 69,
+      "roomId": 73,
       "floorId": 0,
       "roomDescription": "Newly created room. Set a new description with the desc command.",
       "roomTitle": "Default Title, change with title command",
@@ -574,17 +634,17 @@
       ]
     },
     {
-      "roomId": 1,
+      "roomId": 67,
       "floorId": 0,
-      "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
-      "roomTitle": "This is a blank title.",
+      "roomDescription": "Newly created room. Set a new description with the desc command.",
+      "roomTitle": "Default Title, change with title command",
       "roomTags": [],
       "areaNames": [
         "newbie_zone"
       ]
     },
     {
-      "roomId": 36,
+      "roomId": 53,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -594,7 +654,7 @@
       ]
     },
     {
-      "roomId": 16,
+      "roomId": 24,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -604,7 +664,7 @@
       ]
     },
     {
-      "roomId": 50,
+      "roomId": 60,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -614,7 +674,7 @@
       ]
     },
     {
-      "roomId": 52,
+      "roomId": 45,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -624,17 +684,17 @@
       ]
     },
     {
-      "roomId": 37,
+      "roomId": 69,
       "floorId": 0,
-      "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
-      "roomTitle": "This is a blank title.",
+      "roomDescription": "Newly created room. Set a new description with the desc command.",
+      "roomTitle": "Default Title, change with title command",
       "roomTags": [],
       "areaNames": [
         "newbie_zone"
       ]
     },
     {
-      "roomId": 64,
+      "roomId": 44,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -644,7 +704,7 @@
       ]
     },
     {
-      "roomId": 22,
+      "roomId": 25,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -654,17 +714,27 @@
       ]
     },
     {
-      "roomId": 25,
+      "roomId": 75,
       "floorId": 0,
-      "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
-      "roomTitle": "This is a blank title.",
+      "roomDescription": "Newly created room. Set a new description with the desc command.",
+      "roomTitle": "Default Title, change with title command",
       "roomTags": [],
       "areaNames": [
-        "newbie_zone"
+        "default"
       ]
     },
     {
-      "roomId": 24,
+      "roomId": 74,
+      "floorId": 0,
+      "roomDescription": "Newly created room. Set a new description with the desc command.",
+      "roomTitle": "Default Title, change with title command",
+      "roomTags": [],
+      "areaNames": [
+        "default"
+      ]
+    },
+    {
+      "roomId": 21,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -674,7 +744,7 @@
       ]
     },
     {
-      "roomId": 33,
+      "roomId": 64,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -684,7 +754,7 @@
       ]
     },
     {
-      "roomId": 7,
+      "roomId": 28,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
@@ -694,7 +764,7 @@
       ]
     },
     {
-      "roomId": 11,
+      "roomId": 40,
       "floorId": 0,
       "roomDescription": "This is a blank Description.\nWords should go here, ideally.",
       "roomTitle": "This is a blank title.",
-- 
GitLab