mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
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:
co-authored by
SteelSlayer
parent
210f8badf4
commit
fb9a10a681
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user