Added banging against windows with harm intent

This commit is contained in:
Whitellama
2012-11-21 04:00:52 -08:00
parent 900b931c34
commit 71b8045ee4

View File

@@ -119,7 +119,11 @@
if(reinf) new /obj/item/stack/rods( src.loc)
src.density = 0
del(src)
return
else if (usr.a_intent == "hurt")
playsound(src.loc, 'Glassknock.ogg', 80, 1)
usr.visible_message("\red [usr.name] bangs against the [src.name]!", \
"\red You bang against the [src.name]!", \
"You hear a banging sound.")
else
playsound(src.loc, 'Glassknock.ogg', 80, 1)
usr.visible_message("[usr.name] knocks on the [src.name].", \