Added damaged variants of junction box sprite, damaged item sprites can be set to fade in.

This commit is contained in:
Joonas Rikkonen
2018-01-11 20:48:26 +02:00
parent 466e6f8833
commit 1eaccef8c7
5 changed files with 43 additions and 10 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 27 KiB

@@ -7,7 +7,9 @@
description="Serves as a hub for power distribution and relaying signals between devices.">
<Sprite texture="junctionbox.png" depth="0.8" canflipx="false"/>
<Sprite texture="junctionbox.png" sourcerect="0,0,70,84" depth="0.8" canflipx="false"/>
<BrokenSprite texture="junctionbox.png" sourcerect="70,0,70,84" depth="0.8" maxcondition="50" fadein="true"/>
<BrokenSprite texture="junctionbox.png" sourcerect="140,0,70,84" depth="0.8" maxcondition="0"/>
<fixrequirement name="Electrical repairs">
<skill name="Electrical Engineering" level="40"/>