Adds sound to all whetstones (#41714)

* Adds sound to sharpener

* just src
This commit is contained in:
skoglol
2018-12-01 14:08:07 -05:00
committed by Emmett Gaines
parent 73c2fadf18
commit 552a1e50e8
2 changed files with 1 additions and 3 deletions
+1
View File
@@ -40,6 +40,7 @@
to_chat(user, "<span class='warning'>[I] has already been refined before. It cannot be sharpened further!</span>")
return
user.visible_message("<span class='notice'>[user] sharpens [I] with [src]!</span>", "<span class='notice'>You sharpen [I], making it much more deadly than before.</span>")
playsound(src, 'sound/items/unsheath.ogg', 25, 1)
I.sharpness = IS_SHARP_ACCURATE
I.force = CLAMP(I.force + increment, 0, max)
I.throwforce = CLAMP(I.throwforce + increment, 0, max)