Doors crushing people makes a visible message

This commit is contained in:
CitadelStationBot
2017-04-24 18:02:03 -05:00
parent a6f6317b51
commit 5ed06c2e63
+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")