Makes lightbulbs destructible (#2955)
* Renames WindowBreak soundCollection to GlassBreak * Implements destructible lightbulbs moved the parent to the top as well * Fixes the old `glassbreak` soundCollection, renames it * Deletes the windows.yml version of glassbreak * Fixes the sound for bulbs being thrown * Removes name from abstract lightbulb * Implements IDestroyAct for lightbulbs * Implements onBreak for lightbulbs * Lights get damaged by getting hit and throwing * Lights now have an intermediate 'broken' state before destruction
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
- type: soundCollection
|
||||
id: glassbreak
|
||||
id: GlassBreak
|
||||
files:
|
||||
- /Audio/Effects/glassbreak1.ogg
|
||||
- /Audio/Effects/glassbreak2.ogg
|
||||
- /Audio/Effects/glassbreak3.ogg
|
||||
- /Audio/Effects/glass_break1.ogg
|
||||
- /Audio/Effects/glass_break2.ogg
|
||||
- /Audio/Effects/glass_break3.ogg
|
||||
|
||||
Reference in New Issue
Block a user