<?xml version="1.0" encoding="utf-8"?>
<Override>
  <Items itemtype="wrecked">
    <!-- variantification of doors + fixes to sprite depth -->
    <Item name="" identifier="doorwrecked" nameidentifier="door" tags="door,weldable" variantof="door" scale="0.5" health="40" category="Wrecked" damagedbyrepairtools="true" damagedbymonsters="true" damagedbyexplosions="true" explosiondamagemultiplier="0.1">
      <Sprite name="doorwrecked.background" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1790,1236,49,416" depth="0.51" origin="0.5,0.5" />
      <DecorativeSprite texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1841,1236,44,417" depth="0.89" origin="0.5,0.5" />
      <Door canbeselected="true" canbepicked="true" pickkey="Action" msg="ItemMsgForceOpenCrowbar" PickingTime="10.0" shadowscale="0.7,1">
        <Sprite name="doorwrecked.door" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1936,1025,42,416" depth="0.05" origin="0.5,0" />
        <WeldedSprite name="doorwrecked.welded" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1982,1024,64,378" depth="0.0" origin="0.5,0.5" />
        <BrokenSprite name="doorwrecked.broken" texture="Content/Items/Door/door.png" sourcerect="271,0,121,416" depth="0.509" origin="0.5,0.0" scale="true" />
      </Door>
    </Item>
    <Item name="" identifier="windoweddoorwrecked" nameidentifier="windoweddoor" variantof="windoweddoor" tags="door,weldable" scale="0.5" health="40" category="Wrecked" damagedbyrepairtools="true" damagedbymonsters="true" damagedbyexplosions="true" explosiondamagemultiplier="0.1">
      <Sprite name="windoweddoorwrecked.background" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1789,1236,49,416" depth="0.51" origin="0.5,0.5" />
      <DecorativeSprite texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1840,1236,46,417" depth="0.89" origin="0.5,0.5" />
      <Door window="0,0,50,227" canbepicked="true" canbeselected="true" pickkey="Action" msg="ItemMsgForceOpenCrowbar" PickingTime="10.0" shadowscale="0.7,1">
        <Sprite name="windoweddoorwrecked.door" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1885,1025,50,416" depth="0.05" origin="0.5,0" />
        <WeldedSprite name="windoweddoorwrecked.welded" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1982,1024,64,378" depth="0.0" origin="0.5,0.5" />
        <BrokenSprite name="windoweddoorwrecked.broken" texture="Content/Items/Door/door.png" sourcerect="392,0,120,416" depth="0.509" origin="0.5,0.0" scale="true" />
      </Door>
    </Item>
    <Item name="" identifier="hatchwrecked" nameidentifier="hatch" variantof="hatch" allowedlinks="gap, hull" tags="door,weldable" scale="0.5" health="40" category="Wrecked" damagedbyrepairtools="true" damagedbymonsters="true" damagedbyexplosions="true" explosiondamagemultiplier="0.1">
      <Sprite name="hatchwrecked.background" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1234,1815,256,98" depth="0.7" origin="0.5,0.5" />
      <Door canbeselected="true" canbepicked="true" horizontal="true" pickkey="Action" msg="ItemMsgForceOpenCrowbar" PickingTime="10.0" shadowscale="1,0.8">
        <Sprite name="hatchwrecked.door" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1775,1883,256,38" depth="0.05" origin="0,0.5" />
        <WeldedSprite name="hatchwrecked.welded" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1233,1915,228,79" depth="0.0" origin="0.5,0.5" />
        <BrokenSprite name="hatchwrecked.broken" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1775,1927,256,114" depth="0.051" origin="0.5,0.5" scale="true" />
      </Door>
    </Item>
    <Item name="" identifier="doorwbuttonswrecked" nameidentifier="doorwbuttons" variantof="doorwbuttons" tags="door,weldable" scale="0.5" health="40" requirebodyinsidetrigger="false" category="Wrecked" damagedbyrepairtools="true" damagedbymonsters="true" damagedbyexplosions="true" explosiondamagemultiplier="0.1">
      <Sprite name="doorwbuttonswrecked.background" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1789,1236,49,416" depth="0.51" origin="0.5,0.5" />
      <DecorativeSprite texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1884,1452,164,416" depth="0.89" origin="0.5,0.5" />
      <DecorativeSprite />
      <DecorativeSprite />
      <Door canbeselected="true" canbepicked="true" pickkey="Action" msg="ItemMsgForceOpenCrowbar" PickingTime="10.0" shadowscale="0.7,1" hasintegratedbuttons="true">
        <Sprite name="doorwbuttonswrecked.door" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1936,1025,42,416" depth="0.05" origin="0.5,0" />
        <WeldedSprite name="doorwbuttonswrecked.welded" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1982,1024,64,378" depth="0.0" origin="0.5,0.5" />
        <BrokenSprite name="doorwbuttonswrecked.broken" texture="Content/Items/Door/door.png" sourcerect="271,0,121,416" depth="0.509" origin="0.5,0.0" scale="true" />
      </Door>
    </Item>
    <Item name="" identifier="windoweddoorwbuttonswrecked" nameidentifier="windoweddoorwbuttons" variantof="windoweddoorwbuttons" tags="door,weldable" scale="0.5" health="40" requirebodyinsidetrigger="false" category="Wrecked" damagedbyrepairtools="true" damagedbymonsters="true" damagedbyexplosions="true" explosiondamagemultiplier="0.1">
      <Sprite name="windoweddoorwbuttonswrecked.background" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1789,1236,49,416" depth="0.51" origin="0.5,0.5" />
      <DecorativeSprite texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1884,1452,164,416" depth="0.89" origin="0.5,0.5" />
      <DecorativeSprite />
      <DecorativeSprite />
      <Door window="0,0,50,227" canbepicked="true" canbeselected="true" pickkey="Action" msg="ItemMsgForceOpenCrowbar" PickingTime="10.0" shadowscale="0.7,1" hasintegratedbuttons="true">
        <Sprite name="windoweddoorwbuttonswrecked.door" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1885,1025,50,416" depth="0.05" origin="0.5,0" />
        <WeldedSprite name="windoweddoorwbuttonswrecked.welded" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1982,1024,64,378" depth="0.0" origin="0.5,0.5" />
        <BrokenSprite name="windoweddoorwbuttonswrecked.broken" texture="Content/Items/Door/door.png" sourcerect="392,0,120,416" depth="0.509" origin="0.5,0.0" scale="true" />
      </Door>
    </Item>
    <Item name="" identifier="hatchwbuttonswrecked" nameidentifier="hatchwbuttons" variantof="hatchwbuttons" allowedlinks="gap, hull" tags="door,weldable" scale="0.5" health="40" requirebodyinsidetrigger="false" category="Wrecked" damagedbyrepairtools="true" damagedbymonsters="true" damagedbyexplosions="true" explosiondamagemultiplier="0.1">
      <Upgrade gameversion="0.9.7.0" spritedepth="0.7" />
      <Sprite name="hatchwbuttonswrecked.background" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1234,1815,256,98" depth="0.7" origin="0.5,0.5" />
      <DecorativeSprite texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1498,1851,263,196" depth="0.89" origin="0.5,0.5" />
      <Door canbeselected="true" canbepicked="true" horizontal="true" pickkey="Action" msg="ItemMsgOpen" PickingTime="10.0" shadowscale="1,0.8" hasintegratedbuttons="true">
        <Sprite name="hatchwbuttonswrecked.door" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1775,1883,256,38" depth="0.05" origin="0,0.5" />
        <WeldedSprite name="hatchwbuttonswrecked.welded" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1233,1915,228,79" depth="0.0" origin="0.5,0.5" />
        <BrokenSprite name="hatchwbuttonswrecked.broken" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1774,1927,256,114" depth="0.051" origin="0,0.50071234" scale="true" />
      </Door>
    </Item>
    <!-- variantification of docking ports, it was impossible to dock-->
    <Item name="" identifier="dockingportwrecked" nameidentifier="dockingport" variantof="dockingport" scale="1" tags="dock,light" linkable="true" indestructible="false" requirecursorinsidetrigger="true" requirebodyinsidetrigger="false" category="Wrecked" damagedbyrepairtools="true" damagedbymonsters="true" damagedbyexplosions="true" explosiondamagemultiplier="0.1">
      <Sprite texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1745,1025,113,209" depth="0.94" origin="0.5,0.5" scale="2" />
      <trigger x="0" y="0" width="114" height="31" />
      <trigger x="0" y="-179" width="114" height="31" />
      <LightComponent range="10.0" lightcolor="255,0,0,0" scale="1" alphablend="false" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
        <Upgrade gameversion="0.9.9000.0" lightcolor="255,0,0,0" />
        <IsActive targetitemcomponent="DockingPort" docked="false" />
        <Sprite texture="Content/Items/Door/dockingportlights.png" sourcerect="0,0,113,209" depth="0.9" origin="0.5,0.5" alpha="1.0" />
      </LightComponent>
      <LightComponent range="10.0" lightcolor="0,255,0,0" scale="1" alphablend="false" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
        <Upgrade gameversion="0.9.9000.0" lightcolor="0,255,0,0" />
        <IsActive targetitemcomponent="DockingPort" docked="true" />
        <Sprite texture="Content/Items/Door/dockingportlights.png" sourcerect="0,0,113,209" depth="0.9" origin="0.5,0.5" alpha="1.0" />
      </LightComponent>
      <Upgrade gameversion="1.6.19.0" scale="1.0" />
    </Item>
    <Item name="" identifier="dockinghatchwrecked" nameidentifier="dockinghatch" variantof="dockinghatch" scale="1" tags="dock" linkable="true" indestructible="false" category="Wrecked" damagedbyrepairtools="true" damagedbymonsters="true" damagedbyexplosions="true" explosiondamagemultiplier="0.1" requirecursorinsidetrigger="true" requirebodyinsidetrigger="false">
      <Sprite texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1595,1402,129,115" depth="0.94" origin="0.5,0.5" scale="2" />
      <trigger x="0" y="0" width="32" height="116" />
      <trigger x="98" y="0" width="32" height="116" />
      <LightComponent range="10.0" lightcolor="255,0,0,0" scale="1" alphablend="false" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
        <Upgrade gameversion="0.9.9000.0" lightcolor="255,0,0,0" />
        <IsActive targetitemcomponent="DockingPort" docked="false" />
        <Sprite texture="Content/Items/Door/dockingportlights.png" sourcerect="126,2,128,112" depth="0.9" origin="0.5,0.5" alpha="1.0" />
      </LightComponent>
      <LightComponent range="10.0" lightcolor="0,255,0,0" scale="1" alphablend="false" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
        <Upgrade gameversion="0.9.9000.0" lightcolor="0,255,0,0" />
        <IsActive targetitemcomponent="DockingPort" docked="true" />
        <Sprite texture="Content/Items/Door/dockingportlights.png" sourcerect="126,2,128,112" depth="0.9" origin="0.5,0.5" alpha="1.0" />
      </LightComponent>
      <Upgrade gameversion="1.6.19.0" scale="1.0" />
    </Item>
    <!-- new wrecked guns from unstable-->
    <Item name="" identifier="periscopewrecked" nameidentifier="periscope" variantof="periscope" category="Wrecked" condition="100">
      <Upgrade gameversion="0.20.8.0" scale="0.5" condition="100" />
      <Sprite texture="Content/Items/Shipwrecks/TurretsWrecked.png" sourcerect="888,1,134,203" origin="0.5,0.5" />
    </Item>
    <Item name="" identifier="coilgunloaderwrecked" nameidentifier="coilgunloader" variantof="coilgunloader" category="Wrecked" condition="0">
      <Sprite name="Wrecked Coilgun Loader Front" texture="%ModDir%/TurretsWrecked.png" depth="0.78" sourcerect="2005,9,170,355" origin="0.5,0.5" />
      <BrokenSprite texture="Content/Items/Weapons/Loaders.png" sourcerect="163,563,153,351" origin="0.5,0.5" offset="6,3" depth="0.77" fadein="true" maxcondition="99" />
      <DecorativeSprite name="Wrecked Coilgun Loader Frame Front" texture="Content/Items/Weapons/Loaders.png" depth="0.8" sourcerect="31,569,117,200" origin="0.5,0.5" offset="0,-68" />
      <DecorativeSprite name="Wrecked Ammobelt" texture="Content/Items/Containers/containers.png" depth="0.79" sourcerect="499,663,52,142" origin="0.5,0.5" offset="0,12">
        <IsActiveConditional targetcontaineditem="true" condition="gt 0.0" />
      </DecorativeSprite>
      <Repairable>
        <!-- don't emit particles unless repaired above 0 condition -->
        <ParticleEmitter mincondition="1.0" />
        <ParticleEmitter mincondition="1.0" />
        <ParticleEmitter mincondition="1.0" />
        <ParticleEmitter mincondition="1.0" />
      </Repairable>
    </Item>
    <Item name="" identifier="pulselaserloaderwrecked" nameidentifier="pulselaserloader" variantof="pulselaserloader" category="Wrecked" condition="0">
      <Sprite texture="%ModDir%/TurretsWrecked.png" sourcerect="1186,4,169,358" origin="0.5,0.5" />
      <Repairable>
        <!-- don't emit particles unless repaired above 0 condition -->
        <ParticleEmitter mincondition="1.0" />
        <ParticleEmitter mincondition="1.0" />
        <ParticleEmitter mincondition="1.0" />
        <ParticleEmitter mincondition="1.0" />
      </Repairable>
    </Item>
    <Item name="" identifier="chaingunloaderwrecked" nameidentifier="chaingunloader" variantof="chaingunloader" category="Wrecked" allowedlinks="chaingun,chaingunwrecked" condition="0">
      <Sprite texture="%ModDir%/TurretsWrecked.png" sourcerect="1356,4,155,356" origin="0.5,0.5" />
      <Repairable>
        <!-- don't emit particles unless repaired above 0 condition -->
        <ParticleEmitter mincondition="1.0" />
        <ParticleEmitter mincondition="1.0" />
        <ParticleEmitter mincondition="1.0" />
        <ParticleEmitter mincondition="1.0" />
      </Repairable>
    </Item>
    <Item name="" identifier="flakcannonloaderwrecked" nameidentifier="flakcannonloader" variantof="flakcannonloader" category="Wrecked" condition="0">
      <Sprite texture="%ModDir%/TurretsWrecked.png" sourcerect="1510,4,155,347" origin="0.5,0.5" />
      <Repairable>
        <!-- don't emit particles unless repaired above 0 condition -->
        <ParticleEmitter mincondition="1.0" />
        <ParticleEmitter mincondition="1.0" />
        <ParticleEmitter mincondition="1.0" />
        <ParticleEmitter mincondition="1.0" />
      </Repairable>
    </Item>
    <Item name="" identifier="pulselaserwrecked" nameidentifier="pulselaser" variantof="pulselaser" category="Wrecked">
      <!-- remove SwappableItem element (can't be swapped with normal turrets) -->
      <SwappableItem />
      <Sprite texture="%ModDir%/TurretsWrecked.png" sourcerect="2,479,256,256" origin="0.4731457,0.48286426" />
      <Turret targetcharacters="true" targetmonsters="true" targetsubmarines="true" targetitems="false" randommovement="true" randomaimmaxtime="3" randomaimmintime="1" randomaimamount="60" aimdelay="true">
        <RailSprite texture="%ModDir%/TurretsWrecked.png" sourcerect="455,268,120,287" origin="0.4436682,0.7117676" />
        <BarrelSprite texture="%ModDir%/TurretsWrecked.png" sourcerect="480,508,125,333" origin="0.44386,0.79220754" />
        <ChargeSprite chargetarget="25, 15" texture="%ModDir%/TurretsWrecked.png" depth="0.01" sourcerect="264,857,59,150" origin="1, 1.6" />
        <ChargeSprite chargetarget="-25, 15" texture="%ModDir%/TurretsWrecked.png" depth="0.01" sourcerect="336,857,59,150" origin="0, 1.6" />
      </Turret>
    </Item>
    <Item name="" identifier="chaingunwrecked" nameidentifier="chaingun" variantof="chaingun" category="Wrecked">
      <!-- remove SwappableItem element (can't be swapped with normal turrets) -->
      <SwappableItem />
      <Sprite texture="%ModDir%/TurretsWrecked.png" sourcerect="-1,704,256,256" origin="0.48290932,0.48962492" />
      <Turret targetcharacters="true" targetmonsters="true" targetsubmarines="true" targetitems="false" randommovement="true" randomaimmaxtime="3" randomaimmintime="1" randomaimamount="60" aimdelay="true">
        <RailSprite texture="%ModDir%/TurretsWrecked.png" sourcerect="257,341,212,512" origin="0.42269978,0.86269337" />
        <SpinningBarrelSprite spriteamount="5" texture="%ModDir%/TurretsWrecked.png" depth="0.013" sourcerect="1959,4,46,296" origin="0.1, 1.4" />
      </Turret>
    </Item>
    <Item name="" identifier="flakcannonwrecked" nameidentifier="flakcannon" variantof="flakcannon" category="Wrecked" scale="0.5">
      <!-- remove SwappableItem element (can't be swapped with normal turrets) -->
      <SwappableItem />
      <Sprite texture="%ModDir%/TurretsWrecked.png" sourcerect="1032,517,504,504" origin="0.4825614,0.49199483" />
      <Turret targetcharacters="false" targetsubmarines="true" randommovement="true" targetitems="false" randomaimmaxtime="3" randomaimmintime="1" randomaimamount="60" aimdelay="true" barrelpos="250,180">
        <RailSprite texture="%ModDir%/TurretsWrecked.png" sourcerect="719,517,307,470" origin="0.47793087,0.784844" />
        <BarrelSprite texture="%ModDir%/TurretsWrecked.png" sourcerect="598,296,111,582" origin="0.5020449,1" />
      </Turret>
    </Item>
    <Item name="" identifier="doublecoilgunwrecked" nameidentifier="doublecoilgun" variantof="doublecoilgun" category="Wrecked" scale="0.5">
      <!-- remove SwappableItem element (can't be swapped with normal turrets) -->
      <SwappableItem />
      <Sprite texture="%ModDir%/TurretsWrecked.png" sourcerect="1540,517,504,504" origin="0.4886164,0.4935942" />
      <Turret targetcharacters="false" targetsubmarines="true" randommovement="true" targetitems="false" randomaimmaxtime="3" randomaimmintime="1" randomaimamount="60" aimdelay="true" barrelpos="250,180">
        <RailSprite texture="%ModDir%/TurretsWrecked.png" sourcerect="1667,4,280,336" origin="0.5105362,0.7802653" />
        <BarrelSprite texture="%ModDir%/TurretsWrecked.png" sourcerect="1018,4,166,483" origin="0.49971396,0.8954086" />
      </Turret>
    </Item>
    <!-- variantification of cabinets and containers, wrecked tags not added for reasons-->
    <Item name="" identifier="suppliescabinetwrecked" nameidentifier="suppliescabinet" variantof="suppliescabinet" tags="container,suppliescontainer,wrecksupplycab" pickdistance="150" scale="0.5" category="Wrecked">
      <Sprite texture="Content/Items/Shipwrecks/MiscWrecked.png" depth="0.84" sourcerect="1601,1519,120,132" origin="0.5,0.5" />
    </Item>
    <Item name="" identifier="mediumsteelcabinetwrecked" nameidentifier="mediumsteelcabinet" variantof="mediumsteelcabinet" tags="locker,container" pickdistance="150" scale="0.5" category="Wrecked">
      <Sprite texture="Content/Items/Shipwrecks/MiscWrecked.png" depth="0.84" sourcerect="1569,1026,175,374" origin="0.5,0.5" />
    </Item>
    <Item name="" identifier="mediumwindowedsteelcabinetwrecked" nameidentifier="mediumwindowedsteelcabinet" variantof="mediumwindowedsteelcabinet" tags="locker,container" pickdistance="150" scale="0.5" category="Wrecked">
      <Sprite texture="Content/Items/Shipwrecks/MiscWrecked.png" depth="0.84" sourcerect="1399,1024,168,377" origin="0.5,0.5" />
    </Item>
    <Item name="" identifier="steelcabinetwrecked" nameidentifier="steelcabinet" variantof="steelcabinet" tags="locker,container" pickdistance="150" scale="0.5" category="Wrecked">
      <Sprite texture="Content/Items/Shipwrecks/MiscWrecked.png" depth="0.84" sourcerect="1022,1025,364,373" origin="0.5,0.5" />
    </Item>
    <Item name="" identifier="securesteelcabinetwrecked" nameidentifier="securesteelcabinet" variantof="securesteelcabinet" tags="container,securecontainer" pickdistance="150" scale="0.5" category="Wrecked">
      <Sprite texture="Content/Items/Shipwrecks/MiscWrecked.png" depth="0.84" sourcerect="1574,1651,105,160" origin="0.5,0.5" />
    </Item>
    <Item name="" identifier="toxcabinetwrecked" nameidentifier="toxcabinet" variantof="toxcabinet" tags="container,wrecktoxcontainer" pickdistance="150" waterproof="true" scale="0.4" category="Wrecked">
      <Sprite texture="Content/Items/Shipwrecks/MiscWrecked.png" depth="0.84" sourcerect="1682,1654,157,185" canflipx="false" origin="0.5,0.5" />
    </Item>
    <Item name="" identifier="divingsuitlockerwrecked" nameidentifier="divingsuitlocker" variantof="divingsuitlocker" tags="divingsuitcontainerwindow,wreckdivingsuitcontainer" pickdistance="50" scale="0.5" category="Wrecked">
      <Sprite texture="Content/Items/Shipwrecks/MiscWrecked.png" depth="0.84" sourcerect="1126,1710,99,254" origin="0.5,0.5" />
    </Item>
    <Item name="" identifier="oxygentankshelf2wrecked" nameidentifier="oxygentankshelf" variantof="oxygentankshelf2" tags="wreckoxygentankcontainer" pickdistance="50" scale="0.5" category="Wrecked">
      <Sprite name="Diving Suit Locker Small" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1126,1964,99,83" depth="0.84" origin="0.5,0.5" />
    </Item>
    <Item name="" identifier="bunkwrecked" nameidentifier="bunk" variantof="bunk" width="173" height="129" category="Wrecked" scale="0.5">
      <sprite texture="Content/Items/Shipwrecks/BackgroundStructuresWrecked.png" sourcerect="497,692,173,129" depth="0.88" origin="0.5,0.5" />
    </Item>
    <!-- color correction removing the orange/brown tinge from newest sprites -->
    <Item name="" identifier="ladderwrecked" nameidentifier="ladder" variantof="ladder" category="Wrecked" condition="0" scale="0.5" spritecolor="255,255,255,255">
      <Sprite texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="981,1600,22,240" />
      <Ladder>
        <BackgroundSprite texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="955,1600,26,240" />
      </Ladder>
    </Item>
    <Item name="" identifier="ventwrecked" nameidentifier="vent" variantof="vent" category="Wrecked" condition="0" scale="0.4" spritecolor="255,255,255,255">
      <Sprite name="Vent (Wrecked)" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1902,363,143,143" />
    </Item>
    <Item name="" identifier="looseventwrecked" nameidentifier="loosevent" variantof="loosevent" category="Wrecked" scale="0.4" condition="0" spritecolor="255,255,255,255">
      <Sprite name="Vent (Wrecked)" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1902,363,143,143" />
    </Item>
    <Item name="" identifier="medcabinetwrecked" nameidentifier="medcabinet" variantof="medcabinet" category="Wrecked" scale="0.5" condition="0" spritecolor="255,255,255,255">
      <Sprite name="Medical Cabinet (Wrecked)" texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="1691,10,208,346" />
    </Item>
    <!--   railgun rack size adjusted -->
    <Item name="" identifier="railgunshellrackwrecked" nameidentifier="railgunshellrack" variantof="railgunshellrack" tags="container,wreckrailgunammocontainer" category="Wrecked">
      <Upgrade gameversion="0.20.4.0" scale="0.5" condition="0" />
      <Sprite texture="Content/Items/Shipwrecks/MiscWrecked.png" sourcerect="936,1869,182,176" />
      <ItemContainer hideitems="false" drawinventory="true" capacity="12" slotsperrow="4" itempos="42,-60" iteminterval="32,0" itemrotation="90" containedspritedepth="0.845" canbeselected="true" msg="ItemMsgInteractSelect">
        <GuiFrame relativesize="0.3,0.2" anchor="Center" style="ItemUI" />
        <Containable items="railgunammo" />
      </ItemContainer>
    </Item>
    <!-- added brokensprite to big railgun loader, updated wrecked variant -->
    <!-- base loader, not wrecked -->
    <Item name="" identifier="railgunloader" tags="railgunequipment,railgunammosource,turretammosource" category="Legacy" linkable="true" allowedlinks="railgun" scale="0.5" damagedbyexplosions="true" explosiondamagemultiplier="0.2">
      <SwappableItem canbebought="false" origin="149,276" />
      <Sprite texture="Content/Items/Weapons/LegacyLoaders.png" depth="0.8" sourcerect="0,0,298,276" origin="0.5,0.5" />
      <BrokenSprite texture="Content/Map/Outposts/AbandonedOutpost/RustedDecalItem.png" sourcerect="463,269,289,286" offset="0,0" depth="0.8" origin="0.5,0.5" scale="true" fadein="true" maxcondition="80" />
      <ItemContainer hideitems="false" drawinventory="true" capacity="15" slotsperrow="4" itempos="53,-140" iteminterval="48,0" itemrotation="90" canbeselected="true" msg="ItemMsgInteractSelect">
        <GuiFrame relativesize="0.3,0.2" anchor="Center" style="ItemUI" />
        <Containable items="railgunammo" />
      </ItemContainer>
      <Repairable selectkey="Action" header="mechanicalrepairsheader" deteriorationspeed="20" mindeteriorationdelay="5" maxdeteriorationdelay="15" MinDeteriorationCondition="0" RepairThreshold="50" fixDurationHighSkill="5" fixDurationLowSkill="25" msg="ItemMsgRepairWrench" hudpriority="10">
        <StatusEffect type="InWater" target="This" condition="-0.25" />
        <GuiFrame relativesize="0.2,0.16" minsize="400,180" maxsize="480,280" anchor="Center" relativeoffset="-0.1,0.27" style="ItemUI" />
        <RequiredSkill identifier="mechanical" level="55" />
        <RequiredItem items="wrench" type="Equipped" />
        <ParticleEmitter particle="damagebubbles" particleburstamount="2" particleburstinterval="2.0" particlespersecond="2" scalemin="0.5" scalemax="1.5" anglemin="0" anglemax="359" velocitymin="-10" velocitymax="10" mincondition="0.0" maxcondition="50.0" />
        <ParticleEmitter particle="smoke" particleburstamount="3" particleburstinterval="0.5" particlespersecond="2" scalemin="1" scalemax="2.5" anglemin="0" anglemax="359" velocitymin="-50" velocitymax="50" mincondition="15.0" maxcondition="50.0" />
        <ParticleEmitter particle="heavysmoke" particleburstinterval="0.25" particlespersecond="2" scalemin="2.5" scalemax="5.0" mincondition="0.0" maxcondition="15.0" />
        <StatusEffect type="OnFailure" target="Character" targetlimbs="LeftHand,RightHand">
          <Sound file="Content/Items/MechanicalRepairFail.ogg" range="1000" />
          <Affliction identifier="lacerations" strength="5" />
          <Affliction identifier="stun" strength="4" />
        </StatusEffect>
      </Repairable>
    </Item>
    <Item name="" identifier="railgunloaderwrecked" nameidentifier="railgunloader" variantof="railgunloader" category="Wrecked" condition="0">
      <Sprite texture="Content/Items/Shipwrecks/TurretsWrecked.png" depth="0.8" sourcerect="719,231,298,276" origin="0.5,0.5" />
      <BrokenSprite texture="Content/Items/Shipwrecks/TurretsWrecked.png" depth="0.8" sourcerect="719,231,298,276" offset="0,0" origin="0.5,0.5" scale="true" fadein="false" />
      <Repairable>
        <!-- don't emit particles unless repaired above 0 condition -->
        <ParticleEmitter mincondition="1.0" />
        <ParticleEmitter mincondition="1.0" />
        <ParticleEmitter mincondition="1.0" />
        <ParticleEmitter mincondition="1.0" />
      </Repairable>
    </Item>
    <!-- not wrecked -->
    <Item name="" identifier="railgunloadersinglevertical" tags="railgunequipment,railgunammosource,turretammosource" category="Legacy" linkable="true" allowedlinks="railgun" scale="0.5" damagedbyexplosions="true" explosiondamagemultiplier="0.2">
      <SwappableItem canbebought="false" origin="42,236" />
      <Sprite texture="Content/Items/Weapons/LegacyLoaders.png" depth="0.8" sourcerect="0,276,84,236" origin="0.5,0.5" />
      <BrokenSprite texture="Content/Items/Shipwrecks/TurretsWrecked.png" sourcerect="1030,265,84,236" depth="0.8" origin="0.5,0.5" scale="true" fadein="true" maxcondition="80" />
      <ItemContainer hideitems="false" drawinventory="true" capacity="1" slotsperrow="1" itempos="42,-112" iteminterval="0,0" itemrotation="90" canbeselected="true" msg="ItemMsgInteractSelect">
        <GuiFrame relativesize="0.2,0.25" anchor="Center" minsize="140,170" maxsize="280,280" style="ItemUI" />
        <Containable items="railgunammo" />
      </ItemContainer>
      <Repairable selectkey="Action" header="mechanicalrepairsheader" deteriorationspeed="20" mindeteriorationdelay="5" maxdeteriorationdelay="15" MinDeteriorationCondition="0" RepairThreshold="50" fixDurationHighSkill="5" fixDurationLowSkill="25" msg="ItemMsgRepairWrench" hudpriority="10">
        <StatusEffect type="InWater" target="This" condition="-0.25" />
        <GuiFrame relativesize="0.2,0.16" minsize="400,180" maxsize="480,280" anchor="Center" relativeoffset="-0.1,0.27" style="ItemUI" />
        <RequiredSkill identifier="mechanical" level="55" />
        <RequiredItem items="wrench" type="Equipped" />
        <ParticleEmitter particle="damagebubbles" particleburstamount="2" particleburstinterval="2.0" particlespersecond="2" scalemin="0.5" scalemax="1.5" anglemin="0" anglemax="359" velocitymin="-10" velocitymax="10" mincondition="0.0" maxcondition="50.0" />
        <ParticleEmitter particle="smoke" particleburstamount="3" particleburstinterval="0.5" particlespersecond="2" scalemin="1" scalemax="2.5" anglemin="0" anglemax="359" velocitymin="-50" velocitymax="50" mincondition="15.0" maxcondition="50.0" />
        <ParticleEmitter particle="heavysmoke" particleburstinterval="0.25" particlespersecond="2" scalemin="2.5" scalemax="5.0" mincondition="0.0" maxcondition="15.0" />
        <StatusEffect type="OnFailure" target="Character" targetlimbs="LeftHand,RightHand">
          <Sound file="Content/Items/MechanicalRepairFail.ogg" range="1000" />
          <Affliction identifier="lacerations" strength="5" />
          <Affliction identifier="stun" strength="4" />
        </StatusEffect>
      </Repairable>
    </Item>
    <!-- not wrecked -->
    <Item name="" identifier="railgunloadersinglehorizontal" tags="railgunequipment,railgunammosource,turretammosource" category="Legacy" linkable="true" allowedlinks="railgun" scale="0.5" damagedbyexplosions="true" explosiondamagemultiplier="0.2">
      <SwappableItem canbebought="false" origin="120,86" />
      <Sprite texture="Content/Items/Weapons/LegacyLoaders.png" depth="0.8" sourcerect="86,278,241,86" origin="0.5,0.5" />
      <BrokenSprite texture="Content/Items/Shipwrecks/TurretsWrecked.png" sourcerect="462,420,241,86" depth="0.8" origin="0.5,0.5" scale="true" fadein="true" maxcondition="80" />
      <ItemContainer hideitems="false" drawinventory="true" capacity="1" slotsperrow="1" itempos="112,-42" iteminterval="0,0" itemrotation="180" canbeselected="true" msg="ItemMsgInteractSelect">
        <GuiFrame relativesize="0.2,0.25" anchor="Center" minsize="140,170" maxsize="280,280" style="ItemUI" />
        <Containable items="railgunammo" />
      </ItemContainer>
      <Repairable selectkey="Action" header="mechanicalrepairsheader" deteriorationspeed="20" mindeteriorationdelay="5" maxdeteriorationdelay="15" MinDeteriorationCondition="0" RepairThreshold="50" fixDurationHighSkill="5" fixDurationLowSkill="25" msg="ItemMsgRepairWrench" hudpriority="10">
        <StatusEffect type="InWater" target="This" condition="-0.25" />
        <GuiFrame relativesize="0.2,0.16" minsize="400,180" maxsize="480,280" anchor="Center" relativeoffset="-0.1,0.27" style="ItemUI" />
        <RequiredSkill identifier="mechanical" level="55" />
        <RequiredItem items="wrench" type="Equipped" />
        <ParticleEmitter particle="damagebubbles" particleburstamount="2" particleburstinterval="2.0" particlespersecond="2" scalemin="0.5" scalemax="1.5" anglemin="0" anglemax="359" velocitymin="-10" velocitymax="10" mincondition="0.0" maxcondition="50.0" />
        <ParticleEmitter particle="smoke" particleburstamount="3" particleburstinterval="0.5" particlespersecond="2" scalemin="1" scalemax="2.5" anglemin="0" anglemax="359" velocitymin="-50" velocitymax="50" mincondition="15.0" maxcondition="50.0" />
        <ParticleEmitter particle="heavysmoke" particleburstinterval="0.25" particlespersecond="2" scalemin="2.5" scalemax="5.0" mincondition="0.0" maxcondition="15.0" />
        <StatusEffect type="OnFailure" target="Character" targetlimbs="LeftHand,RightHand">
          <Sound file="Content/Items/MechanicalRepairFail.ogg" range="1000" />
          <Affliction identifier="lacerations" strength="5" />
          <Affliction identifier="stun" strength="4" />
        </StatusEffect>
      </Repairable>
    </Item>
    <Item name="" identifier="textdisplay" category="Electrical" scale="0.5" Tags="mediumitem,logic" impactsoundtag="impact_metal_light" cargocontaineridentifier="metalcrate" isshootable="true" AllowRotatingInEditor="false">
      <Upgrade gameversion="0.12.0.0" scale="0.5" />
      <Sprite texture="Content/Items/Labels/labels.png" depth="0.85" sourcerect="0,0,126,48" />
      <Price baseprice="200">
        <Price storeidentifier="merchantoutpost" />
        <Price storeidentifier="merchantcity" multiplier="0.9" />
        <Price storeidentifier="merchantresearch" multiplier="1.25" />
        <Price storeidentifier="merchantmilitary" />
        <Price storeidentifier="merchantmine" />
        <Price storeidentifier="merchantengineering" multiplier="0.9" />
      </Price>
      <PreferredContainer primary="reactorcab,engcab" />
      <Deconstruct time="10">
        <Item identifier="copper" />
        <Item identifier="tin" />
        <Item identifier="silicon" />
        <Item identifier="plastic" />
      </Deconstruct>
      <Fabricate suitablefabricators="fabricator" requiredtime="30">
        <RequiredSkill identifier="electrical" level="50" />
        <RequiredItem identifier="fpgacircuit" />
        <RequiredItem identifier="tin" />
        <RequiredItem identifier="silicon" />
      </Fabricate>
      <Body width="120" height="40" density="20" />
      <ItemLabel scrollable="true" padding="10,5,10,12" textcolor="1,1,1,1">
        <Upgrade gameversion="0.12.0.0" padding="10,5,10,12" />
      </ItemLabel>
      <LightComponent range="0.0" lightcolor="255,255,255,0" IsOn="true" castshadows="false" alphablend="false">
        <Upgrade gameversion="0.17.15.0" range="0" />
        <sprite texture="Content/Items/Labels/labels.png" sourcerect="0,48,126,48" depth="0.025" origin="0.5,0.5" alpha="1.0" />
      </LightComponent>
      <Holdable selectkey="Select" pickkey="Use" slots="Any,RightHand,LeftHand" msg="ItemMsgDetachWrench" PickingTime="5.0" aimpos="65,-10" handle1="0,0" attachable="true" aimable="true" attachedbydefault="true">
        <RequiredItem items="wrench" type="Equipped" />
      </Holdable>
      <ConnectionPanel selectkey="Action" canbeselected="true" msg="ItemMsgRewireScrewdriver" hudpriority="10">
        <GuiFrame relativesize="0.2,0.32" minsize="400,350" maxsize="480,420" anchor="Center" style="ConnectionPanel" />
        <requireditem items="screwdriver" type="Equipped" />
        <input name="set_text" displayname="connection.set_text" fallbackdisplayname="connection.setoutput" />
        <input name="set_color" displayname="connection.setcolor" />
        <input name="set_text_color" displayname="connection.settextcolor" />
        <input name="toggle" displayname="connection.togglestate" />
        <input name="set_state" displayname="connection.setstate" />
      </ConnectionPanel>
    </Item>
  </Items>
</Override>