VoRe-ss13 / ss13

The ss13 server for the VoRe furs discord
Other
4 stars 17 forks source link

[MIRROR] [MIRROR] Emergency Beacon Update #1073

Closed VoRe-bot closed 4 weeks ago

VoRe-bot commented 1 month ago

Original PR: https://github.com/CHOMPStation2/CHOMPStation2/pull/8762

Original PR: https://github.com/VOREStation/VOREStation/pull/16152

Updating the personal emergency beacon with some new functionality. When activated, you now deploy it into your current tile and it becomes a fixture of that tile, transmitting an "emergency beacon" gps signal (much more useful than X/Y coords given in the message, though those are still given for now). You can't activate it if you're not on sufficiently solid ground though; mid air, floating in space, or neck deep in water are all bad terrain for beacons. Deployed beacons can be disassembled with a wrench.

Also adds an isopenturf and isnonsolidturf helpers; isopenturf checks if the turf is space or simulated/open, and isnonsolidturf checks both of those and simulated/floor/water and simulated/floor/lava, for the purposes of seeing if the ground is solid enough to plant a beacon in or not. Though the odds of anyone living long enough to plant a beacon in lava are fairly slim!

:cl: tweak: emergency beacon behaviour tweaks; shorter activation, fixed deployment location, and integrated micro-gps tweak: added emergency beacons to pilot lockers tweak: deployed emergency beacons can be disassembled with a wrench rscadd: added isopenturf helper, returns true if the checked turf is space or simulated/open rscadd: added isnonsolidturf helper, returns true if the checked turf is space, simulated/open, simulated/floor/water, or simulated/floor/lava /:cl: