Adds storage dumping (#29641)

* added storage dumping

* retain in storage item shuffling
This commit is contained in:
Toastical
2025-07-04 22:07:07 +03:00
committed by GitHub
parent 211633f2b5
commit 9309ca46fb
3 changed files with 30 additions and 0 deletions
@@ -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)
+8
View File
@@ -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)