Dropped flashlights don't consume battery (and turn off automatically). Closes #775

This commit is contained in:
Joonas Rikkonen
2018-09-10 18:33:33 +03:00
parent 571ed150fe
commit 89c8de8b27

View File

@@ -286,11 +286,11 @@
<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"/>
<!-- 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>
<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">
<Containable name="Battery Cell, Fulgurium Battery Cell">