- fixed fulgurium batteries not working with flashlights or sonars and never running out in scooters

This commit is contained in:
Regalis
2016-05-30 18:28:42 +03:00
parent c77060d485
commit 9b659f72d6
4 changed files with 6 additions and 4 deletions
@@ -131,7 +131,7 @@
<Propulsion force="80" usablein="water" particles="bubbles">
<RequiredItems name="Battery Cell,Fulgurium Battery Cell" type="Contained" msg="Battery Cell required"/>
<StatusEffect type="OnUse" target="Contained" targetnames="Battery Cell" Condition="-1.0"/>
<StatusEffect type="OnUse" target="Contained" Condition="-1.0"/>
<sound file="scooter.ogg" type="OnUse" range="500.0" loop="true"/>
<LightComponent LightColor="1.0,1.0,1.0,1.0" Flicker="0.2" range="800">
+2 -2
View File
@@ -207,7 +207,7 @@
</Radar>
<ItemContainer capacity="1" hideitems="true">
<Containable name="Battery Cell">
<Containable name="Battery Cell, Fulgurium Battery Cell">
<StatusEffect type="OnContaining" target="This" Voltage="1.0" setvalue="true"/>
</Containable>
</ItemContainer>
@@ -239,7 +239,7 @@
</LightComponent>
<ItemContainer capacity="1" hideitems="true">
<Containable name="Battery Cell">
<Containable name="Battery Cell, Fulgurium Battery Cell">
<StatusEffect type="OnContaining" target="This" Voltage="1.0" setvalue="true"/>
</Containable>
</ItemContainer>