Merge pull request #4724 from Anewbe/ghettoChutes

Fixes ghetto chutes
This commit is contained in:
Neerti
2018-02-06 14:14:30 -05:00
committed by GitHub
5 changed files with 104 additions and 77 deletions

View File

@@ -186,10 +186,11 @@ var/global/list/tele_landmarks = list() // Terrible, but the alternative is loop
return
A.forceMove(T)
if(isliving(A)) // Someday, implement parachutes. For now, just turbomurder whoever falls.
// Living things should probably be logged when they fall...
if(isliving(A))
message_admins("\The [A] fell out of the sky.")
var/mob/living/L = A
L.fall_impact(T, 42, 90, FALSE, TRUE) //You will not be defibbed from this.
// ... because they're probably going to die from it.
A.fall_impact(T, 42, 90, FALSE, TRUE) //You will not be defibbed from this.
else
message_admins("ERROR: planetary_fall step trigger lacks a planet to fall onto.")
return