Adds parachutes

This commit is contained in:
Anewbe
2017-11-27 23:17:21 -06:00
parent e4ff301c01
commit 085c33e39a
8 changed files with 195 additions and 25 deletions

View File

@@ -175,12 +175,11 @@ var/global/list/tele_landmarks = list() // Terrible, but the alternative is loop
if(isliving(A)) // Someday, implement parachutes. For now, just turbomurder whoever falls.
var/mob/living/L = A
for(var/i = 1 to 6)
L.adjustBruteLoss(100)
L.fall_impact(T, 42, 90, FALSE, TRUE) //You will not be defibbed from this.
message_admins("\The [A] fell out of the sky.")
explosion(T, 0, 1, 2)
A.forceMove(T)
T.visible_message("<span class='danger'><font size='3'>\A [A] falls out of the sky and crashes into \the [T]!</font></span>")
spawn(1)
A.forceMove(T)
else
message_admins("ERROR: planetary_fall step trigger lacks a planet to fall onto.")
return