mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
Abductor tools and tool sound refactor. (#22125)
* Everything in the PR * I'm taking that as a yes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user