Merge pull request #26457 from coiax/scream-to-go-faster

Doors crushing people makes a visible message
This commit is contained in:
oranges
2017-04-25 11:01:10 +12:00
committed by GitHub
+1
View File
@@ -285,6 +285,7 @@
/obj/machinery/door/proc/crush()
for(var/mob/living/L in get_turf(src))
L.visible_message("<span class='warning'>[src] closes on [L], crushing them!</span>", "<span class='userdanger'>[src] closes on you and crushes you!</span>")
if(isalien(L)) //For xenos
L.adjustBruteLoss(DOOR_CRUSH_DAMAGE * 1.5) //Xenos go into crit after aproximately the same amount of crushes as humans.
L.emote("roar")