mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 20:23:26 +00:00
Ported knocking on windows
This commit is contained in:
@@ -120,6 +120,12 @@
|
|||||||
src.density = 0
|
src.density = 0
|
||||||
del(src)
|
del(src)
|
||||||
return
|
return
|
||||||
|
else
|
||||||
|
playsound(src.loc, 'Glassknock.ogg', 80, 1)
|
||||||
|
usr.visible_message("[usr.name] knocks on the [src.name].", \
|
||||||
|
"You knock on the [src.name].", \
|
||||||
|
"You hear a knocking sound.")
|
||||||
|
return
|
||||||
|
|
||||||
/obj/structure/window/attack_paw()
|
/obj/structure/window/attack_paw()
|
||||||
if ((HULK in usr.mutations))
|
if ((HULK in usr.mutations))
|
||||||
|
|||||||
Reference in New Issue
Block a user