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

Server-side support for teleport pads: 5 points #272

Open
nataliavelez opened this issue Oct 11, 2023 · 1 comment
Open

Server-side support for teleport pads: 5 points #272

nataliavelez opened this issue Oct 11, 2023 · 1 comment

Comments

@nataliavelez
Copy link

As an experimenter, I can hard-code the location of teleport pads that enable players to transmit objects across walls.

For example, this map configuration

[[p1c1, 0, 1, t3, w, t3, 0, 0, 0, 0],
[0, 0, 1, 1, 0, w, 0, 0, 0, 0],
[1, 0, 0, 1, 0, w, 0, 0, 0, 0],
[t1, 0, 0, t2, 0, w, 0, 0, 0, 0],
[w, w, w, w, w, w, w, w, w, w],
[t1, 0, 0, 0, 0, w, t2, 0, 0, 0],
[0, 0, 0, 0, 0, w, 0, 0, 0, 0],
[0, 0, 0, 0, 0, w, 0, 0, 0, 0],
[0, 0, 0, 0, 0, w, 0, 0, 0, 0],
[0, 0, 0, 0, 0, w, 0, 0, 0, 0]]

Should produce this map, which has teleport pads that transport objects in the directions indicated by the arrows:
image

@silviot
Copy link

silviot commented Oct 13, 2023

I started implementing this, and I think most of the work related to this feature is about allowing two different objects to be shown in the same cell.
So teleport pads can't be objects on the grid. They need to be a property of the tile, similar to walls.

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

No branches or pull requests

3 participants