Separate component style for item UIs + option to select the style in the item config files, removed a bunch of hard-coded UI element color changes
This commit is contained in:
@@ -14,6 +14,6 @@
|
||||
</Holdable>
|
||||
|
||||
<Label canbeselected = "true">
|
||||
<GuiFrame rect="0,0,0.4,0.4" alignment="Center" color="0.0,0.0,0.0,0.8"/>
|
||||
<GuiFrame rect="0,0,0.4,0.4" alignment="Center" style="ItemUI"/>
|
||||
</Label>
|
||||
</Item>
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
<PowerTransfer canbeselected = "true">
|
||||
<StatusEffect type="InWater" target="This" condition="-0.5"/>
|
||||
<GuiFrame rect="0,0,350,160" alignment="Center" color="0.0,0.0,0.0,0.6"/>
|
||||
<GuiFrame rect="0,0,350,160" alignment="Center" style="ItemUI"/>
|
||||
</PowerTransfer>
|
||||
|
||||
<ConnectionPanel selectkey="Action" canbeselected = "true" msg="Rewire [Screwdriver]">
|
||||
@@ -46,7 +46,7 @@
|
||||
<Sprite texture ="battery.png" depth="0.8"/>
|
||||
|
||||
<PowerContainer capacity="2000.0" maxrechargespeed="500.0" maxoutput="1000.0" canbeselected = "true">
|
||||
<GuiFrame rect="0,-100,350,160" alignment="Center" color="0.0,0.0,0.0,0.6"/>
|
||||
<GuiFrame rect="0,-100,350,160" alignment="Center" style="ItemUI"/>
|
||||
<StatusEffect type="OnActive" target="Contained" targetnames="loadable" Condition="2.0"/>
|
||||
</PowerContainer>
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
<Sprite texture ="supercapacitor.png" depth="0.8"/>
|
||||
|
||||
<PowerContainer capacity="20.0" maxrechargespeed="20.0" maxoutput="2000000.0" canbeselected = "true">
|
||||
<GuiFrame rect="0,0,0.3,0.3" alignment="Center" color="0.0,0.0,0.0,0.8"/>
|
||||
<GuiFrame rect="0,0,0.3,0.3" alignment="Center" style="ItemUI"/>
|
||||
</PowerContainer>
|
||||
|
||||
<ConnectionPanel selectkey="Action" canbeselected = "true" msg="Rewire [Screwdriver]">
|
||||
|
||||
@@ -224,7 +224,7 @@
|
||||
<Sprite texture="signalcomp.png" depth="0.8" sourcerect="48,16,16,16"/>
|
||||
|
||||
<RelayComponent canbeselected = "true">
|
||||
<GuiFrame rect="0,0,200,160" alignment="Center" color="0.0,0.0,0.0,0.6"/>
|
||||
<GuiFrame rect="0,0,200,160" alignment="Center" style="ItemUI"/>
|
||||
</RelayComponent>
|
||||
|
||||
<fixrequirement name="Reset fuse">
|
||||
|
||||
Reference in New Issue
Block a user