diff --git a/mapeditor.html b/mapeditor.html index 03661e7ec21cfaa92d795b42cfe1af0b1c03e7fa..c8568cba5ea663346dad61547f287067089023ee 100644 --- a/mapeditor.html +++ b/mapeditor.html @@ -6,20 +6,13 @@ ASCII Map Editor -
-

ASCII Map Editor

-

Paint tiles directly onto the grid. Export keeps the same text layout as your map files.

-
+
-
- -
@@ -240,6 +189,16 @@ "╚", "╝", "═", "║", + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", "#", ".", "~", @@ -259,6 +218,16 @@ "B": "Red", "S": "Red", "G": "Red", "$": "Gold", + "0": "Cyan", + "1": "Cyan", + "2": "Cyan", + "3": "Cyan", + "4": "Cyan", + "5": "Cyan", + "6": "Cyan", + "7": "Cyan", + "8": "Cyan", + "9": "Cyan", " ": "Void", "┌": "Border corner", "┐": "Border corner", @@ -321,6 +290,7 @@ const tileClass = (tile) => { if ("#┌┐└┘─│╔╗╚╝═║".includes(tile)) return "wall"; if (tile === ".") return "floor"; if (tile === "~") return "water"; + if ("0123456789".includes(tile)) return "cyan"; if (tile === "N") return "cyan"; if ("BSG".includes(tile)) return "red"; if (tile === "$") return "gold";