mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 23:53:47 +01:00
Adds storage dumping (#29641)
* added storage dumping * retain in storage item shuffling
This commit is contained in:
@@ -342,6 +342,7 @@
|
||||
I.forceMove(C.bag)
|
||||
else
|
||||
I.forceMove(back)
|
||||
I.in_storage = TRUE
|
||||
if(ITEM_SLOT_ACCESSORY)
|
||||
var/obj/item/clothing/under/uniform = src.w_uniform
|
||||
uniform.attackby__legacy__attackchain(I, src)
|
||||
|
||||
@@ -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