- handheld sonar

- junction boxes, sonar monitors, navigation terminals and engines break down if they're underwater long enough
- reactor cools down if it's underwater
- job-specific gear are grouped by job in separate .xml files
This commit is contained in:
Regalis
2016-04-09 14:31:59 +03:00
parent c7545d5816
commit c5685db0aa
29 changed files with 524 additions and 393 deletions

View File

@@ -165,7 +165,6 @@
<Holdable slots="Any,RightHand,LeftHand"
holdangle="30" handle1="-10,0"/>
</Item>
<Item
@@ -185,4 +184,32 @@
</MeleeWeapon>
</Item>
<Item
name="Handheld Sonar"
category="Equipment"
Tags="smallitem"
pickdistance="200"
price="10">
<Sprite texture ="tools.png" sourcerect="0,37,22,9" depth="0.5"/>
<Body width="31" height="6" density="40"/>
<Holdable slots="Any,RightHand,LeftHand"
holdangle="30" handle1="-10,0"/>
<Radar range="6000.0" powerconsumption="10" drawhudwhenequipped="true" detectsubmarinewalls="true">
<GuiFrame rect="0,0,0.5,0.5" alignment="Center" color="0.0,0.0,0.0,0.6"/>
<PingCircle texture="Content/Items/Engine/pingCircle.png" origin="0.5,0.5"/>
<ScreenOverlay texture="Content/Items/Engine/radarOverlay.png" origin="0.5,0.5"/>
</Radar>
<ItemContainer capacity="1" hideitems="true">
<Containable name="Battery Cell">
<StatusEffect type="OnContaining" target="This" Voltage="1.0" setvalue="true"/>
<StatusEffect type="OnContaining" target="Contained" Condition="-0.5"/>
</Containable>
</ItemContainer>
</Item>
</Items>