mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Unanchored stools and chairs
Players can still anchor/unanchor stools, chairs and beds with screwdrivers
This commit is contained in:
@@ -19,6 +19,13 @@
|
||||
del(src)
|
||||
|
||||
/obj/structure/stool/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
if(istype(W, /obj/item/weapon/screwdriver))
|
||||
if (src.anchored)
|
||||
src.anchored = 0
|
||||
user << "/blue You unfasten [src] from the floor."
|
||||
else
|
||||
src.anchored = 1
|
||||
user << "/blue You fasten [src] to the floor."
|
||||
if(istype(W, /obj/item/weapon/wrench))
|
||||
playsound(src.loc, 'Ratchet.ogg', 50, 1)
|
||||
new /obj/item/stack/sheet/metal(src.loc)
|
||||
|
||||
Reference in New Issue
Block a user