mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Tool Sound/Speed (#25529)
* Initial work on tool sounds * Crowbars * playtoolsound() * aaaaaaaaaaaaaaaaaaaa * HERE WE GO AGAIN * Wrench * Screwdriver.ogg REDUX, Cuffs * drilling tools toolspeed is now a multiplier too * Wirecutter
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
to_chat(user, "<span class='notice'>There are no screws on \the [src], it appears to be nailed together. You could probably disassemble it with just a crowbar.</span>")
|
||||
return
|
||||
else if(iscrowbar(O) && user.a_intent == I_HELP) //Only way to deconstruct, needs help intent
|
||||
playsound(src, 'sound/items/Crowbar.ogg', 75, 1)
|
||||
O.playtoolsound(src, 75)
|
||||
user.visible_message("<span class='warning'>[user] starts disassembling \the [src].</span>", \
|
||||
"<span class='notice'>You start disassembling \the [src].</span>")
|
||||
busy = 1
|
||||
@@ -73,7 +73,7 @@
|
||||
return
|
||||
else if(O.is_wrench(user))
|
||||
anchored = !anchored
|
||||
playsound(src, 'sound/items/Ratchet.ogg', 50, 1)
|
||||
O.playtoolsound(src, 50)
|
||||
user.visible_message("<span class='warning'>[user] [anchored ? "":"un"]anchors \the [src] [anchored ? "to":"from"] the floor.</span>", \
|
||||
"<span class='notice'>You [anchored ? "":"un"]anchor the [src] [anchored ? "to":"from"] the floor.</span>")
|
||||
else if(istype(O, /obj/item/weapon/pen))
|
||||
|
||||
Reference in New Issue
Block a user