Particle emitters can be assigned to statuseffects, fixed item.Submarine not being set correctly for throwable items, flare particles + sounds, nerfed some of the medical items
This commit is contained in:
@@ -250,19 +250,29 @@
|
||||
category="Equipment"
|
||||
pickdistance="150"
|
||||
price="5"
|
||||
spritecolor="1.0,0.0,0.0,1.0"
|
||||
tags="smallitem">
|
||||
|
||||
<Sprite texture ="tools.png" sourcerect="0,37,22,9" depth="0.5"/>
|
||||
<Deconstruct time="10">
|
||||
<Item name="Phosphorus"/>
|
||||
<Item name="Aluminium"/>
|
||||
</Deconstruct>
|
||||
|
||||
<Body width="11" height="24" density="30"/>
|
||||
|
||||
<Throwable slots="Any,RightHand,LeftHand" holdpos="0,0" handle1="0,0" throwforce="4.0" aimpos="35,-10">
|
||||
<Sprite texture ="tools.png" sourcerect="0,38,21,7" depth="0.5"/>
|
||||
|
||||
</Throwable>
|
||||
<Body width="21" height="7" density="12"/>
|
||||
|
||||
<Throwable slots="Any,RightHand,LeftHand" holdpos="0,0" handle1="0,0" throwforce="4.0" aimpos="35,-10"/>
|
||||
|
||||
<LightComponent LightColor="1.0,0.0,0.0,1.0" Flicker="0.5" range="600" IsOn="false">
|
||||
<StatusEffect type="OnActive" target="This" Condition="-0.5"/>
|
||||
<StatusEffect type="OnUse" target="This" IsOn="true"/>
|
||||
|
||||
<StatusEffect type="OnActive" target="This" Condition="-0.5">
|
||||
<ParticleEmitter particle="flare"/>
|
||||
<ParticleEmitter particle="bubbles"/>
|
||||
</StatusEffect>
|
||||
<sound file="flare.ogg" type="OnActive" range="800.0" loop="true"/>
|
||||
</LightComponent>
|
||||
</Item>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user