mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-23 05:08:54 +01:00
there
This commit is contained in:
@@ -170,13 +170,13 @@
|
||||
|
||||
/obj/structure/table/attackby(obj/item/I, mob/user, params)
|
||||
if(!(flags_1 & NODECONSTRUCT_1))
|
||||
if(istype(I, /obj/item/screwdriver) && deconstruction_ready)
|
||||
if(istype(I, /obj/item/screwdriver) && deconstruction_ready && !(user.a_intent == INTENT_HELP))
|
||||
to_chat(user, "<span class='notice'>You start disassembling [src]...</span>")
|
||||
if(I.use_tool(src, user, 20, volume=50))
|
||||
deconstruct(TRUE)
|
||||
return
|
||||
|
||||
if(istype(I, /obj/item/wrench) && deconstruction_ready)
|
||||
if(istype(I, /obj/item/wrench) && deconstruction_ready && !(user.a_intent == INTENT_HELP))
|
||||
to_chat(user, "<span class='notice'>You start deconstructing [src]...</span>")
|
||||
if(I.use_tool(src, user, 40, volume=50))
|
||||
playsound(src.loc, 'sound/items/deconstruct.ogg', 50, 1)
|
||||
|
||||
Reference in New Issue
Block a user