Files
LuaCsForBarotraumaEP/Barotrauma/BarotraumaShared/Content/Items/Electricity/poweritems.xml
T

119 lines
4.6 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<Items>
<Item
name="Junction Box"
category="Electrical"
linkable="true"
description="Serves as a hub for power distribution and relaying signals between devices.">
<Sprite texture="junctionbox.png" sourcerect="0,0,70,84" depth="0.8" canflipx="false"/>
<BrokenSprite texture="junctionbox.png" sourcerect="70,0,70,84" depth="0.8" maxcondition="50" fadein="true"/>
<BrokenSprite texture="junctionbox.png" sourcerect="140,0,70,84" depth="0.8" maxcondition="0"/>
<fixrequirement name="Electrical repairs">
<skill name="Electrical Engineering" level="40"/>
<item name="Wire"/>
<item name="Screwdriver"/>
</fixrequirement>
<PowerTransfer canbeselected = "true">
<StatusEffect type="InWater" target="This" condition="-0.5">
<Conditional currPowerConsumption="lt -10"/>
</StatusEffect>
<GuiFrame rect="0,0,350,160" alignment="Center" style="ItemUI"/>
</PowerTransfer>
<ConnectionPanel selectkey="Action" canbeselected = "true" msg="Rewire [Screwdriver]">
<RequiredSkill name="Electrical Engineering" level="30"/>
<StatusEffect type="OnFailure" target="Character">
<Explosion range="50.0" damage="0" stun="0" force="2.0" flames="false" shockwave="false" sparks="true"/>
</StatusEffect>
<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"
category="Electrical"
linkable="true"
description="Generally used for storing backup power in case of a reactor failure.">
<Sprite texture ="battery.png" sourcerect="0,0,58,77" depth="0.8"/>
<PowerContainer capacity="2000.0" maxrechargespeed="500.0" maxoutput="1000.0" canbeselected = "true">
<GuiFrame rect="0,-100,350,160" alignment="Center" style="ItemUI"/>
<StatusEffect type="OnActive" target="Contained" targetnames="loadable" Condition="2.0"/>
</PowerContainer>
<ConnectionPanel selectkey="Action" canbeselected="true" msg="Rewire [Screwdriver]">
<StatusEffect type="OnFailure" target="Character">
<Explosion range="100.0" damage="15" stun="10" force="3.0" flames="false" shockwave="false" sparks="true"/>
</StatusEffect>
<requireditem name="Screwdriver" type="Equipped"/>
<input name="power_out"/>
<input name="power_in"/>
</ConnectionPanel>
<ItemContainer capacity="3" canbeselected="true" hideitems="true">
<Containable name="loadable"/>
</ItemContainer>
</Item>
<Item
name="Supercapacitor"
category="Electrical"
linkable="true"
description="Can deliver charge much faster than batteries.">
<Sprite texture="supercapacitor.png" depth="0.8" sourcerect="0,0,77,88"/>
<PowerContainer capacity="20.0" maxrechargespeed="20.0" maxoutput="2000000.0" canbeselected = "true">
<GuiFrame rect="0,0,0.3,0.3" alignment="Center" style="ItemUI"/>
</PowerContainer>
<ConnectionPanel selectkey="Action" canbeselected = "true" msg="Rewire [Screwdriver]">
<StatusEffect type="OnFailure" target="Character">
<Explosion range="100.0" damage="30" stun="20" force="5.0" shockwave="false" sparks="true"/>
</StatusEffect>
<requireditem name="Screwdriver" type="Equipped"/>
<input name="power_out"/>
<input name="power_in"/>
</ConnectionPanel>
</Item>
<Item
name="Charging Dock"
category="Electrical"
linkable="true"
description="A wall-mounted battery cell charging dock.">
<Sprite texture ="battery.png" sourcerect="0,80,58,16" depth="0.8"/>
<Powered powerconsumption="200" currpowerconsumption="200" isactive="true">
<GuiFrame rect="0,-100,350,160" alignment="Center" style="ItemUI"/>
<StatusEffect type="OnActive" target="Contained" targetnames="loadable" Condition="2.0"/>
</Powered>
<ConnectionPanel selectkey="Action" canbeselected="true" msg="Rewire [Screwdriver]">
<StatusEffect type="OnFailure" target="Character">
<Explosion range="100.0" damage="15" stun="10" force="3.0" flames="false" shockwave="false" sparks="true"/>
</StatusEffect>
<requireditem name="Screwdriver" type="Equipped"/>
<input name="power_in"/>
</ConnectionPanel>
<ItemContainer capacity="4" canbeselected="true" hideitems="false" itempos="9,9" iteminterval="14,0" itemrotation="90">
<Containable name="loadable"/>
</ItemContainer>
</Item>
</Items>