mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Un-Commented out the sounds for piano smashing and other axe-related actions.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1553 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -116,7 +116,7 @@ datum/song
|
||||
|
||||
attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
if(istype(W, /obj/item/weapon/fireaxe) && W.wielded == 1)
|
||||
//playsound(src.loc, 'woodhit.ogg', 50, 0) -- Causes Compiling Errors -Superxpdude
|
||||
playsound(src.loc, 'woodhit.ogg', 50, 0)
|
||||
for(var/mob/O in viewers(user, null))
|
||||
O.show_message(text("\red <B> [] forcefully slams the [] with the Fire axe!</B>", user, src), 1)
|
||||
if(!src.broken) //we don't want an already damaged piano to be more damageable
|
||||
@@ -124,7 +124,7 @@ datum/song
|
||||
if(prob(src.hitstaken*8))
|
||||
src.broken = 1
|
||||
src.icon_state = "pianobroken"
|
||||
//playsound(src.loc, 'pianocrash.ogg', 50, 0) -- Causes Commpiling Errors -Superxpdude
|
||||
playsound(src.loc, 'pianocrash.ogg', 50, 0)
|
||||
return
|
||||
return
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user