airlocks display crush messages (#10388)

This commit is contained in:
Hockaa
2020-10-31 14:38:19 +01:00
committed by GitHub
parent 8ca72754a5
commit 5f1a1c9c72
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -1358,6 +1358,7 @@ About the new airlock wires panel:
adjustBruteLoss(round(crush_damage / AIRLOCK_CRUSH_DIVISOR))
SetStunned(5)
SetWeakened(5)
visible_message(SPAN_DANGER("[src] is crushed in the airlock!"), SPAN_DANGER("You are crushed in the airlock!"), SPAN_NOTICE("You hear airlock actuators momentarily struggle."))
var/turf/T = get_turf(src)