summaryrefslogtreecommitdiff
path: root/content/maps
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-09-26 14:05:14 +0200
committertroido <troido@protonmail.com>2020-09-26 14:05:14 +0200
commit9b7e3d14b3f35163199ed704ae35544fa658931e (patch)
tree9ad3623420f34b48f538ff2ceca6e3a277f16758 /content/maps
parent450cf9331803532cb0e3a002fec17d12be18abd6 (diff)
spawned entities are now saved but not spawned again until removed
Diffstat (limited to 'content/maps')
-rw-r--r--content/maps/begin.json2
-rw-r--r--content/maps/smallview.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/content/maps/begin.json b/content/maps/begin.json
index e01e866..d8f8efe 100644
--- a/content/maps/begin.json
+++ b/content/maps/begin.json
@@ -116,7 +116,7 @@
{"type": "img", "kwargs": {"sprite": "stairdown"}},
"floor"
],
- "r": ["grass", "rabbit"],
+ "r": ["grass", {"type": "singleton", "kwargs": {"ent": {"type": "rabbit"}}}],
"3": [{
"type": "portal",
"kwargs": {"destination": "smallview", "destpos": "begin"}
diff --git a/content/maps/smallview.json b/content/maps/smallview.json
index 49f48b4..3ddd9ac 100644
--- a/content/maps/smallview.json
+++ b/content/maps/smallview.json
@@ -61,7 +61,7 @@
"type": "portal",
"kwargs": {"destination": "town", "destpos": "gate"}
}, "floor"],
- "3": [{"type": "homeportal", "kwargs": {"dedup_id": "homeportal"}, "save": true}, "floor", {"type": "img", "kwargs": {"sprite": "portal", "height": 1.0}}],
+ "3": ["homeportal", "floor", {"type": "img", "kwargs": {"sprite": "portal", "height": 1.0}}],
"4": [{
"type": "portal",
"kwargs": {"destination": "room"}