summaryrefslogtreecommitdiff
path: root/content/maps/basement.json
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-09-27 17:42:44 +0200
committertroido <troido@protonmail.com>2020-09-27 17:42:44 +0200
commit09cc0f0e81a339faec191b773b5eca985d15799c (patch)
tree26321aadc3981a0836170c14262ca40bd9a43486 /content/maps/basement.json
parent3b483c793f0f2c8e76f599f74285f237d5dde00e (diff)
templates are not used as {"type": something} anymore
Diffstat (limited to 'content/maps/basement.json')
-rw-r--r--content/maps/basement.json20
1 files changed, 10 insertions, 10 deletions
diff --git a/content/maps/basement.json b/content/maps/basement.json
index d5f941b..99a75de 100644
--- a/content/maps/basement.json
+++ b/content/maps/basement.json
@@ -29,18 +29,18 @@
"^": ["spiketrap"],
"D": ["ground", "closeddoor"],
"<": [
- {"type": "portal", "kwargs": {"destination": "begin", "destpos": "stairdown"}},
- {"type": "img", "kwargs": {"sprite": "stairup"}},
+ {":template": "portal", "destination": "begin", "destpos": "stairdown"},
+ {":template": "img", "sprite": "stairup"},
"floor"
],
- "a": ["floor", {
- "type": "spawner",
- "kwargs": {"template": {"type": "rat"}, "delay": 300, "initial_spawn": true}
- }],
- ":": ["floor", {
- "type": "spawner",
- "kwargs": {"template": {"type": "carrotseed"}, "delay": 1200, "initial_spawn": false}
- }],
+ "a": [
+ "floor",
+ {":template": "spawner","template": {":template": "rat"}, "delay": 300, "initial_spawn": true}
+ ],
+ ":": [
+ "floor",
+ {":template": "spawner","template": {":template": "carrotseed"}, "delay": 1200, "initial_spawn": false}
+ ],
" ": []
}
}