From 5f1a1c9c72bd38db48d1547ab3dc4a4e185b331e Mon Sep 17 00:00:00 2001 From: Hockaa <69127651+Hockaa@users.noreply.github.com> Date: Sat, 31 Oct 2020 13:38:19 +0000 Subject: [PATCH] airlocks display crush messages (#10388) --- code/game/machinery/doors/airlock.dm | 1 + html/changelogs/hockaa-airlockcrushfix.yml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 html/changelogs/hockaa-airlockcrushfix.yml diff --git a/code/game/machinery/doors/airlock.dm b/code/game/machinery/doors/airlock.dm index 67285def82c..7b3cba071ac 100644 --- a/code/game/machinery/doors/airlock.dm +++ b/code/game/machinery/doors/airlock.dm @@ -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) diff --git a/html/changelogs/hockaa-airlockcrushfix.yml b/html/changelogs/hockaa-airlockcrushfix.yml new file mode 100644 index 00000000000..e46e419f624 --- /dev/null +++ b/html/changelogs/hockaa-airlockcrushfix.yml @@ -0,0 +1,6 @@ +author: Hocka + +delete-after: True + +changes: + - tweak: "Airlocks now display messages when crushing people."