From 0ab6db65a720f485778907702537a656a41e5524 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Wed, 13 Jun 2018 21:44:43 -0500 Subject: [PATCH] [MIRROR] BoH bombs now forcefully stun anyone flying when they go off (#7100) * BoH bombs now forcefully stun anyone flying when they go off (#38397) * Update bag_of_holding.dm * Incorrect type. * BoH bombs now forcefully stun anyone flying when they go off --- code/datums/components/storage/concrete/bag_of_holding.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/datums/components/storage/concrete/bag_of_holding.dm b/code/datums/components/storage/concrete/bag_of_holding.dm index c14b1f5270..e5da9adcde 100644 --- a/code/datums/components/storage/concrete/bag_of_holding.dm +++ b/code/datums/components/storage/concrete/bag_of_holding.dm @@ -17,6 +17,10 @@ for(var/turf/T in range(6,loccheck)) if(istype(T, /turf/open/space/transit)) continue + for(var/mob/living/M in T) + if(M.movement_type & FLYING) + M.visible_message("The bluespace collapse crushes the air towards it, pulling [M] towards the ground...") + M.Knockdown(5, TRUE, TRUE) //Overrides stun absorbs. T.TerraformTurf(/turf/open/chasm/magic, /turf/open/chasm/magic) message_admins("[ADMIN_LOOKUPFLW(user)] detonated a bag of holding at [ADMIN_VERBOSEJMP(loccheck)].") log_game("[key_name(user)] detonated a bag of holding at [AREACOORD(loccheck)].")