mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
Adds the ability to use storage in storage (#17142)
* Adds the ability to use storage in storage - Also adds a description to the evidence bag giving detail on how to use it. * Update vorestation.dme * destroys chompstation
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
/obj/item/evidencebag
|
||||
name = "evidence bag"
|
||||
desc = "An empty evidence bag."
|
||||
desc = "An empty evidence bag. Use by clicking on the bag and dragging it to the item you want to bag."
|
||||
icon = 'icons/obj/storage.dmi'
|
||||
icon_state = "evidenceobj"
|
||||
item_state = null
|
||||
@@ -27,7 +27,7 @@
|
||||
//If it isn't on the floor. Do some checks to see if it's in our hands or a box. Otherwise give up.
|
||||
if(istype(I.loc,/obj/item/storage)) //in a container.
|
||||
var/sdepth = I.storage_depth(user)
|
||||
if (sdepth == -1 || sdepth > 1)
|
||||
if (sdepth > MAX_STORAGE_REACH)
|
||||
return //too deeply nested to access
|
||||
|
||||
var/obj/item/storage/U = I.loc
|
||||
|
||||
Reference in New Issue
Block a user