mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 16:44:33 +01:00
Adds storage dumping (#29641)
* added storage dumping * retain in storage item shuffling
This commit is contained in:
@@ -277,6 +277,14 @@
|
||||
if(ismecha(M.loc))
|
||||
return
|
||||
|
||||
if(ismodcontrol(over_object))
|
||||
var/obj/item/mod/control/target = over_object
|
||||
bag?.dump_storage(M, target.bag)
|
||||
return
|
||||
if(isstorage(over_object))
|
||||
bag?.dump_storage(M, over_object)
|
||||
return
|
||||
|
||||
if(!M.restrained() && !M.stat)
|
||||
playsound(loc, "rustle", 50, TRUE, -5)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user