<?xml version="1.0" encoding="utf-8" ?>
<Items>
	<Item
		name="Junction Box"
		linkable="true"
		pickdistance="150">
		
		<Sprite texture ="junctionbox.png" depth="0.8"/>

    <fixrequirement name="Electrical repairs">
      <skill name="Electrical Engineering" level="40"/>
      <item name="Wire"/>
      <item name="Screwdriver"/>
    </fixrequirement>

    <PowerTransfer canbeselected = "true">
      <GuiFrame rect="0,0,0.3,0.3" alignment="Center" color="0.0,0.0,0.0,0.8"/>
    </PowerTransfer>

		<ConnectionPanel canbeselected = "true" msg="Rewire [Screwdriver]">
			<requireditem name="Screwdriver" type="Equipped"/>
			<output name="power"/>
      <output name="signal_0"/>
      <output name="signal_1"/>
      <output name="signal_2"/>
      <output name="signal_3"/>
    </ConnectionPanel>

	</Item>

	<Item
		name="Battery"
		linkable="true"
		pickdistance="150">

		<Sprite texture ="battery.png" depth="0.8"/>

    <PowerContainer capacity="2000.0" maxrechargespeed="500.0" maxoutput="1000.0" canbeselected = "true">
      <GuiFrame rect="0,0,0.3,0.3" alignment="Center" color="0.0,0.0,0.0,0.8"/>
    </PowerContainer>

		<ConnectionPanel canbeselected = "true" msg="Rewire [Screwdriver]">
			<requireditem name="Screwdriver" type="Equipped"/>
			<input name="power_in"/>
		</ConnectionPanel>		
	</Item>
</Items>