summaryrefslogtreecommitdiff
path: root/content/maps/basement.json
diff options
context:
space:
mode:
Diffstat (limited to 'content/maps/basement.json')
-rw-r--r--content/maps/basement.json49
1 files changed, 49 insertions, 0 deletions
diff --git a/content/maps/basement.json b/content/maps/basement.json
new file mode 100644
index 0000000..0d090b4
--- /dev/null
+++ b/content/maps/basement.json
@@ -0,0 +1,49 @@
+{
+ "width": 24,
+ "height": 11,
+ "spawn": [17, 8],
+ "places": {
+ "stairup": [17, 8]
+ },
+
+ "field": [
+ " ############### ",
+ " #++++++++a++++# ",
+ " #+++++++++++++# ",
+ " #+a+++++++++++# ",
+ " #+++++++++++++# ",
+ " #+++++a+++++++# ",
+ " ##D######D##### ",
+ " #++++++#++++++# ",
+ " #+a++:+#++++<+# ",
+ " #++++++#++++++# ",
+ " ############### "
+ ],
+ "mapping": {
+ ",": "grass",
+ "Y": ["grass", "radishplant"],
+ "~": "water",
+ "#": "wall",
+ "X": "rock",
+ ".": "ground",
+ "+": "floor",
+ "^": ["spiketrap"],
+ "D": ["ground", "closeddoor"],
+ "<": [
+ {"type": "portal", "args": ["begin", "stairdown"]},
+ {"type": "img", "args": ["stairup"]},
+ "floor"
+ ],
+ "a": ["floor", {
+ "type": "spawner",
+ "args": [{"type": "rat"}, 1, 300],
+ "kwargs": {"initialSpawn": true, "setHome": true}
+ }],
+ ":": ["floor", {
+ "type": "spawner",
+ "args": [{"type": "carrotseed"}, 1, 1200],
+ "kwargs": {"initialSpawn": false}
+ }],
+ " ": []
+ }
+}