diff options
| author | troido <troido@protonmail.com> | 2020-04-15 12:23:06 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-04-15 12:23:06 +0200 |
| commit | 43bde225ebbadd0b917ca87f3164a50455a2b588 (patch) | |
| tree | c9c2bb0c6839af01a02acba1c338b2d8c59cfcb5 /content | |
| parent | 30a5688010bf07a9e0807ed0c2dc7c51f0e9dae4 (diff) | |
visit other players
Diffstat (limited to 'content')
| -rw-r--r-- | content/encyclopediae/default_encyclopedia.json | 7 | ||||
| -rw-r--r-- | content/maps/smallview.json | 5 |
2 files changed, 8 insertions, 4 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json index ac25482..d3d0507 100644 --- a/content/encyclopediae/default_encyclopedia.json +++ b/content/encyclopediae/default_encyclopedia.json @@ -80,6 +80,13 @@ ], "flags": ["Floor"] }, + "homeportal": { + "components": [ + ["RoomExit", {"destination": "_home+{player}", "dest_pos": ""}], + ["Interactable", {"action": ["interaction", ["visit", "_home+{player}"]]}] + ], + "flags": ["Floor"] + }, "img": { "arguments": [["sprite", "string", ""], ["height", "float", 1.0]], "components": [ diff --git a/content/maps/smallview.json b/content/maps/smallview.json index bcfd1f4..e9699a6 100644 --- a/content/maps/smallview.json +++ b/content/maps/smallview.json @@ -70,10 +70,7 @@ "type": "portal", "kwargs": {"destination": "town", "destpos": "gate"} }, "floor"], - "3": [{ - "type": "portal", - "kwargs": {"destination": "_home+{player}"} - }, "floor"], + "3": ["homeportal", "floor"], "4": [{ "type": "portal", "kwargs": {"destination": "room"} |
