This commit is contained in:
Fluffy
2023-12-24 11:18:41 +00:00
committed by GitHub
parent 5f9e01fd27
commit 51a96cb43e
19 changed files with 88 additions and 38 deletions
+1 -1
View File
@@ -140,7 +140,7 @@
for(var/mob/O in viewers(usr))
O.show_message(SPAN_NOTICE("\The [src] rattles and prints out a sheet of paper."), 1)
playsound(loc, "sound/bureaucracy/print_short.ogg", 50, 1)
playsound(loc, 'sound/bureaucracy/print_short.ogg', 50, 1)
sleep(10)
@@ -405,7 +405,7 @@
/obj/item/material/twohanded/chainsaw/proc/PowerUp()
var/turf/T = get_turf(src)
T.audible_message(SPAN_NOTICE("\The [src] rumbles to life."))
playsound(src, "sound/weapons/chainsawstart.ogg", 25, 0, 30)
playsound(src, 'sound/weapons/saw/chainsawstart.ogg', 25, 0, 30)
force_unwielded = 30
force = force_unwielded
force_wielded = 60
@@ -482,7 +482,7 @@
/obj/item/material/twohanded/chainsaw/attack(mob/M as mob, mob/living/user as mob)
. = ..()
if(powered)
playsound(loc, "sound/weapons/saw/chainsword.ogg", 25, 0, 30)
playsound(loc, 'sound/weapons/saw/chainsword.ogg', 25, 0, 30)
RemoveFuel(3)
/obj/item/material/twohanded/chainsaw/afterattack(obj/O as obj, mob/user as mob, proximity)
@@ -496,7 +496,7 @@
if(!istype(O))
user.visible_message(SPAN_DANGER("[user] revs the chainsaw!"), SPAN_WARNING("You rev the chainsaw!"), SPAN_WARNING("You hear a chainsaw rev!"))
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
playsound(loc, "sound/weapons/saw/chainsword.ogg", 25, 0, 30)
playsound(loc, 'sound/weapons/saw/chainsword.ogg', 25, 0, 30)
RemoveFuel(3)
. = ..()
+4 -3
View File
@@ -247,7 +247,7 @@
return FALSE
if ((world.time - last_shake) > 5 SECONDS)
playsound(loc, "sound/effects/grillehit.ogg", 100, 1)
playsound(loc, 'sound/effects/grillehit.ogg', 100, 1)
shake_animation()
last_shake = world.time
@@ -273,7 +273,7 @@
breakout = FALSE
to_chat(escapee, "<span class='warning'>You successfully break out!</span>")
visible_message("<span class='danger'>\The [escapee] successfully breaks out of \the [src]!</span>")
playsound(loc, "sound/effects/grillehit.ogg", 100, 1)
playsound(loc, 'sound/effects/grillehit.ogg', 100, 1)
release()
@@ -419,7 +419,8 @@
user.visible_message("<span class='notice'>[user] is trying to [anchored ? "un" : "" ]secure \the [src]!</span>",
"<span class='notice'>You are trying to [anchored ? "un" : "" ]secure \the [src]!</span>")
playsound(src.loc, "sound/items/[pick("Screwdriver", "Screwdriver2")].ogg", 50, 1)
var/sound_to_play = pick(list('sound/items/Screwdriver.ogg', 'sound/items/Screwdriver2.ogg'))
playsound(src.loc, sound_to_play, 50, 1)
if(W.use_tool(src, user, 30, volume = 50))
density = !density