Supercapacitor, shooting a turret wont use power if there isn't any ammo
This commit is contained in:
@@ -41,7 +41,27 @@
|
||||
|
||||
<ConnectionPanel canbeselected = "true" msg="Rewire [Screwdriver]">
|
||||
<requireditem name="Screwdriver" type="Equipped"/>
|
||||
<input name="power_in"/>
|
||||
<input name="power"/>
|
||||
</ConnectionPanel>
|
||||
</Item>
|
||||
|
||||
<Item
|
||||
name="Supercapacitor"
|
||||
linkable="true"
|
||||
pickdistance="150">
|
||||
|
||||
<Sprite texture ="supercapacitor.png" depth="0.8"/>
|
||||
|
||||
<PowerContainer capacity="2000.0" maxrechargespeed="2000.0" maxoutput="2000.0" canbeselected = "true">
|
||||
<GuiFrame rect="0,0,0.3,0.3" alignment="Center" color="0.0,0.0,0.0,0.8"/>
|
||||
</PowerContainer>
|
||||
|
||||
<ConnectionPanel canbeselected = "true" msg="Rewire [Screwdriver]">
|
||||
<requireditem name="Screwdriver" type="Equipped"/>
|
||||
<input name="power"/>
|
||||
</ConnectionPanel>
|
||||
</Item>
|
||||
|
||||
|
||||
|
||||
</Items>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 528 B |
@@ -5,9 +5,9 @@
|
||||
Tags="smallitem"
|
||||
pickdistance="150">
|
||||
|
||||
<Sprite texture ="idcard.png" depth="0.5f"/>
|
||||
<Sprite texture ="idcard.png" depth="0.8f"/>
|
||||
|
||||
<Body width="16" height="16" density="10"/>
|
||||
<Body width="16" height="16"/>
|
||||
|
||||
<Pickable/>
|
||||
</Item>
|
||||
|
||||
Reference in New Issue
Block a user