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/town.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'content/maps/town.json') diff --git a/content/maps/town.json b/content/maps/town.json index c2b0624..f9b0f1d 100644 --- a/content/maps/town.json +++ b/content/maps/town.json @@ -85,10 +85,7 @@ "X": "rock", "^": ["spiketrap", "ground"], "D": ["floor", "opendoor"], - "%": [{ - "type": "portal", - "kwargs": {"destination": "smallview", "destpos": "towneast"} - }, "ground"], + "%": [{":template": "portal", "destination": "smallview", "destpos": "towneast"}, "ground"], "r": ["grass", "rabbit"], "S": ["floor", "toolsmith"], "t": ["floor", "trader"], -- cgit