mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
* 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
20 lines
478 B
C#
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
|
|
}
|