mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 15:14:27 +01:00
Merge pull request #12863 from SteelSlayer/altclick-storage
Adds an alt-click shortcut for opening storage items
This commit is contained in:
@@ -82,6 +82,12 @@
|
||||
return
|
||||
return
|
||||
|
||||
/obj/item/storage/AltClick(mob/user)
|
||||
if(Adjacent(user))
|
||||
orient2hud(user)
|
||||
if(user.s_active)
|
||||
user.s_active.close(user)
|
||||
show_to(user)
|
||||
|
||||
/obj/item/storage/proc/return_inv()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user