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/smallview.json | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'content/maps/smallview.json') diff --git a/content/maps/smallview.json b/content/maps/smallview.json index 3ddd9ac..cabf10f 100644 --- a/content/maps/smallview.json +++ b/content/maps/smallview.json @@ -47,25 +47,16 @@ "Y": ["grass", "plant"], "T": ["grass", "tree"], "~": "water", - "=": ["water", {"type": "bridge", "kwargs": {"small": true}}], + "=": ["water", {":template": "bridge", "small": true}], "#": "fence", ".": "ground", "+": "floor", "X": "rock", "^": "house", - "1": [{ - "type": "portal", - "kwargs": {"destination": "begin", "destpos": "bridge"} - }, "floor"], - "2": [{ - "type": "portal", - "kwargs": {"destination": "town", "destpos": "gate"} - }, "floor"], - "3": ["homeportal", "floor", {"type": "img", "kwargs": {"sprite": "portal", "height": 1.0}}], - "4": [{ - "type": "portal", - "kwargs": {"destination": "room"} - }, "floor"], + "1": [{":template": "portal", "destination": "begin", "destpos": "bridge"}, "floor"], + "2": [{":template": "portal", "destination": "town", "destpos": "gate"}, "floor"], + "3": ["homeportal", "floor", {":template": "img", "sprite": "portal", "height": 1.0}], + "4": [{":template": "portal", "destination": "room"}, "floor"], "r": ["grass", "rabbit"], " ": [] } -- cgit