Storage Opening (#12640)

This commit is contained in:
Geeves
2021-10-30 13:56:35 +02:00
committed by GitHub
parent 34d5bafac6
commit e2d86c76de
5 changed files with 28 additions and 5 deletions
@@ -566,6 +566,12 @@
src.add_fingerprint(user)
return
/obj/item/storage/handle_middle_mouse_click(var/mob/user)
if(Adjacent(user))
open(user)
return TRUE
return FALSE
/obj/item/storage/verb/toggle_gathering_mode()
set name = "Switch Gathering Method"
set category = "Object"
@@ -773,4 +779,4 @@
//return 2**(w_class-1) //1,2,4,8,16,...
#undef STORAGE_SPACE_CAP
#undef STORAGE_SPACE_CAP