55 lines
3.5 KiBLFS
XML
Executable File
55 lines
3.5 KiBLFS
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<Items>
|
|
<Item name="" identifier="thal_doorkey" category="Electrical" Tags="smallitem,hacker,idcard,crowbar,screwdriver,wrench" cargocontaineridentifier="metalcrate" impactsoundtag="impact_metal_light" scale="0.2">
|
|
<Deconstruct time="15">
|
|
<Item identifier="fpgacircuit" />
|
|
<Item identifier="plastic" />
|
|
</Deconstruct>
|
|
<Sprite name="basicmap sprite" texture="%ModDir%/Items/Tools/maps.png" sourcerect="2,1,139,80" depth="0.55" origin="0.5,0.5">
|
|
<StatusEffect type="Always" targettype="This" sourcerect="1,1,89,120" setvalue="true">
|
|
<RequiredItem items="batterycell" type="Contained" />
|
|
</StatusEffect>
|
|
</Sprite>
|
|
<Body width="24" height="12" density="40" />
|
|
<Holdable slots="RightHand,LeftHand,Any" controlpose="true" aimpos="50,0" handle1="-2,0" handle2="10,50" msg="ItemMsgPickUpSelect">
|
|
<StatusEffect type="OnUse" targettype="This" Condition="-50" />
|
|
<StatusEffect type="OnUse" targettype="NearbyItems" range="500" setvalue="true" condition="90" openState="10.0" isStuck="true" isOpen="true" targetitemcomponent="door" targettag="door">
|
|
<Use />
|
|
<ToggleState />
|
|
<Select />
|
|
</StatusEffect>
|
|
<StatusEffect type="OnBroken" targettype="This">
|
|
<Remove />
|
|
</StatusEffect>
|
|
</Holdable>
|
|
</Item>
|
|
<Item name="" identifier="thal_powersink" category="Electrical" tags="smallitem" cargocontaineridentifier="metalcrate" scale="0.3" impactsoundtag="impact_metal_light" isshootable="true">
|
|
<Deconstruct time="10">
|
|
<Item identifier="fpgacircuit" />
|
|
<Item identifier="copper" />
|
|
<Item identifier="rubber" />
|
|
</Deconstruct>
|
|
<sprite name="powersink sprite" texture="%ModDir%/Items/Electricity/poweritems.png" sourcerect="2,-2,346,348" alpha="1.0" origin="0.5,0.5" depth="0.8" />
|
|
<Body width="18" height="31" density="20" />
|
|
<Holdable selectkey="Select" pickkey="Use" slots="Any,RightHand,LeftHand" msg="ItemMsgDetachWrench" PickingTime="10.0" aimpos="35,-10" handle1="0,0" attachable="true" attachedbydefault="true" aimable="true">
|
|
<requireditem identifier="wrench" type="Equipped" />
|
|
</Holdable>
|
|
<LightComponent lightcolor="0.0,0.0,0.0,0.0" range="0" powerconsumption="7000" MinVoltage="0.0" IsOn="true" allowingameediting="false">
|
|
<!-- additive "top light" -->
|
|
</LightComponent>
|
|
<LightComponent lightcolor="1.0,0.7,0.0,0.8" range="200.0" powerconsumption="0" MinVoltage="0.0" IsOn="true" castshadows="false" allowingameediting="false" blinkFrequency="2">
|
|
<StatusEffect type="OnContained" target="This" setvalue="true" IsOn="false" />
|
|
<StatusEffect type="OnNotContained" target="This" setvalue="true" IsOn="true">
|
|
<sound file="%ModDir%/Items/Electricity/Powersink.ogg" range="600.0" loop="true" volume="2" />
|
|
</StatusEffect>
|
|
<LightTexture texture="Content/Lights/pointlight_bounce.png" origin="0.5,0.5" />
|
|
<!-- additive "top light" -->
|
|
<sprite name="powersink light" texture="%ModDir%/Items/Electricity/poweritems.png" sourcerect="347,85,212,187" origin="0.47117043,0.4687771" />
|
|
</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="power_in" displayname="connection.powerin" />
|
|
</ConnectionPanel>
|
|
</Item>
|
|
</Items> |