summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-02-23 01:18:17 +0100
committertroido <troido@protonmail.com>2020-02-23 01:18:17 +0100
commit7262cfc53b4af978d6db1b91e3143200f906587f (patch)
treef6aa651a3040a1389a9c4e82796f1c04b3c5198c /content
parent522aad7889cd62e96af7c420789507ccbf5b7aaa (diff)
rooms have named locations to be used by portals
Diffstat (limited to 'content')
-rw-r--r--content/maps/broom.json5
-rw-r--r--content/maps/room.json2
2 files changed, 5 insertions, 2 deletions
diff --git a/content/maps/broom.json b/content/maps/broom.json
index f6044a6..c9f3762 100644
--- a/content/maps/broom.json
+++ b/content/maps/broom.json
@@ -1,7 +1,10 @@
{
"width": 42,
"height": 23,
- "spawn": [5, 5],
+ "spawn": [5, 15],
+ "places": {
+ "northentry": [6, 1]
+ },
"field": [
" %%% ",
"XXXXX,.,XXXXXXXXXX~~~XXXXXXXXXXXXXXXXXXXXX",
diff --git a/content/maps/room.json b/content/maps/room.json
index 5631b24..4bfd923 100644
--- a/content/maps/room.json
+++ b/content/maps/room.json
@@ -40,7 +40,7 @@
"X": "rock",
"*": ["grass", "pebble"],
"o": ["grass", "stone"],
- "%": {"type": "portal", "kwargs": {"destination": "broom"}},
+ "%": {"type": "portal", "kwargs": {"destination": "broom", "dest_pos": "northentry"}},
" ": []
}
}