Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom portals #172

Open
erkyrath opened this issue May 1, 2015 · 1 comment
Open

Custom portals #172

erkyrath opened this issue May 1, 2015 · 1 comment

Comments

@erkyrath
Copy link
Owner

erkyrath commented May 1, 2015

Possible uses for custom interworld links (that don't present themselves as, e.g., linking books).

  • A long walk from one Cavern neighborhood to another
  • Magic teleporters unrelated to the standard portal theme
  • "Death" that drops you into an afterlife world instead of /panic
  • A scene change that needs to be from a global instance to a private instance
@erkyrath
Copy link
Owner Author

erkyrath commented May 1, 2015

Note that some of these cases bypass the standard "examine portal, details in right-hand panel" view. They might be simple links. They might be code-triggered.

Therefore, we have to be careful.

  • Such links should always be uncopyable. (Or if they are copyable, they'll shed their custom nature and become normal portals).
  • Unless the customization is associated with the destination loc? Then any link to that loc, from your booklet or wherever, has the custom nature.
  • The onenter hook (when linking in) must exclude permission to link out. Avoid infinite loops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant