Files
barotrauma-localmods/Scion/Items/Horn.xml
2025-03-31 13:29:59 +02:00

27 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Items>
<Item name="Scion Horn" identifier="scionhorn" description="Medium fog horn used aboard Scion-class submarines." category="Electrical" Tags="smallitem,sound" cargocontaineridentifier="metalcrate" scale="0.7" impactsoundtag="impact_metal_light" isshootable="true">
<PreferredContainer primary="engcab,storagecab" />
<PreferredContainer primary="wreckengcab,wreckstoragecab" minamount="0" maxamount="1" spawnprobability="0" />
<Deconstruct time="15">
<Item identifier="fpgacircuit" />
<Item identifier="steel" />
</Deconstruct>
<InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="191,127,64,64" origin="0.5,0.5" />
<Sprite texture="signalcomp.png" depth="0.8" sourcerect="75,64,42,63" origin="0.5,0.5" />
<Body radius="20" height="20" density="30" />
<Holdable selectkey="Select" pickkey="Use" slots="Any,RightHand,LeftHand" msg="ItemMsgDetachWrench" PickingTime="5.0" aimpos="65,-10" handle1="0,0" attachable="true" aimable="true">
<RequiredItem items="wrench" type="Equipped" />
</Holdable>
<LightComponent canbeselected="false" lightcolor="0,0,0,0" castshadows="false" range="0">
<Sprite texture="%ModDir%/Items/signal.png" sourcerect="2,191,42,63" origin="0.5,0.5" alpha="0" />
<sound file="%ModDir%/Sounds/scionhorn.ogg" type="OnActive" range="8500.0" loop="false" volume="0.7" />
</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" />
</ConnectionPanel>
</Item>
</Items>