Files
LuaCsForBarotraumaEP/Barotrauma/BarotraumaShared/Content/Items/Weapons/explosives.xml
T

119 lines
4.6 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<Items>
<Item
name="C-4 Block"
category="Equipment"
Tags="smallitem,explosive"
cargocontainername="Explosive Crate"
price="100">
<Sprite texture="weapons.png" depth="0.8" sourcerect="0,97,24,8"/>
<Body width="24" height="8"/>
<Throwable characterusable="false" slots="Any,RightHand,LeftHand" throwforce="4.0" aimpos="35,-10">
<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>
<Item
name="Compound N"
category="Equipment"
Tags="smallitem,explosive"
cargocontainername="Explosive Crate"
spritecolor="1.0,0.5,1.0,1.0">
<Sprite texture="weapons.png" depth="0.8" sourcerect="0,97,24,8"/>
<Body width="24" height="8"/>
<Throwable characterusable="false" slots="Any,RightHand,LeftHand" throwforce="4.0" aimpos="35,-10">
<StatusEffect type="OnFire" target="This" Condition="-50.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>
<Item
name="Volatile Compound N"
category="Equipment"
Tags="smallitem,explosive"
spritecolor="1.0,0.5,1.0,1.0"
cargocontainername="Explosive Crate">
<Sprite texture="weapons.png" depth="0.8" sourcerect="0,97,24,8"/>
<Body width="24" height="8"/>
<Throwable characterusable="false" 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">
<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>
<Item
name="IC-4 Block"
description="A compound made of C-4 and incendium."
category="Equipment"
Tags="smallitem,explosive"
cargocontainername="Explosive Crate"
spritecolor="1.0,0.0,0.0,1.0">
<Sprite texture="weapons.png" depth="0.8" sourcerect="0,97,24,8"/>
<Body width="24" height="8"/>
<Throwable characterusable="false" slots="Any,RightHand,LeftHand" throwforce="4.0" aimpos="35,-10">
<StatusEffect type="OnFire" target="This" Condition="-50.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>
<Item
name="Detonator"
description="A device that detonates any contained explosive when receiving a signal."
category="Equipment"
Tags="smallitem"
price="50"
cargocontainername="Explosive Crate">
<Sprite texture="weapons.png" depth="0.8" sourcerect="0,107,14,12"/>
<Body width="14" height="12"/>
<Holdable selectkey="Action" pickkey="Use" slots="Any,RightHand,LeftHand" msg="Detach [Wrench]" aimpos="35,-10" handle1="0,0" attachable="true" aimable="true">
<requireditem name="Wrench" type="Equipped"/>
</Holdable>
<ItemContainer canbeselected="true" capacity="1" itempos="0,0" hideitems="false">
<Containable name="explosive"/>
</ItemContainer>
<ConnectionPanel selectkey="Action" canbeselected = "true" msg="Rewire [Screwdriver]">
<requireditem name="Screwdriver,Wire" type="Equipped"/>
<input name="activate">
<StatusEffect type="OnUse" target="Contained">
<Use/>
</StatusEffect>
</input>
</ConnectionPanel>
</Item>
</Items>