summaryrefslogtreecommitdiff
path: root/content/maps/smallview.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/smallview.json
parent3b483c793f0f2c8e76f599f74285f237d5dde00e (diff)
templates are not used as {"type": something} anymore
Diffstat (limited to 'content/maps/smallview.json')
-rw-r--r--content/maps/smallview.json19
1 files changed, 5 insertions, 14 deletions
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"],
" ": []
}