Explosives, chemicals and medical items disappear when their condition falls to 0 (i.e. when they're fully used).
Railgun shells, detonators and depth charges also now "use" their contents instead of destroying them. (See #322)
This commit is contained in:
@@ -11,9 +11,10 @@
|
||||
<Body width="24" height="8"/>
|
||||
|
||||
<Throwable slots="Any,RightHand,LeftHand" throwforce="4.0" aimpos="35,-10">
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0">
|
||||
<StatusEffect type="OnUse" target="This" Condition="-100.0">
|
||||
<sound file="Content/Items/Reactor/explosion.ogg" range="3000"/>
|
||||
<Explosion range="500.0" structuredamage="250" damage="200" stun="5" force="20.0" severlimbsprobability="0.5" decal="explosion" decalsize="0.5"/>
|
||||
<Remove/>
|
||||
</StatusEffect>
|
||||
</Throwable>
|
||||
</Item>
|
||||
@@ -30,9 +31,10 @@
|
||||
|
||||
<Throwable slots="Any,RightHand,LeftHand" throwforce="4.0" aimpos="35,-10">
|
||||
<StatusEffect type="OnFire" target="This" Condition="-50.0"/>
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0">
|
||||
<StatusEffect type="OnUse" target="This" Condition="-100.0">
|
||||
<sound file="Content/Items/Reactor/explosion.ogg" range="3000"/>
|
||||
<Explosion range="600.0" structuredamage="150" damage="300" stun="5" force="20.0" severlimbsprobability="0.6" decal="explosion" decalsize="0.5"/>
|
||||
<Remove/>
|
||||
</StatusEffect>
|
||||
</Throwable>
|
||||
</Item>
|
||||
@@ -50,9 +52,15 @@
|
||||
<Throwable slots="Any,RightHand,LeftHand" throwforce="4.0" aimpos="35,-10">
|
||||
<StatusEffect type="Always" target="This" Condition="-0.35"/>
|
||||
<StatusEffect type="OnFire" target="This" Condition="-50.0"/>
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0">
|
||||
<StatusEffect type="OnBroken" target="This">
|
||||
<sound file="Content/Items/Reactor/explosion.ogg" range="3000"/>
|
||||
<Explosion range="600.0" structuredamage="150" damage="300" stun="5" force="20.0" severlimbsprobability="0.6" decal="explosion" decalsize="0.5"/>
|
||||
<Remove/>
|
||||
</StatusEffect>
|
||||
<StatusEffect type="OnUse" target="This">
|
||||
<sound file="Content/Items/Reactor/explosion.ogg" range="3000"/>
|
||||
<Explosion range="600.0" structuredamage="150" damage="300" stun="5" force="20.0" severlimbsprobability="0.6" decal="explosion" decalsize="0.5"/>
|
||||
<Remove/>
|
||||
</StatusEffect>
|
||||
</Throwable>
|
||||
</Item>
|
||||
@@ -70,10 +78,11 @@
|
||||
|
||||
<Throwable slots="Any,RightHand,LeftHand" throwforce="4.0" aimpos="35,-10">
|
||||
<StatusEffect type="OnFire" target="This" Condition="-50.0"/>
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0">
|
||||
<StatusEffect type="OnUse" target="This" Condition="-100.0">
|
||||
<sound file="Content/Items/Reactor/explosion.ogg" range="2000"/>
|
||||
<Explosion range="500.0" structuredamage="50" damage="300" stun="5" force="20.0" severlimbsprobability="0.6"/>
|
||||
<Fire size="500"/>
|
||||
<Remove/>
|
||||
</StatusEffect>
|
||||
</Throwable>
|
||||
</Item>
|
||||
@@ -101,7 +110,7 @@
|
||||
<ConnectionPanel selectkey="Action" canbeselected = "true" msg="Rewire [Screwdriver]">
|
||||
<requireditem name="Screwdriver,Wire" type="Equipped"/>
|
||||
<input name="activate">
|
||||
<StatusEffect type="OnUse" target="Contained" Condition="-100.0">
|
||||
<StatusEffect type="OnUse" target="Contained">
|
||||
<Use/>
|
||||
</StatusEffect>
|
||||
</input>
|
||||
|
||||
Reference in New Issue
Block a user