Dropped flashlights don't consume battery (and turn off automatically). Closes #775
This commit is contained in:
@@ -286,11 +286,11 @@
|
|||||||
|
|
||||||
<Holdable slots="Any,RightHand,LeftHand,Face" holdpos="30,-15" aimpos="100,0" handle1="-13,0" handle2="-13,0">
|
<Holdable slots="Any,RightHand,LeftHand,Face" holdpos="30,-15" aimpos="100,0" handle1="-13,0" handle2="-13,0">
|
||||||
<StatusEffect type="OnActive" target="Contained" Condition="-0.2"/>
|
<StatusEffect type="OnActive" target="Contained" Condition="-0.2"/>
|
||||||
|
<!-- the child LightComponent is only active when the Holdable is active, i.e. when the item is being held -->
|
||||||
|
<LightComponent LightColor="1.0,1.0,1.0,1.0" Flicker="0.1" range="800" powerconsumption="10" IsOn="true">
|
||||||
|
<LightTexture texture="Content/Lights/lightcone.png" origin="0.0, 0.5" size="2.0,1.0"/>
|
||||||
|
</LightComponent>
|
||||||
</Holdable>
|
</Holdable>
|
||||||
|
|
||||||
<LightComponent LightColor="1.0,1.0,1.0,1.0" Flicker="0.1" range="800" powerconsumption="10" IsOn="true">
|
|
||||||
<LightTexture texture="Content/Lights/lightcone.png" origin="0.0, 0.5" size="2.0,1.0"/>
|
|
||||||
</LightComponent>
|
|
||||||
|
|
||||||
<ItemContainer capacity="1" hideitems="true">
|
<ItemContainer capacity="1" hideitems="true">
|
||||||
<Containable name="Battery Cell, Fulgurium Battery Cell">
|
<Containable name="Battery Cell, Fulgurium Battery Cell">
|
||||||
|
|||||||
Reference in New Issue
Block a user