<?xml version="1.0" encoding="utf-8"?>
<Items>
  <!-- Silent Vanilla Docking Ports -->
  <Item name="Docking Port (Silent)" identifier="ekdockyard_dockingportsilent" tags="dock" linkable="true" scale="0.5" description="A vertically aligned docking interface. Improved actuation mechanism and dampening systems allow for almost noiseless operation." indestructible="true" requirecursorinsidetrigger="true" requirebodyinsidetrigger="false">
    <Sprite texture="Content/Items/Door/dockingport.png" sourcerect="0,0,226,418" depth="0.94" origin="0.5,0.5" />
    <trigger x="0" y="0" width="224" height="60" />
    <trigger x="0" y="-358" width="224" height="60" />
    <DockingPort IsHorizontal="true" DistanceTolerance="200,64" DockedDistance="172">
      <StatusEffect type="OnSecondaryUse" target="This">
        <sound file="Content/Items/Door/DockingPort2.ogg" type="OnSecondaryUse" range="1000.0" volume="0.5" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="This">
        <sound file="Content/Items/Door/DockingPort1.ogg" type="OnUse" range="1000.0" volume="0.5" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <sound file="Content/Items/Door/DoorBreak2.ogg" range="3000" />
      </StatusEffect>
    </DockingPort>
    <PowerTransfer CanBeOverloaded="false" FireProbability="0.0" />
    <Wire />
    <LightComponent range="10.0" lightcolor="255,0,0,0" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <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" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <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>
    <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 identifier="screwdriver" type="Equipped" />
      <input name="toggle" displayname="connection.togglestate" />
      <input name="set_state" displayname="connection.setstate" />
      <output name="power" displayname="connection.power"  maxwires="10" />
      <output name="state_out" displayname="connection.stateout" fallbackdisplayname="connection.signalout"  maxwires="10" />
      <output name="proximity_sensor" displayname="connection.dockingproximitysensor" fallbackdisplayname="label.readytodock"  maxwires="10" />
      <!-- Todo: wait for this to work
	  <output name="signal_0" displayname="connection.signalx~[num]=0" fallbackdisplayname="connection.signalinx~[num]=0"  maxwires="10" />
      <output name="signal_1" displayname="connection.signalx~[num]=1" fallbackdisplayname="connection.signalinx~[num]=1"  maxwires="10" />
      <output name="signal_2" displayname="connection.signalx~[num]=2" fallbackdisplayname="connection.signalinx~[num]=2"  maxwires="10" />
      <output name="signal_3" displayname="connection.signalx~[num]=3" fallbackdisplayname="connection.signalinx~[num]=3"  maxwires="10" />
	  -->
    </ConnectionPanel>
  </Item>
  <Item name="Docking Hatch (Silent)" identifier="ekdockyard_dockinghatchsilent" tags="dock" linkable="true" scale="0.5" description="A horizontally aligned docking interface. Improved actuation mechanism and dampening systems allow for almost noiseless operation." indestructible="true" requirecursorinsidetrigger="true" requirebodyinsidetrigger="false">
    <Sprite texture="Content/Items/Door/dockingport.png" sourcerect="252,4,256,224" depth="0.94" origin="0.5,0.5" />
    <trigger x="0" y="0" width="60" height="224" />
    <trigger x="196" y="0" width="60" height="224" />
    <DockingPort IsHorizontal="false" DistanceTolerance="64,200" DockedDistance="172">
      <StatusEffect type="OnSecondaryUse" target="This">
        <sound file="Content/Items/Door/DockingPort2.ogg" type="OnSecondaryUse" range="1000.0" volume="0.5" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="This">
        <sound file="Content/Items/Door/DockingPort1.ogg" type="OnUse" range="1000.0" volume="0.5" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <sound file="Content/Items/Door/DoorBreak2.ogg" range="3000" />
      </StatusEffect>
    </DockingPort>
    <PowerTransfer CanBeOverloaded="false" FireProbability="0.0" />
    <Wire />
    <LightComponent range="10.0" lightcolor="255,0,0,0" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <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" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <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>
    <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="toggle" displayname="connection.togglestate" />
      <input name="set_state" displayname="connection.setstate" />
      <output name="power" displayname="connection.power"  maxwires="10" />
      <output name="state_out" displayname="connection.stateout" fallbackdisplayname="connection.signalout"  maxwires="10" />
      <output name="proximity_sensor" displayname="connection.dockingproximitysensor" fallbackdisplayname="label.readytodock"  maxwires="10" />
      <!-- Todo: wait for this to work
	  <output name="signal_0" displayname="connection.signalx~[num]=0" fallbackdisplayname="connection.signalinx~[num]=0"  maxwires="10" />
      <output name="signal_1" displayname="connection.signalx~[num]=1" fallbackdisplayname="connection.signalinx~[num]=1"  maxwires="10" />
      <output name="signal_2" displayname="connection.signalx~[num]=2" fallbackdisplayname="connection.signalinx~[num]=2"  maxwires="10" />
      <output name="signal_3" displayname="connection.signalx~[num]=3" fallbackdisplayname="connection.signalinx~[num]=3"  maxwires="10" />
	  -->
    </ConnectionPanel>
  </Item>
  <!-- Docking Port Sizes -->
  <Item name="Docking Rail Vertical" identifier="ekdockyard_dockingrailvertical" tags="dock" linkable="true" scale="0.5" description="A docking interface aligned along a vertical rail." indestructible="true" requirecursorinsidetrigger="true" requirebodyinsidetrigger="false">
    <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="0,0,128,160" depth="0.94" origin="0.5,0.5" />
    <trigger x="32" y="0" width="64" height="160" />
    <DockingPort IsHorizontal="false" DistanceTolerance="64,256" DockedDistance="176">
      <StatusEffect type="OnSecondaryUse" target="This">
        <sound file="%ModDir%/Items/Door/dockingrail2.ogg" type="OnSecondaryUse" range="4000.0" volume="0.7" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="This">
        <sound file="%ModDir%/Items/Door/dockingrail1.ogg" type="OnUse" range="4000.0" volume="0.7" />
      </StatusEffect>
    </DockingPort>
    <PowerTransfer CanBeOverloaded="false" FireProbability="0.0" />
    <Wire />
    <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="toggle" displayname="connection.togglestate" />
      <input name="set_state" displayname="connection.setstate" />
      <output name="power" displayname="connection.power"  maxwires="10" />
      <output name="state_out" displayname="connection.stateout" fallbackdisplayname="connection.signalout"  maxwires="10" />
      <output name="proximity_sensor" displayname="connection.dockingproximitysensor" fallbackdisplayname="label.readytodock"  maxwires="10" />
    </ConnectionPanel>
  </Item>
  <Item name="Docking Rail Horizontal" identifier="ekdockyard_dockingrailhorizontal" tags="dock" linkable="true" scale="0.5" description="A docking interface aligned along a horizontal rail." indestructible="true" requirecursorinsidetrigger="true" requirebodyinsidetrigger="false">
    <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="128,0,160,128" depth="0.94" origin="0.5,0.5" />
    <trigger x="0" y="-32" width="160" height="64" />
    <DockingPort IsHorizontal="true" DistanceTolerance="256,64" DockedDistance="176">
      <StatusEffect type="OnSecondaryUse" target="This">
        <sound file="%ModDir%/Items/Door/dockingrail2.ogg" type="OnSecondaryUse" range="4000.0" volume="0.7" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="This">
        <sound file="%ModDir%/Items/Door/dockingrail1.ogg" type="OnUse" range="4000.0" volume="0.7" />
      </StatusEffect>
    </DockingPort>
    <PowerTransfer CanBeOverloaded="false" FireProbability="0.0" />
    <Wire />
    <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="toggle" displayname="connection.togglestate" />
      <input name="set_state" displayname="connection.setstate" />
      <output name="power" displayname="connection.power"  maxwires="10" />
      <output name="state_out" displayname="connection.stateout" fallbackdisplayname="connection.signalout"  maxwires="10" />
      <output name="proximity_sensor" displayname="connection.dockingproximitysensor" fallbackdisplayname="label.readytodock"  maxwires="10" />
    </ConnectionPanel>
  </Item>
  <Item name="Small Docking Port" identifier="ekdockyard_dockingportsmall" tags="dock" linkable="true" scale="0.5" description="A vertically aligned docking interface in a thin form-factor." indestructible="true" requirecursorinsidetrigger="true" requirebodyinsidetrigger="false">
    <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="0,168,160,416" depth="0.94" origin="0.5,0.5" />
    <trigger x="0" y="0" width="160" height="60" />
    <trigger x="0" y="-358" width="160" height="60" />
    <DockingPort IsHorizontal="true" DistanceTolerance="200,64" DockedDistance="110">
      <StatusEffect type="OnSecondaryUse" target="This">
        <sound file="Content/Items/Door/DockingPort2.ogg" type="OnSecondaryUse" range="15000.0" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="This">
        <Explosion range="5000.0" camerashake="5" stun="0" force="0.0" flames="false" shockwave="false" sparks="true" underwaterbubble="false" />
        <sound file="Content/Items/Door/DockingPort1.ogg" type="OnUse" range="15000.0" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <sound file="Content/Items/Door/DoorBreak2.ogg" range="3000" />
      </StatusEffect>
    </DockingPort>
    <PowerTransfer CanBeOverloaded="false" FireProbability="0.0" />
    <Wire />
    <LightComponent range="10.0" lightcolor="255,0,0,0" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <IsActive targetitemcomponent="DockingPort" docked="false" />
      <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="168,136,80,208" depth="0.9" origin="0.5,0.5" alpha="1.0" />
    </LightComponent>
    <LightComponent range="10.0" lightcolor="0,255,0,0" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <IsActive targetitemcomponent="DockingPort" docked="true" />
      <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="168,136,80,208" depth="0.9" origin="0.5,0.5" alpha="1.0" />
    </LightComponent>
    <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 identifier="screwdriver" type="Equipped" />
      <input name="toggle" displayname="connection.togglestate" />
      <input name="set_state" displayname="connection.setstate" />
      <output name="power" displayname="connection.power" maxwires="24" maxplayerconnectablewires="5" />
      <output name="state_out" displayname="connection.stateout" fallbackdisplayname="connection.signalout"  maxwires="10" />
      <output name="proximity_sensor" displayname="connection.dockingproximitysensor" fallbackdisplayname="label.readytodock"  maxwires="10" />
    </ConnectionPanel>
  </Item>
  <Item name="Small Docking Hatch" identifier="ekdockyard_dockinghatchsmall" tags="dock" linkable="true" scale="0.5" description="A horizontally aligned docking interface in a thin form-factor." indestructible="true" requirecursorinsidetrigger="true" requirebodyinsidetrigger="false">
    <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="296,0,256,160" depth="0.94" origin="0.5,0.5" />
    <trigger x="0" y="0" width="60" height="160" />
    <trigger x="196" y="0" width="60" height="160" />
    <DockingPort IsHorizontal="false" DistanceTolerance="64,200" DockedDistance="110">
      <StatusEffect type="OnSecondaryUse" target="This">
        <sound file="Content/Items/Door/DockingPort2.ogg" type="OnSecondaryUse" range="15000.0" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="This">
        <Explosion range="5000.0" camerashake="5" stun="0" force="0.0" flames="false" shockwave="false" sparks="true" underwaterbubble="false" />
        <sound file="Content/Items/Door/DockingPort1.ogg" type="OnUse" range="15000.0" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <sound file="Content/Items/Door/DoorBreak2.ogg" range="3000" />
      </StatusEffect>
    </DockingPort>
    <PowerTransfer CanBeOverloaded="false" FireProbability="0.0" />
    <Wire />
    <LightComponent range="10.0" lightcolor="255,0,0,0" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <IsActive targetitemcomponent="DockingPort" docked="false" />
      <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="560,2,136,88" depth="0.9" origin="0.5,0.5" alpha="1.0" />
    </LightComponent>
    <LightComponent range="10.0" lightcolor="0,255,0,0" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <IsActive targetitemcomponent="DockingPort" docked="true" />
      <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="560,2,136,88" depth="0.9" origin="0.5,0.5" alpha="1.0" />
    </LightComponent>
    <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="toggle" displayname="connection.togglestate" />
      <input name="set_state" displayname="connection.setstate" />
      <output name="power" displayname="connection.power" maxwires="24" maxplayerconnectablewires="5" />
      <output name="state_out" displayname="connection.stateout" fallbackdisplayname="connection.signalout"  maxwires="10" />
      <output name="proximity_sensor" displayname="connection.dockingproximitysensor" fallbackdisplayname="label.readytodock"  maxwires="10" />
    </ConnectionPanel>
  </Item>
  <Item name="Small Docking Port (Silent)" identifier="ekdockyard_dockingportsmallsilent" tags="dock" linkable="true" scale="0.5" description="A vertically aligned docking interface in a thin form-factor. Improved actuation mechanism and dampening systems allow for almost noiseless operation." indestructible="true" requirecursorinsidetrigger="true" requirebodyinsidetrigger="false">
    <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="0,168,160,416" depth="0.94" origin="0.5,0.5" />
    <trigger x="0" y="0" width="160" height="60" />
    <trigger x="0" y="-358" width="160" height="60" />
    <DockingPort IsHorizontal="true" DistanceTolerance="200,64" DockedDistance="110">
      <StatusEffect type="OnSecondaryUse" target="This">
        <sound file="Content/Items/Door/DockingPort2.ogg" type="OnSecondaryUse" range="1000.0" volume="0.5" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="This">
        <sound file="Content/Items/Door/DockingPort1.ogg" type="OnUse" range="1000.0" volume="0.5" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <sound file="Content/Items/Door/DoorBreak2.ogg" range="3000" />
      </StatusEffect>
    </DockingPort>
    <PowerTransfer CanBeOverloaded="false" FireProbability="0.0" />
    <Wire />
    <LightComponent range="10.0" lightcolor="255,0,0,0" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <IsActive targetitemcomponent="DockingPort" docked="false" />
      <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="168,136,80,208" depth="0.9" origin="0.5,0.5" alpha="1.0" />
    </LightComponent>
    <LightComponent range="10.0" lightcolor="0,255,0,0" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <IsActive targetitemcomponent="DockingPort" docked="true" />
      <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="168,136,80,208" depth="0.9" origin="0.5,0.5" alpha="1.0" />
    </LightComponent>
    <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 identifier="screwdriver" type="Equipped" />
      <input name="toggle" displayname="connection.togglestate" />
      <input name="set_state" displayname="connection.setstate" />
      <output name="power" displayname="connection.power" maxwires="24" maxplayerconnectablewires="5" />
      <output name="state_out" displayname="connection.stateout" fallbackdisplayname="connection.signalout"  maxwires="10" />
      <output name="proximity_sensor" displayname="connection.dockingproximitysensor" fallbackdisplayname="label.readytodock"  maxwires="10" />
    </ConnectionPanel>
  </Item>
  <Item name="Small Docking Hatch (Silent)" identifier="ekdockyard_dockinghatchsmallsilent" tags="dock" linkable="true" scale="0.5" description="A vertically aligned docking interface in a thin form-factor. Improved actuation mechanism and dampening systems allow for almost noiseless operation." indestructible="true" requirecursorinsidetrigger="true" requirebodyinsidetrigger="false">
    <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="296,0,256,160" depth="0.94" origin="0.5,0.5" />
    <trigger x="0" y="0" width="60" height="160" />
    <trigger x="196" y="0" width="60" height="160" />
    <DockingPort IsHorizontal="false" DistanceTolerance="64,200" DockedDistance="110">
      <StatusEffect type="OnSecondaryUse" target="This">
        <sound file="Content/Items/Door/DockingPort2.ogg" type="OnSecondaryUse" range="1000.0" volume="0.5" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="This">
        <sound file="Content/Items/Door/DockingPort1.ogg" type="OnUse" range="1000.0" volume="0.5" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <sound file="Content/Items/Door/DoorBreak2.ogg" range="3000" />
      </StatusEffect>
    </DockingPort>
    <PowerTransfer CanBeOverloaded="false" FireProbability="0.0" />
    <Wire />
    <LightComponent range="10.0" lightcolor="255,0,0,0" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <IsActive targetitemcomponent="DockingPort" docked="false" />
      <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="560,2,136,88" depth="0.9" origin="0.5,0.5" alpha="1.0" />
    </LightComponent>
    <LightComponent range="10.0" lightcolor="0,255,0,0" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <IsActive targetitemcomponent="DockingPort" docked="true" />
      <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="560,2,136,88" depth="0.9" origin="0.5,0.5" alpha="1.0" />
    </LightComponent>
    <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="toggle" displayname="connection.togglestate" />
      <input name="set_state" displayname="connection.setstate" />
      <output name="power" displayname="connection.power" maxwires="24" maxplayerconnectablewires="5" />
      <output name="state_out" displayname="connection.stateout" fallbackdisplayname="connection.signalout"  maxwires="10" />
      <output name="proximity_sensor" displayname="connection.dockingproximitysensor" fallbackdisplayname="label.readytodock"  maxwires="10" />
    </ConnectionPanel>
  </Item>
  <Item name="Docking Port Micro" identifier="ekdockyard_dockingportmicro" tags="dock" linkable="true" scale="0.5" description="A vertically aligned docking interface in a very small form-factor." indestructible="true" requirecursorinsidetrigger="true" requirebodyinsidetrigger="false">
    <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="560,96,72,64" depth="0.94" origin="0.5,0.5" />
    <trigger x="4" y="0" width="64" height="64" />
    <DockingPort IsHorizontal="true" DistanceTolerance="64,175" DockedDistance="64">
      <StatusEffect type="OnSecondaryUse" target="This">
        <sound file="%ModDir%/Items/Door/dockingrail2.ogg" type="OnSecondaryUse" range="1500.0" volume="0.5" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="This">
        <sound file="%ModDir%/Items/Door/dockingrail1.ogg" type="OnUse" range="1500.0" volume="0.5" />
      </StatusEffect>
    </DockingPort>
    <PowerTransfer CanBeOverloaded="false" FireProbability="0.0" />
    <Wire />
    <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="toggle" displayname="connection.togglestate" />
      <input name="set_state" displayname="connection.setstate" />
      <output name="power" displayname="connection.power"  maxwires="10" />
      <output name="state_out" displayname="connection.stateout" fallbackdisplayname="connection.signalout"  maxwires="10" />
      <output name="proximity_sensor" displayname="connection.dockingproximitysensor" fallbackdisplayname="label.readytodock"  maxwires="10" />
    </ConnectionPanel>
  </Item>
  <Item name="Docking Hach Micro" identifier="ekdockyard_dockinghatchmicro" tags="dock" linkable="true" scale="0.5" description="A horizontally aligned docking interface in a very small form-factor." indestructible="true" requirecursorinsidetrigger="true" requirebodyinsidetrigger="false">
    <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="640,96,64,72" depth="0.94" origin="0.5,0.5" />
    <trigger x="0" y="-4" width="64" height="64" />
    <DockingPort IsHorizontal="false" DistanceTolerance="175,64" DockedDistance="64">
      <StatusEffect type="OnSecondaryUse" target="This">
        <sound file="%ModDir%/Items/Door/dockingrail2.ogg" type="OnSecondaryUse" range="1500.0" volume="0.5" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="This">
        <sound file="%ModDir%/Items/Door/dockingrail1.ogg" type="OnUse" range="1500.0" volume="0.5" />
      </StatusEffect>
    </DockingPort>
    <PowerTransfer CanBeOverloaded="false" FireProbability="0.0" />
    <Wire />
    <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="toggle" displayname="connection.togglestate" />
      <input name="set_state" displayname="connection.setstate" />
      <output name="power" displayname="connection.power"  maxwires="10" />
      <output name="state_out" displayname="connection.stateout" fallbackdisplayname="connection.signalout"  maxwires="10" />
      <output name="proximity_sensor" displayname="connection.dockingproximitysensor" fallbackdisplayname="label.readytodock"  maxwires="10" />
    </ConnectionPanel>
  </Item>
  <Item name="Large Docking Port" identifier="ekdockyard_dockingportlarge" tags="dock" linkable="true" scale="0.5" description="A vertically aligned docking interface with increased diameter." indestructible="true" requirecursorinsidetrigger="true" requirebodyinsidetrigger="false">
    <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="720,0,160,896" depth="0.94" origin="0.5,0.5" />
    <trigger x="0" y="0" width="160" height="60" />
    <trigger x="0" y="-840" width="160" height="60" />
    <DockingPort IsHorizontal="true" DistanceTolerance="200,64" DockedDistance="110">
      <StatusEffect type="OnSecondaryUse" target="This">
        <sound file="%ModDir%/Items/Door/largedockingport2.ogg" type="OnSecondaryUse" range="15000.0" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="This">
        <Explosion range="5000.0" camerashake="5" stun="0" force="0.0" flames="false" shockwave="false" sparks="true" underwaterbubble="false" />
        <sound file="%ModDir%/Items/Door/largedockingport1.ogg" type="OnUse" range="15000.0" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <sound file="Content/Items/Door/DoorBreak2.ogg" range="3000" />
      </StatusEffect>
    </DockingPort>
    <PowerTransfer CanBeOverloaded="false" FireProbability="0.0" />
    <Wire />
    <!--
    <LightComponent range="10.0" lightcolor="255,0,0,0" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <IsActive targetitemcomponent="DockingPort" docked="false" />
      <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="168,136,80,208" depth="0.9" origin="0.5,0.5" alpha="1.0" />
    </LightComponent>
    <LightComponent range="10.0" lightcolor="0,255,0,0" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <IsActive targetitemcomponent="DockingPort" docked="true" />
      <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="168,136,80,208" depth="0.9" origin="0.5,0.5" alpha="1.0" />
    </LightComponent>
	-->
    <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 identifier="screwdriver" type="Equipped" />
      <input name="toggle" displayname="connection.togglestate" />
      <input name="set_state" displayname="connection.setstate" />
      <output name="power" displayname="connection.power" maxwires="24" maxplayerconnectablewires="5" />
      <output name="state_out" displayname="connection.stateout" fallbackdisplayname="connection.signalout"  maxwires="10" />
      <output name="proximity_sensor" displayname="connection.dockingproximitysensor" fallbackdisplayname="label.readytodock"  maxwires="10" />
    </ConnectionPanel>
  </Item>
  <Item name="Large Docking Hatch" identifier="ekdockyard_dockinghatchlarge" tags="dock" linkable="true" scale="0.5" description="A horizontally aligned docking interface with increased diameter." indestructible="true" requirecursorinsidetrigger="true" requirebodyinsidetrigger="false">
    <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="0,736,576,160" depth="0.94" origin="0.5,0.5" />
    <trigger x="0" y="0" width="60" height="160" />
    <trigger x="520" y="0" width="60" height="160" />
    <DockingPort IsHorizontal="false" DistanceTolerance="64,200" DockedDistance="110">
      <StatusEffect type="OnSecondaryUse" target="This">
        <sound file="%ModDir%/Items/Door/largedockingport2.ogg" type="OnSecondaryUse" range="15000.0" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="This">
        <Explosion range="5000.0" camerashake="5" stun="0" force="0.0" flames="false" shockwave="false" sparks="true" underwaterbubble="false" />
        <sound file="%ModDir%/Items/Door/largedockingport1.ogg" type="OnUse" range="15000.0" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <sound file="Content/Items/Door/DoorBreak2.ogg" range="3000" />
      </StatusEffect>
    </DockingPort>
    <PowerTransfer CanBeOverloaded="false" FireProbability="0.0" />
    <Wire />
    <!--
	<LightComponent range="10.0" lightcolor="255,0,0,0" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <IsActive targetitemcomponent="DockingPort" docked="false" />
      <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="560,2,136,88" depth="0.9" origin="0.5,0.5" alpha="1.0"  />
    </LightComponent>
    <LightComponent range="10.0" lightcolor="0,255,0,0" powerconsumption="0" IsOn="false" castshadows="false" allowingameediting="false">
      <IsActive targetitemcomponent="DockingPort" docked="true" />
      <Sprite texture="%ModDir%/Items/Door/dockingports_custom.png" sourcerect="560,2,136,88" depth="0.9" origin="0.5,0.5" alpha="1.0"  />
    </LightComponent>
	-->
    <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="toggle" displayname="connection.togglestate" />
      <input name="set_state" displayname="connection.setstate" />
      <output name="power" displayname="connection.power" maxwires="24" maxplayerconnectablewires="5" />
      <output name="state_out" displayname="connection.stateout" fallbackdisplayname="connection.signalout"  maxwires="10" />
      <output name="proximity_sensor" displayname="connection.dockingproximitysensor" fallbackdisplayname="label.readytodock"  maxwires="10" />
    </ConnectionPanel>
  </Item>
</Items>