Abductor tools and tool sound refactor. (#22125)

* Everything in the PR

* I'm taking that as a yes
This commit is contained in:
XDTM
2016-12-14 18:09:41 +13:00
committed by oranges
parent ddd79ea572
commit 7d1a67d0c8
87 changed files with 358 additions and 162 deletions
+1 -1
View File
@@ -55,7 +55,7 @@
updateUsrDialog()
else if(istype(P, /obj/item/weapon/wrench))
user << "<span class='notice'>You begin to [anchored ? "wrench" : "unwrench"] [src].</span>"
playsound(loc, 'sound/items/Ratchet.ogg', 50, 1)
playsound(loc, P.usesound, 50, 1)
if(do_after(user, 20, target = src))
user << "<span class='notice'>You successfully [anchored ? "wrench" : "unwrench"] [src].</span>"
anchored = !anchored
+1 -1
View File
@@ -298,7 +298,7 @@
if(isinspace())
user << "<span class='warning'>There's nothing to fasten [src] to!</span>"
return
playsound(loc, 'sound/items/Ratchet.ogg', 50, 1)
playsound(loc, O.usesound, 50, 1)
user << "<span class='warning'>You start [anchored ? "unwrenching" : "wrenching"] [src]...</span>"
if(do_after(user, 20*O.toolspeed, target = src))
if(qdeleted(src))