From 09cc0f0e81a339faec191b773b5eca985d15799c Mon Sep 17 00:00:00 2001 From: troido Date: Sun, 27 Sep 2020 17:42:44 +0200 Subject: templates are not used as {"type": something} anymore --- content/maps/basement.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'content/maps/basement.json') 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} + ], " ": [] } } -- cgit