Files
barotrauma-gamefiles/Content/Items/Legacy/legacycommand.xml
2025-04-13 10:56:34 +02:00

144 lines
9.7 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<Items>
<Item
name="Navigation Terminal"
category="Legacy"
nameidentifier="navterminal"
Aliases="Navigation Terminal"
tags="command,navterminal"
linkable="true"
allowedlinks="statusmonitor"
allowedupgrades="monitors">
<Sprite texture="machines.png" depth="0.8" sourcerect="0,0,64,128"/>
<Steering minvoltage="0.5" canbeselected = "true" powerconsumption="10" linkuitocomponent="Sonar" allowuioverlap="true">
<GuiFrame relativesize="0.55,0.59" anchor="Center" style="OuterGlow" color="0,0,0,0.8" relativeoffset="0.1,-0.05" />
<StatusEffect type="InWater" target="This" condition="-1.0"/>
<poweronsound file="Content/Items/PowerOnLight1.ogg" range="1000" loop="false" />
</Steering>
<Sonar canbeselected="true" powerconsumption="100" displaybordersize="-0.1" allowuioverlap="true">
<GuiFrame relativesize="0.55,0.59" anchor="Center" relativeoffset="0.1,-0.05" />
<sound file="Content/Items/Command/SonarPing.ogg" type="OnUse" range="1000.0" />
<sound file="Content/Items/Command/SonarPing2.ogg" type="OnUse" range="1000.0" />
<StatusEffect type="OnUse" target="This">
<sound file="Content/Items/Command/SonarPingFar.ogg" type="OnUse" range="6000.0" volume="0.8" />
<sound file="Content/Items/Command/SonarPingFar2.ogg" type="OnUse" range="6000.0" volume="0.8" />
</StatusEffect>
<PingCircle texture="Content/Items/Command/pingCircle.png" origin="0.5,0.5" />
<DirectionalPingCircle texture="Content/Items/Command/directionalPingCircle.png" origin="0.0,0.5" />
<ScreenOverlay texture="Content/Items/Command/sonarOverlay.png" origin="0.5,0.5" />
<ScreenBackground texture="Content/Items/Command/sonarBackground.png" origin="0.5,0.5" />
<DirectionalPingBackground texture="Content/Items/Command/directionalPingBackground.png" origin="0.5,0.5" />
<DirectionalPingButton index="0" texture="Content/Items/Command/directionalPingButton.png" sourcerect="0,0,91,266" origin="-4.5275,0.5" />
<DirectionalPingButton index="1" texture="Content/Items/Command/directionalPingButton.png" sourcerect="133,0,91,266" origin="-4.5275,0.5" />
<DirectionalPingButton index="2" texture="Content/Items/Command/directionalPingButton.png" sourcerect="266,0,91,266" origin="-4.5275,0.5" />
<Blip texture="Content/Items/Command/sonarBlip.png" origin="0.5,0.5" />
<LineSprite texture="Content/Items/Command/NavUI.png" sourcerect="181,141,109,4" origin="0,0.5"/>
<icon identifier="outpost" texture="Content/UI/MainIconsAtlas.png" sourcerect="352,398,16,8" origin="0.5,0.5"/>
<icon identifier="submarine" texture="Content/UI/MainIconsAtlas.png" sourcerect="353,407,14,6" origin="0.5,0.5"/>
<icon identifier="shuttle" texture="Content/UI/MainIconsAtlas.png" sourcerect="336,407,8,6" origin="0.5,0.5"/>
<icon identifier="artifact" texture="Content/UI/MainIconsAtlas.png" sourcerect="336,414,8,8" origin="0.5,0.5"/>
<icon identifier="location" texture="Content/UI/MainIconsAtlas.png" sourcerect="349,435,11,11" origin="0.5,0.5"/>
<icon identifier="mineral" texture="Content/UI/MainIconsAtlas.png" sourcerect="336,434,7,12" origin="0.5,0.5"/>
<icon identifier="" texture="Content/UI/MainIconsAtlas.png" sourcerect="346,416,4,4" origin="0.5,0.5"/>
</Sonar>
<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"/>
<input name="velocity_in" displayname="connection.steeringvelocityin"/>
<output name="velocity_x_out" displayname="connection.velocityxout" maxwires="10" />
<output name="velocity_y_out" displayname="connection.velocityyout" maxwires="10" />
</ConnectionPanel>
<Repairable selectkey="Action" header="electricalrepairsheader" fixDurationHighSkill="10" fixDurationLowSkill="20" msg="ItemMsgRepairScrewdriver" hudpriority="10">
<GuiFrame relativesize="0.2,0.16" minsize="400,180" maxsize="480,280" anchor="Center" relativeoffset="0.0,0.27" style="ItemUI"/>
<RequiredSkill identifier="electrical" level="40"/>
<RequiredItem identifier="screwdriver" type="equipped"/>
<ParticleEmitter particle="spark" particleamount="10" emitinterval="5" anglemax="360" velocitymin="5.0" velocitymax="250.0" scalemin="0.5" scalemax="1" mincondition="0.0" maxcondition="50.0"/>
<ParticleEmitter particle="fleshsmoke" particlespersecond="2" scalemin="1" scalemax="2" mincondition="0.0" maxcondition="0.0"/>
</Repairable>
<aitarget sightrange="200" soundrange="10000" staticsight="true" fadeouttime="5" />
</Item>
<Item
name="Sonar Monitor"
category="Legacy"
nameidentifier="sonarmonitor"
Aliases="Sonar Monitor"
tags="command,sonarmonitor"
linkable="false"
allowedupgrades="monitors">
<Sprite texture="machines.png" depth="0.8" sourcerect="64,0,64,128"/>
<Sonar canbeselected="true" powerconsumption="100" displaybordersize="-0.1" allowuioverlap="true">
<GuiFrame relativesize="0.5,0.5" anchor="Center" relativeoffset="0,-0.05" />
<StatusEffect type="InWater" target="This" condition="-0.5" />
<poweronsound file="Content/Items/PowerOnLight3.ogg" range="1000" loop="false" />
<PingCircle texture="Content/Items/Command/pingCircle.png" origin="0.5,0.5" />
<DirectionalPingCircle texture="Content/Items/Command/directionalPingCircle.png" origin="0.0,0.5" />
<ScreenOverlay texture="Content/Items/Command/sonarOverlay.png" origin="0.5,0.5" />
<ScreenBackground texture="Content/Items/Command/sonarBackground.png" origin="0.5,0.5" />
<DirectionalPingBackground texture="Content/Items/Command/directionalPingBackground.png" origin="0.5,0.5" />
<DirectionalPingButton index="0" texture="Content/Items/Command/directionalPingButton.png" sourcerect="0,0,91,266" origin="-4.5275,0.5" />
<DirectionalPingButton index="1" texture="Content/Items/Command/directionalPingButton.png" sourcerect="133,0,91,266" origin="-4.5275,0.5" />
<DirectionalPingButton index="2" texture="Content/Items/Command/directionalPingButton.png" sourcerect="266,0,91,266" origin="-4.5275,0.5" />
<Blip texture="Content/Items/Command/sonarBlip.png" origin="0.5,0.5" />
<LineSprite texture="Content/Items/Command/NavUI.png" sourcerect="181,141,109,4" origin="0,0.5"/>
<icon identifier="outpost" texture="Content/UI/MainIconsAtlas.png" sourcerect="352,398,16,8" origin="0.5,0.5"/>
<icon identifier="submarine" texture="Content/UI/MainIconsAtlas.png" sourcerect="353,407,14,6" origin="0.5,0.5"/>
<icon identifier="shuttle" texture="Content/UI/MainIconsAtlas.png" sourcerect="336,407,8,6" origin="0.5,0.5"/>
<icon identifier="artifact" texture="Content/UI/MainIconsAtlas.png" sourcerect="336,414,8,8" origin="0.5,0.5"/>
<icon identifier="location" texture="Content/UI/MainIconsAtlas.png" sourcerect="349,435,11,11" origin="0.5,0.5"/>
<icon identifier="mineral" texture="Content/UI/MainIconsAtlas.png" sourcerect="336,434,7,12" origin="0.5,0.5"/>
<icon identifier="" texture="Content/UI/MainIconsAtlas.png" sourcerect="346,416,4,4" origin="0.5,0.5"/>
</Sonar>
<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>
<Repairable selectkey="Action" header="electricalrepairsheader" fixDurationHighSkill="10" fixDurationLowSkill="20" msg="ItemMsgRepairScrewdriver" hudpriority="10">
<GuiFrame relativesize="0.2,0.16" minsize="400,180" maxsize="480,280" anchor="Center" relativeoffset="0.0,0.27" style="ItemUI"/>
<RequiredSkill identifier="electrical" level="40"/>
<RequiredItem identifier="screwdriver" type="equipped"/>
<ParticleEmitter particle="spark" particleamount="10" emitinterval="5" anglemax="360" velocitymin="5.0" velocitymax="250.0" scalemin="0.5" scalemax="1" mincondition="0.0" maxcondition="50.0"/>
<ParticleEmitter particle="fleshsmoke" particlespersecond="2" scalemin="1" scalemax="2" mincondition="0.0" maxcondition="0.0"/>
</Repairable>
<aitarget sightrange="200" soundrange="10000" staticsight="true" fadeouttime="5" />
</Item>
<Item
name="Status Monitor"
category="Legacy"
tags="command,statusmonitor"
nameidentifier="statusmonitor"
aliases="MiniMap, Status Monitor"
linkable="true"
allowedlinks="command,navigationterminal"
allowedupgrades="monitors">
<Sprite texture="machines.png" sourcerect="64,0,64,128" depth="0.8"/>
<MiniMap MinVoltage="0.5" PowerConsumption="100" canbeselected="true" msg="ItemMsgInteractSelect" allowuioverlap="true">
<GuiFrame relativesize="0.5,0.5" anchor="CenterLeft" style="ItemUI" />
<AlternativeLayout relativesize="0.2725,0.3" pivot="BottomLeft" relativeoffset="0.05,-0.001"/>
</MiniMap>
<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"/>
<input name="water_data_in" displayname="connection.waterdatain"/>
<input name="oxygen_data_in" displayname="connection.oxygendatain"/>
</ConnectionPanel>
</Item>
</Items>