Crates, some new chemicals, statuseffects that are triggered on impact, explosions can trigger "OnFire" statuseffects, applying impulses to items (and not just characters) when the submarine hits something

This commit is contained in:
Regalis
2016-04-16 15:33:28 +03:00
parent c6df095a8b
commit 6876bdc481
18 changed files with 271 additions and 74 deletions

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

@@ -0,0 +1,89 @@
<Items>
<Item
name="Steel Cabinet"
linkable="true"
pickdistance ="150">
<Sprite texture ="locker.png" depth="0.85"/>
<ItemContainer capacity="20" canbeselected="true" hideitems="true">
<Containable name="smallitem"/>
</ItemContainer>
</Item>
<Item
name="Medicine Cabinet"
linkable="true"
pickdistance ="150">
<Sprite texture ="cabinets.png" depth="0.85" sourcerect="0,0,48,64"/>
<ItemContainer capacity="20" canbeselected="true" hideitems="true">
<Containable name="chem"/>
<Containable name="medical"/>
</ItemContainer>
</Item>
<Item
name="Toxic Cabinet"
linkable="true"
pickdistance ="150">
<Sprite texture ="cabinets.png" depth="0.85" sourcerect="0,64,48,64"/>
<ItemContainer capacity="20" canbeselected="true" hideitems="true">
<Containable name="chem"/>
<Containable name="medical"/>
</ItemContainer>
</Item>
<Item
name="Metal Crate"
linkable="true"
pickdistance ="150">
<Sprite texture ="crates.png" depth="0.54" sourcerect="0,0,79,35"/>
<Body width="77" height="34" density="50"/>
<Holdable slots="RightHand+LeftHand" holdpos="0,-80" handle1="-30,14" handle2="30,14" aimable="false"/>
<ItemContainer capacity="20" canbeselected="true" hideitems="true">
<Containable name="smallitem"/>
</ItemContainer>
</Item>
<Item
name="Explosive Crate"
linkable="true"
pickdistance ="150">
<Sprite texture ="crates.png" depth="0.54" sourcerect="81,0,47,42"/>
<Body width="45" height="41" density="50"/>
<Holdable slots="RightHand+LeftHand" holdpos="0,-80" handle1="-20,14" handle2="20,14" aimable="false"/>
<ItemContainer capacity="10" canbeselected="true" hideitems="true">
<Containable name="smallitem"/>
</ItemContainer>
</Item>
<Item
name="Chemical Crate"
linkable="true"
pickdistance ="150">
<Sprite texture ="crates.png" depth="0.54" sourcerect="1,36,47,42"/>
<Body width="45" height="41" density="50"/>
<Holdable slots="RightHand+LeftHand" holdpos="0,-80" handle1="-20,14" handle2="20,14" aimable="false"/>
<ItemContainer capacity="10" canbeselected="true" hideitems="true">
<Containable name="smallitem"/>
</ItemContainer>
</Item>
</Items>
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

