Files
Delta-v/Content.Client/DamageState/DamageStateVisualsComponent.cs
T
BarryNorfolk 848e0dcbe7 Add new armour options for K9s (Laika) (#4172)
* Add simple component for handling specialised clothing and armours

* Add awful artwork for k9 armours

* Update secdog template to include head and outer clothing gear

* Add tags for K9Armour and K9

* Ensure Laika has the k9 tag

* Add entity entries for K9 armour, update starting gear for Laika

* Add lathe recipes for new K9 armour

* Update secdog sprite by breaking tail out to separate layers

* Update sprite drawing for Secdogs

* Fix missing pixel in Laika's base sprite

* Add jetpack sprites for secdog

* Remove damage state visuals

* Add layingdown component to laika

* Update helmet sprites from HTMLSystem

* Update hardsuit sprites from HTMLSystem

* Fix prone on crit for secdogs

* Add new damage visual layer for tails

* Add static tail for Laika and hook it up to damage state visuals
2025-10-05 07:57:14 +11:00

20 lines
478 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
Tail, // DeltaV - Pet tails wagging
}