mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 22:48:38 +01:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user