+16
View File
@@ -1,4 +1,20 @@
<Items>
<Item
name="Clown Mask"
category="Equipment"
pickdistance="150"
tags="smallitem"
description="Praise the honkmother.">
<Sprite texture ="clownmask.png" depth="0.6"/>
<Body radius="8" density="10"/>
<Wearable limbtype="Head" slots="Any,Head">
<sprite texture="clownmask.png" limb="Head" origin="0.5,0.5"/>
</Wearable>
</Item>
<Item
name="Clown Costume"
category="Equipment"
@@ -1,40 +0,0 @@
<Items>
<Item
name="Steel Cabinet"
linkable="true"
pickdistance ="150">
<Sprite texture ="locker.png" depth="0.85"/>
<ItemContainer capacity="20" canbeselected="true" hideitems="true">
<Containable name="smallitem"/>
</ItemContainer>
</Item>
<Item
name="Medicine Cabinet"
linkable="true"
pickdistance ="150">
<Sprite texture ="cabinets.png" depth="0.85" sourcerect="0,0,48,64"/>
<ItemContainer capacity="20" canbeselected="true" hideitems="true">
<Containable name="chem"/>
<Containable name="medical"/>
</ItemContainer>
</Item>
<Item
name="Toxic Cabinet"
linkable="true"
pickdistance ="150">
<Sprite texture ="cabinets.png" depth="0.85" sourcerect="0,64,48,64"/>
<ItemContainer capacity="20" canbeselected="true" hideitems="true">
<Containable name="chem"/>
<Containable name="medical"/>
</ItemContainer>
</Item>
</Items>
+20 -1
View File
@@ -290,6 +290,7 @@
<Body width="25" height="5" density="10"/>
<Holdable slots="Any,RightHand,LeftHand">
<StatusEffect type="OnFire" target="this" condition="-50"/>
<StatusEffect type="OnBroken" target="This" Condition="-100.0" sound="Content/Items/Reactor/explosion.ogg">
<Explosion range="500" damage="5" stun="3" force="0.1"/>
</StatusEffect>
@@ -349,7 +350,25 @@
<RequiredItem name="Medical Syringe" type="Container"/>
</StatusEffect>
</Holdable>
</Item>
</Item>
<Item
name="Morbusine"
category="Material"
spritecolor="0.0,0.0,0.0,1.0"
Tags="smallitem,chem,medical"
pickdistance="150">
<Sprite texture ="med.png" sourcerect="24,16,8,16" depth="0.6"/>
<Body width="25" height="5" density="10"/>
<Holdable slots="Any,RightHand,LeftHand">
<StatusEffect type="OnUse" target="Character" Health="-20.0" duration="60.0">
<RequiredItem name="Medical Syringe" type="Container"/>
</StatusEffect>
</Holdable>
</Item>
</Items>
@@ -29,6 +29,26 @@
<Body width="16" height="7"/>
<Pickable slots="Any">
<StatusEffect type="OnFire" target="This" Condition="-50.0"/>
<StatusEffect type="OnBroken" target="This" Condition="-100.0" sound="Content/Items/Reactor/explosion.ogg">
<Explosion range="600.0" structuredamage="150" damage="300" stun="5" force="20.0"/>
</StatusEffect>
</Pickable>
</Item>
<Item
name="Volatile Compound N"
category="Equipment"
Tags="smallitem,explosive"
pickdistance="150">
<Sprite texture="weapons.png" depth="0.8" sourcerect="112,0,16,7"/>
<Body width="16" height="7"/>
<Pickable slots="Any">
<StatusEffect type="Always" target="This" Condition="-0.35"/>
<StatusEffect type="OnFire" target="This" Condition="-50.0"/>
<StatusEffect type="OnBroken" target="This" Condition="-100.0" sound="Content/Items/Reactor/explosion.ogg">
<Explosion range="600.0" structuredamage="150" damage="300" stun="5" force="20.0"/>
</StatusEffect>
@@ -47,6 +67,7 @@
<Body width="16" height="7"/>
<Pickable slots="Any">
<StatusEffect type="OnFire" target="This" Condition="-50.0"/>
<StatusEffect type="OnBroken" target="This" Condition="-100.0" sound="Content/Items/Reactor/explosion.ogg">
<Explosion range="500.0" structuredamage="50" damage="300" stun="5" force="20.0"/>
<Fire size="500"/>
@@ -81,4 +102,31 @@
</input>
</ConnectionPanel>
</Item>
<Item
name="Nitroglyserine"
category="Material"
description="A highly unstable liquid that may explode when subjected to heat or physical shock."
spritecolor="1.0,1.0,1.0,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
impacttolerance="10">
<Sprite texture ="Content/Items/Medical/med.png" sourcerect="24,16,8,16" depth="0.6"/>
<Body width="25" height="5" density="10"/>
<Holdable slots="Any,RightHand,LeftHand">
<StatusEffect type="OnImpact" target="This" Condition="0.0" setvalue="true"/>
<StatusEffect type="OnFire" target="This" Condition="-50.0"/>
<StatusEffect type="OnBroken" target="This" Condition="-100.0" sound="Content/Items/Reactor/explosion.ogg">
<Explosion range="600.0" structuredamage="400" damage="300" stun="5" force="20.0"/>
</StatusEffect>
<StatusEffect type="OnUse" target="Character" Health="-0.5" Oxygen="5.0" duration="10.0">
<RequiredItem name="Medical Syringe" type="Container"/>
</StatusEffect>
</Holdable>
</Item>
</Items>
+1 -1
View File
@@ -172,7 +172,7 @@
category="Equipment"
pickdistance="200"
price="500"
tags="weapon"
tags="weapon,smallitem"
description="HONK">
<Sprite texture="Content/Items/Jobgear/clownshirt.png" sourcerect="32,50,32,14" depth="0.5"/>