Files
Delta-v/Content.Client/DamageState/DamageStateVisualsComponent.cs
T
6d639d6d29 Carpy the Legal Carp gets a suit for differentiation (#1456)
* Carpy gets custom sprite!!

WOOO!!!

* yuh

* Does some funny shit that allows the suit to properly render I hope

* Pro backslash usage

* Update pets.yml

* Trolled by double layers yaml

* Update Resources/Prototypes/DeltaV/Entities/Mobs/NPCs/pets.yml

Co-authored-by: Danger Revolution! <142105406+DangerRevolution@users.noreply.github.com>
Signed-off-by: Adeinitas <147965189+adeinitas@users.noreply.github.com>

* Update Resources/Prototypes/DeltaV/Entities/Mobs/NPCs/pets.yml

Co-authored-by: Danger Revolution! <142105406+DangerRevolution@users.noreply.github.com>
Signed-off-by: Adeinitas <147965189+adeinitas@users.noreply.github.com>

* I hope this fixes it

* Added extra state to damage visualizer for carpy

* Cleanup old code

* Sprite update

---------

Signed-off-by: Adeinitas <147965189+adeinitas@users.noreply.github.com>
Co-authored-by: Danger Revolution! <142105406+DangerRevolution@users.noreply.github.com>
Co-authored-by: Timemaster99 <57200767+Timemaster99@users.noreply.github.com>
2024-08-12 22:47:30 +00:00

19 lines
438 B
C#

using Content.Shared.Mobs;
namespace Content.Client.DamageState;
[RegisterComponent]
public sealed partial class DamageStateVisualsComponent : Component
{
public int? OriginalDrawDepth;
[DataField("states")] public Dictionary<MobState, Dictionary<DamageStateVisualLayers, string>> States = new();
}
public enum DamageStateVisualLayers : byte
{
Base,
BaseUnshaded,
BaseUnshadedAccessory, // DeltaV - Pet clothing
}