diff --git a/code/game/mecha/combat/honker.dm b/code/game/mecha/combat/honker.dm index 4b04010cb08..20a6fba2a39 100644 --- a/code/game/mecha/combat/honker.dm +++ b/code/game/mecha/combat/honker.dm @@ -15,7 +15,10 @@ add_req_access = 0 max_equip = 3 starting_voice = /obj/item/mecha_modkit/voice/honk - var/squeak = 0 + +/obj/mecha/combat/honker/ComponentInitialize() + . = ..() + AddComponent(/datum/component/squeak, list('sound/effects/clownstep1.ogg' = 1, 'sound/effects/clownstep2.ogg' = 1), 50, falloff_exponent = 20, squeak_on_move = TRUE) //die off quick please /obj/mecha/combat/honker/loaded/New() ..() @@ -125,18 +128,6 @@ output += "" return output - - -/obj/mecha/combat/honker/mechstep(direction) - var/result = step(src,direction) - if(result) - if(!squeak) - playsound(src, "clownstep", 70, 1) - squeak = 1 - else - squeak = 0 - return result - /obj/mecha/combat/honker/Topic(href, href_list) ..() if(href_list["play_sound"]) diff --git a/code/game/turfs/simulated/floor/mineral.dm b/code/game/turfs/simulated/floor/mineral.dm index 10769461d6a..f68a0e8fb03 100644 --- a/code/game/turfs/simulated/floor/mineral.dm +++ b/code/game/turfs/simulated/floor/mineral.dm @@ -180,7 +180,7 @@ /turf/simulated/floor/mineral/bananium/proc/squeek() if(spam_flag < world.time) - playsound(src, "clownstep", 50, 1) + playsound(src, 'sound/effects/clownstep1.ogg', 50, 1) spam_flag = world.time + 10 /turf/simulated/floor/mineral/bananium/airless