mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 16:17:27 +00:00
* 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>
19 lines
438 B
C#
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
|
|
}
|