Closed aquila33-bot closed 3 years ago
This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being closed by a maintainer if it is not updated or reviews are not addressed. If your PR is closed as stale, feel free to open a new one after dealing with the issues. This may also be an indication that the maintainers do not have interest in this change, you can try to convince them otherwise, or persist in the doomed world you have created.
Original PR: https://github.com/BeeStation/BeeStation-Hornet/pull/4202
About The Pull Request
Implements a system for virtual z-levels. This allows for different areas on the same z-level to be treated as if they are on different z-level. Applies this system to shuttles in transit. This means that z-level specific things such as communications, crew sensors etc. will be treated as being on different z-levels if the target is on a different shuttle to the origin while the shuttle is on the transit level.
Shuttles together in transit:![image](https://user-images.githubusercontent.com/26465327/116811372-e305d900-ab40-11eb-94e4-e44c79216944.png)
Suit sensors on 1 shuttle on picks up sensors on that virtual z-level.![image](https://user-images.githubusercontent.com/26465327/116811381-ebf6aa80-ab40-11eb-903a-d1458fe99e71.png)
Communications relay only affect the shuttle they are placed on:![image](https://user-images.githubusercontent.com/26465327/116811409-09c40f80-ab41-11eb-89a7-4475ef672b23.png)
Additionally provides an easy use system for preventing exploits that allow for teleporting onto other shuttles in the transit z-level. Wormhole generators on mechs will no longer be able to create portals onto other shuttles.
Prevents explosions from affecting nearby shuttles on the transit level.
Why It's Good For The Game
Prevents some trans shuttle teleportation exploits, adds in an invaluable system for downstream implementation on servers such as NSV and makes each shuttle its own unique z-level making them not all feel like they are travelling together.
Changelog
:cl: add: Virtual z-levels tweak: Each shuttle will be treated as a different z-level, meaning things that affect a z-level (Comms, suit sensors, AI upload, explosions, heretic tracking etc.) will no longer be able to track different shuttles while they are in transit. /:cl: