From ad0102f30e50ab7e5b6506cd440e36277fddc012 Mon Sep 17 00:00:00 2001 From: Verkister Date: Sun, 10 Oct 2021 00:29:49 +0300 Subject: [PATCH] Disables container quick-empty when in a belly The proc is coded to dump the contents exclusively on the turf, so a prey hitting that button on a storage item inside a gut would just tp it all onto the ground outside. --- code/game/objects/items/weapons/storage/storage.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/objects/items/weapons/storage/storage.dm b/code/game/objects/items/weapons/storage/storage.dm index 73f8b7728e8..6dfabb3d867 100644 --- a/code/game/objects/items/weapons/storage/storage.dm +++ b/code/game/objects/items/weapons/storage/storage.dm @@ -679,6 +679,10 @@ if(!Adjacent(usr)) return + //VOREStation Add: No turf dumping if user is in a belly + if(isbelly(usr.loc)) + return + drop_contents() /obj/item/weapon/storage/proc/drop_contents() // why is this a proc? literally just for RPEDs