Fixed a bunch of items being rendered over water

This commit is contained in:
Regalis
2016-10-27 21:13:24 +03:00
parent 0422beebde
commit 81ed90abf4
5 changed files with 19 additions and 19 deletions

View File

@@ -118,7 +118,7 @@
<Item name="Fulgurium Bar"/>
</Deconstruct>
<Sprite texture ="alientools.png" depth="0.5" sourcerect="0,0,95,50" origin="0.5,0.4"/>
<Sprite texture ="alientools.png" depth="0.55" sourcerect="0,0,95,50" origin="0.5,0.4"/>
<Body width="85" height="40" density="15"/>

View File

@@ -11,7 +11,7 @@
<Item name="Steel Bar"/>
</Deconstruct>
<Sprite texture ="Content/Items/Tools/tools.png" sourcerect="39,31,12,33" depth="0.5"/>
<Sprite texture ="Content/Items/Tools/tools.png" sourcerect="39,31,12,33" depth="0.55"/>
<Body width="12" height="33" density="5"/>
@@ -34,7 +34,7 @@
<Item name="Polycarbonate Bar"/>
</Deconstruct>
<Sprite texture ="DivingMask.png" depth="0.5"/>
<Sprite texture ="DivingMask.png" depth="0.55"/>
<Body radius="18" density="15"/>
@@ -123,7 +123,7 @@
<Item name="Polycarbonate Bar"/>
</Deconstruct>
<Sprite texture ="DivingSuit.png" depth="0.5" sourcerect="22,98,59,32" origin="0.6,0.66"/>
<Sprite texture ="DivingSuit.png" depth="0.55" sourcerect="22,98,59,32" origin="0.6,0.66"/>
<Body width="55" height="30" density="15"/>

View File

@@ -8,7 +8,7 @@
price="100"
description="One of the most crucial tools on board the submarine. Also works underwater.">
<Sprite texture ="tools.png" sourcerect="0,17,41,17" depth="0.5"/>
<Sprite texture ="tools.png" sourcerect="0,17,41,17" depth="0.55"/>
<!-- the item takes 10 seconds to break down in a deconstructor and turns into a polycarbonate bar and a steel bar -->
<Deconstruct time="10">
@@ -70,7 +70,7 @@
<Item name="Aluminium"/>
</Deconstruct>
<Sprite texture ="tools.png" sourcerect="0,0,41,16" depth="0.5"/>
<Sprite texture ="tools.png" sourcerect="0,0,41,16" depth="0.55"/>
<Body width="41" height="16" density="40"/>
@@ -112,7 +112,7 @@
<Item name="Steel Bar"/>
</Deconstruct>
<Sprite texture ="tools.png" sourcerect="52,31,12,33" depth="0.5"/>
<Sprite texture ="tools.png" sourcerect="52,31,12,33" depth="0.55"/>
<Body width="12" height="33" density="5"/>
@@ -136,7 +136,7 @@
<Item name="Steel Bar"/>
</Deconstruct>
<Sprite texture ="extinguisher.png" depth="0.5" sourcerect="0,0,34,64" origin="0.4,0.5"/>
<Sprite texture ="extinguisher.png" depth="0.55" sourcerect="0,0,34,64" origin="0.4,0.5"/>
<Body radius="10" height="45" density="5"/>
@@ -159,7 +159,7 @@
pickdistance="200"
price="10">
<Sprite texture ="tools.png" sourcerect="0,58,31,6" depth="0.5"/>
<Sprite texture ="tools.png" sourcerect="0,58,31,6" depth="0.55"/>
<Body width="31" height="6" density="50"/>
@@ -174,7 +174,7 @@
pickdistance="200"
price="10">
<Sprite texture ="tools.png" sourcerect="0,50,26,7" depth="0.5"/>
<Sprite texture ="tools.png" sourcerect="0,50,26,7" depth="0.55"/>
<Body width="30" height="7" density="50"/>
@@ -191,7 +191,7 @@
pickdistance="200"
price="10">
<Sprite texture ="tools.png" sourcerect="42,0,22,9" depth="0.5"/>
<Sprite texture ="tools.png" sourcerect="42,0,22,9" depth="0.55"/>
<Body width="31" height="6" density="40"/>
@@ -225,7 +225,7 @@
<Item name="Polycarbonate Bar"/>
</Deconstruct>
<Sprite texture ="tools.png" sourcerect="0,36,27,11" depth="0.5"/>
<Sprite texture ="tools.png" sourcerect="0,36,27,11" depth="0.55"/>
<Body width="27" height="10" density="15"/>
@@ -259,7 +259,7 @@
</Deconstruct>
<Sprite texture ="tools.png" sourcerect="0,38,21,7" depth="0.5"/>
<Sprite texture ="tools.png" sourcerect="0,38,21,7" depth="0.55"/>
<Body width="21" height="7" density="12"/>

View File

@@ -74,7 +74,7 @@
<Item name="Uranium Bar"/>
</Deconstruct>
<Sprite texture="railgunetc.png" sourcerect="187,210,68,47" depth="0.5"/>
<Sprite texture="railgunetc.png" sourcerect="187,210,68,47" depth="0.55"/>
<Body width="68" height="47" density="30"/>

View File

@@ -35,7 +35,7 @@
<Item name="Polycarbonate Bar"/>
</Deconstruct>
<Sprite texture="weapons.png" sourcerect="0,25,98,25" depth="0.5"/>
<Sprite texture="weapons.png" sourcerect="0,25,98,25" depth="0.55"/>
<Body width="90" height="30" density="50"/>
@@ -61,7 +61,7 @@
price="200"
tags="smallitem,weapon">
<Sprite texture="weapons.png" sourcerect="98,0,11,24" depth="0.5"/>
<Sprite texture="weapons.png" sourcerect="98,0,11,24" depth="0.55"/>
<Body width="11" height="24" density="30"/>
@@ -78,7 +78,7 @@
pickdistance="200"
tags="smallitem,weapon">
<Sprite texture="weapons.png" sourcerect="98,0,11,24" depth="0.5"/>
<Sprite texture="weapons.png" sourcerect="98,0,11,24" depth="0.55"/>
<Body width="11" height="24" density="30"/>
@@ -103,7 +103,7 @@
<Item name="Polycarbonate Bar"/>
</Deconstruct>
<Sprite texture="weapons.png" sourcerect="21,0,77,22" depth="0.5"/>
<Sprite texture="weapons.png" sourcerect="21,0,77,22" depth="0.55"/>
<Body width="90" height="30" density="30"/>
@@ -174,7 +174,7 @@
tags="weapon,smallitem"
description="HONK">
<Sprite texture="Content/Items/Jobgear/clownshirt.png" sourcerect="32,50,32,14" depth="0.5"/>
<Sprite texture="Content/Items/Jobgear/clownshirt.png" sourcerect="32,50,32,14" depth="0.55"/>
<Body width="30" height="10" density="10"/>