More storage alt-click storage fixes (#13145)

* fix not being able to open secure wall safes

* add fingerprint handling and bag-opening sound

Co-authored-by: SteelSlayer <SteelSlayer@users.noreply.github.com>
This commit is contained in:
SteelSlayer
2020-03-20 22:03:27 -06:00
committed by GitHub
co-authored by SteelSlayer
parent 210f8badf4
commit fb9a10a681
2 changed files with 3 additions and 0 deletions
@@ -98,6 +98,7 @@
add_fingerprint(usr)
to_chat(usr, "<span class='warning'>It's locked!</span>")
return FALSE
return TRUE
/obj/item/storage/secure/attack_self(mob/user as mob)
user.set_machine(src)
@@ -88,6 +88,8 @@
if(user.s_active)
user.s_active.close(user)
show_to(user)
playsound(loc, "rustle", 50, 1, -5)
add_fingerprint(user)
/obj/item/storage/proc/return_inv()