summaryrefslogtreecommitdiffstats
path: root/static/resources/map/test.json
diff options
context:
space:
mode:
Diffstat (limited to 'static/resources/map/test.json')
-rw-r--r--static/resources/map/test.json84
1 files changed, 84 insertions, 0 deletions
diff --git a/static/resources/map/test.json b/static/resources/map/test.json
new file mode 100644
index 0000000..91efc19
--- /dev/null
+++ b/static/resources/map/test.json
@@ -0,0 +1,84 @@
+{
+ "tiles": [
+ "-stone/floor",
+ "-stone/plate",
+ "-stone/wall/top",
+ "-stone/wall/right",
+ "-stone/wall/bottom",
+ "-stone/wall/left",
+ "-stone/wall/top_left",
+ "-stone/wall/top_right",
+ "-stone/wall/bottom_right",
+ "-stone/wall/bottom_left",
+ "-stone/wall/top_left_inner",
+ "-stone/wall/top_right_inner",
+ "-stone/wall/bottom_right_inner",
+ "-stone/wall/bottom_left_inner",
+ "@water",
+ "-stone/border/bottom_right",
+ "-stone/border/bottom_left"
+ ],
+ "layers": [
+ {
+ "tiles": [
+ [0, 7, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 8, 0],
+ [0, 6, 1, 1, 1, 1, 15, 15, 1, 1, 1, 1, 4, 0],
+ [0, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 0],
+ [0, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 0],
+ [3, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 3],
+ [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
+ [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
+ [5, 14, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 13, 5],
+ [0, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 0],
+ [0, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 0],
+ [0, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 0],
+ [0, 10, 5, 5, 5, 14, 1, 1, 13, 5, 5, 5,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