diff options
| author | troido <troido@protonmail.com> | 2020-09-27 17:42:44 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-09-27 17:42:44 +0200 |
| commit | 09cc0f0e81a339faec191b773b5eca985d15799c (patch) | |
| tree | 26321aadc3981a0836170c14262ca40bd9a43486 /content/maps/cave.json | |
| parent | 3b483c793f0f2c8e76f599f74285f237d5dde00e (diff) | |
templates are not used as {"type": something} anymore
Diffstat (limited to 'content/maps/cave.json')
| -rw-r--r-- | content/maps/cave.json | 28 |
1 files changed, 6 insertions, 22 deletions
diff --git a/content/maps/cave.json b/content/maps/cave.json index 084aeca..bc67b8d 100644 --- a/content/maps/cave.json +++ b/content/maps/cave.json @@ -59,35 +59,19 @@ ".": "ground", "+": "floor", "<": [ - {"type": "portal", "kwargs": {"destination": "begin", "destpos": "caveentrance"}}, - {"type": "img", "kwargs": {"sprite": "stairup"}}, + {":template": "portal", "destination": "begin", "destpos": "caveentrance"}, + {":template": "img", "sprite": "stairup"}, "floor" ], "g": [ "ground", - { - "type": "spawner", - "kwargs": { - "template": {"type": "goblin"}, - "amount": 2, - "delay": 50, - "initial_spawn": true - } - }, - {"type": "img", "kwargs": {"sprite": "spawner"}} + {":template": "spawner", "template": {":template": "goblin"}, "amount": 2, "delay": 50, "initial_spawn": true}, + {":template": "img", "sprite": "spawner"} ], "T": [ "ground", - { - "type": "spawner", - "kwargs": { - "template": {"type": "troll"}, - "amount": 1, - "delay": 200, - "initial_spawn": true - } - }, - {"type": "img", "kwargs": {"sprite": "spawner"}} + {":template": "spawner", "template": {":template": "troll"}, "amount": 1, "delay": 200, "initial_spawn": true}, + {":template": "img", "sprite": "spawner"} ], " ": [] } |
