Co-authored-by: mirrorcult <lunarautomaton6@gmail.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com> Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
23 lines
502 B
C#
23 lines
502 B
C#
using Content.Shared.MobState;
|
|
|
|
namespace Content.Client.MobState;
|
|
|
|
[RegisterComponent]
|
|
public sealed class DamageStateVisualsComponent : Component
|
|
{
|
|
public int? OriginalDrawDepth;
|
|
|
|
[DataField("states")] public Dictionary<DamageState, Dictionary<string, string>> States = new();
|
|
|
|
/// <summary>
|
|
/// Should noRot be turned off when crit / dead.
|
|
/// </summary>
|
|
[DataField("rotate")] public bool Rotate;
|
|
}
|
|
|
|
public enum DamageStateVisualLayers : byte
|
|
{
|
|
Base,
|
|
BaseUnshaded,
|
|
}
|