APC & SMES appearances. (#78)
* CEV-Eris SMES sprite as RSI. Has been modified so that the light overlay states use alpha blending. * Add tiny glow to SMES display sprite. * Appearances work v2 * More WiP * RoundToLevels works correctly on even level counts now. * SMES -> Smes because MS guidelines. * CEV-Eris APC sprite. * APC visuals. * Reduce SMES scale again to normal levels. * Update submodule
This commit is contained in:
committed by
GitHub
parent
7629d447aa
commit
ad5c82fec9
17
Content.Shared/GameObjects/Components/Power/PowerShared.cs
Normal file
17
Content.Shared/GameObjects/Components/Power/PowerShared.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SS14.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.GameObjects.Components.Power
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public enum ChargeState
|
||||
{
|
||||
Still,
|
||||
Charging,
|
||||
Discharging,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using SS14.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.GameObjects.Components.Power
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public enum ApcVisuals
|
||||
{
|
||||
ChargeState
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public enum ApcChargeState
|
||||
{
|
||||
/// <summary>
|
||||
/// APC does not have enough power to charge cell (if necessary) and keep powering the area.
|
||||
/// </summary>
|
||||
Lack,
|
||||
|
||||
/// <summary>
|
||||
/// APC is not full but has enough power.
|
||||
/// </summary>
|
||||
Charging,
|
||||
|
||||
/// <summary>
|
||||
/// APC battery is full and has enough power.
|
||||
/// </summary>
|
||||
Full,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using SS14.Shared.Serialization;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Content.Shared.GameObjects.Components.Power
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public enum SmesVisuals
|
||||
{
|
||||
LastChargeState,
|
||||
LastChargeLevel,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user