From 552a1e50e8f7d4befe489fb5a1d620946ef5dfed Mon Sep 17 00:00:00 2001 From: skoglol <33292112+kriskog@users.noreply.github.com> Date: Sat, 1 Dec 2018 20:08:07 +0100 Subject: [PATCH] Adds sound to all whetstones (#41714) * Adds sound to sharpener * just src --- code/game/objects/items/sharpener.dm | 1 + code/modules/antagonists/cult/cult_items.dm | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/code/game/objects/items/sharpener.dm b/code/game/objects/items/sharpener.dm index 93056adc995..b90a5b155a6 100644 --- a/code/game/objects/items/sharpener.dm +++ b/code/game/objects/items/sharpener.dm @@ -40,6 +40,7 @@ to_chat(user, "[I] has already been refined before. It cannot be sharpened further!") return user.visible_message("[user] sharpens [I] with [src]!", "You sharpen [I], making it much more deadly than before.") + 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) diff --git a/code/modules/antagonists/cult/cult_items.dm b/code/modules/antagonists/cult/cult_items.dm index 63a3198421b..449ff8df251 100644 --- a/code/modules/antagonists/cult/cult_items.dm +++ b/code/modules/antagonists/cult/cult_items.dm @@ -362,10 +362,7 @@ prefix = "darkened" /obj/item/sharpener/cult/update_icon() - var/old_state = icon_state icon_state = "cult_sharpener[used ? "_used" : ""]" - if(old_state != icon_state) - playsound(get_turf(src), 'sound/items/unsheath.ogg', 25, 1) /obj/item/clothing/suit/hooded/cultrobes/cult_shield name = "empowered cultist armor"