summaryrefslogtreecommitdiff
path: root/content/maps/cave.json
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-04-06 19:29:43 +0200
committertroido <troido@protonmail.com>2020-04-06 19:29:43 +0200
commit289a342917e9291895b0332dd4ab412b15a7fabf (patch)
tree209ccc2c1f83e3ad936c134168dadd8f71cd9590 /content/maps/cave.json
parent7c351a0c7a497d30f4826a19e6c6e92d3e7b5065 (diff)
added rooms from python asciifarm
Diffstat (limited to 'content/maps/cave.json')
-rw-r--r--content/maps/cave.json93
1 files changed, 93 insertions, 0 deletions
diff --git a/content/maps/cave.json b/content/maps/cave.json
new file mode 100644
index 0000000..6086d78
--- /dev/null
+++ b/content/maps/cave.json
@@ -0,0 +1,93 @@
+{
+ "width": 64,
+ "height": 44,
+ "spawn": [32, 4],
+ "places": {
+ "stairup": [32, 4]
+ },
+ "field": [
+ " ",
+ " ",
+ " XXX ",
+ " XXX<X ",
+ " XX...X ",
+ " X....X ",
+ " X....X ",
+ " X....XX ",
+ " X.....X ",
+ " XX....X ",
+ " X....X ",
+ " X....X ",
+ " XX....X ",
+ " X.....X ",
+ " X.....X ",
+ " X.....X ",
+ " X....XX ",
+ " X...XX ",
+ " X...X ",
+ " X...X ",
+ " XX...X ",
+ " XXXXXXX X....XX ",
+ " XXX.....XXXXXXXXX.....XXXXXXXXX XXXXX ",
+ " X.............................XXXXXX...XX ",
+ " XX.......................................X ",
+ " X.......................................XX ",
+ " X........g.....................g........X ",
+ " X.......................................XX ",
+ " X........................................X ",
+ " X.......................................XX ",
+ " X.......................................X ",
+ " XX.......................................X ",
+ " XXX........................................X ",
+ " X..........................................XX ",
+ " X...........g......................g........X ",
+ " XX..........................................X ",
+ " X..........................................X ",
+ " XXX.......................................XX ",
+ " X.......................................X ",
+ " X...XX.................................XX ",
+ " X.X...X.............T..............XX.XX ",
+ " XXX.........................XXX.......X ",
+ " XXXXXXXXXXXXX...........XXX XXXXXXXXX ",
+ " XXXXXXXXXXXXX "
+ ],
+ "mapping": {
+ ",": "grass",
+ "Y": ["grass", "plant"],
+ "~": "water",
+ "X": "wall",
+ "X": "rock",
+ ".": "ground",
+ "+": "floor",
+ "<": [
+ {"type": "portal", "args": ["begin", "caveentrance"]},
+ {"type": "img", "args": ["stairup"]},
+ "floor"
+ ],
+ "g": [
+ "ground",
+ {
+ "type": "spawner",
+ "kwargs": {
+ "template": {"type": "goblin"},
+ "amount": 2,
+ "delay": 50,
+ "initial_spawn": true
+ }
+ }
+ ],
+ "T": [
+ "ground",
+ {
+ "type": "spawner",
+ "kwargs": {
+ "template": {"type": "troll"},
+ "amount": 1,
+ "delay": 200,
+ "initial_spawn": true
+ }
+ }
+ ],
+ " ": []
+ }
+}