mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
adds new window cracking and message formatting (#8132)
also adds some consistency of glass sound naming schemes and any glassbreak noises properly uses the list now in sound.dm
This commit is contained in:
@@ -181,5 +181,5 @@
|
||||
status = LIGHT_BROKEN
|
||||
force = 5
|
||||
sharp = 1
|
||||
playsound(src.loc, 'sound/effects/Glasshit.ogg', 75, 1)
|
||||
playsound(src.loc, 'sound/effects/glass_hit.ogg', 75, 1)
|
||||
update()
|
||||
|
||||
@@ -520,7 +520,7 @@
|
||||
|
||||
if(!skip_sound_and_sparks)
|
||||
if(status == LIGHT_OK || status == LIGHT_BURNED)
|
||||
playsound(src.loc, 'sound/effects/Glasshit.ogg', 75, 1)
|
||||
playsound(src.loc, 'sound/effects/glass_hit.ogg', 75, 1)
|
||||
if(!stat)
|
||||
spark(src, 3)
|
||||
status = LIGHT_BROKEN
|
||||
|
||||
Reference in New Issue
Block a user