mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
Allows toggling of crate locks with Alt-Click (#18906)
* wowee! easy of access!
* SR changes
* Revert "SR changes"
This reverts commit 1db0d2c1e6.
This commit is contained in:
@@ -217,6 +217,13 @@
|
||||
else
|
||||
to_chat(user, "<span class='notice'>Access Denied</span>")
|
||||
|
||||
/obj/structure/closet/crate/secure/AltClick(mob/user)
|
||||
if(Adjacent(user) && !opened)
|
||||
verb_togglelock()
|
||||
return
|
||||
|
||||
. = ..()
|
||||
|
||||
/obj/structure/closet/crate/secure/verb/verb_togglelock()
|
||||
set src in oview(1) // One square distance
|
||||
set category = null
|
||||
|
||||
Reference in New Issue
Block a user