- The range and volume of sounds emitted by StatusEffects can be changed and they can be set to loop.
- StatusEffect sounds are configured as child elements of the StatusEffect (instead of attributes). - Background sprites can emit sounds.
This commit is contained in:
@@ -86,7 +86,8 @@
|
||||
<Body width="24" height="12" density="60"/>
|
||||
|
||||
<Holdable slots="Any,RightHand,LeftHand" handle1="0,0">
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0" sound="Content/Items/Reactor/explosion.ogg">
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0">
|
||||
<sound file="Content/Items/Reactor/explosion.ogg"/>
|
||||
<Explosion range="500.0" structuredamage="2" damage="20" stun="5" force="20.0"/>
|
||||
<Fire size="100.0"/>
|
||||
</StatusEffect>
|
||||
|
||||
Reference in New Issue
Block a user