mirror of
https://github.com/space-wizards/space-station-14.git
synced 2026-02-15 03:31:30 +01:00
* initial visual nubody * oops overlay * im so pheeming rn * conversion... * tests * comeback of the underwear * oops eyes * blabbl * zeds * yaml linted * search and visible count constraints * reordering * preserve previously selected markings colors * fix test * some ui niceties * ordering * make DB changes backwards-compatible/downgrade-friendly * fix things again * fix migration * vulpkanin markings limit increase * wrapping * code cleanup and more code cleanup and more code cleanup and more code cleanup and * fix slop ports * better sampling API * make filter work + use the method i made for its intended purpose * fix test fails real quick * magic mirror cleanup, remove TODO * don't 0-init the organ profile data * remove deltastates --------- Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
39 lines
986 B
C#
39 lines
986 B
C#
using Content.Shared.Body;
|
|
using Content.Shared.Chat.Prototypes;
|
|
using Content.Shared.Humanoid;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
namespace Content.Shared.Wagging;
|
|
|
|
/// <summary>
|
|
/// An emoting wag for markings.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class WaggingComponent : Component
|
|
{
|
|
[DataField]
|
|
public EntProtoId Action = "ActionToggleWagging";
|
|
|
|
[DataField]
|
|
public EntityUid? ActionEntity;
|
|
|
|
[DataField]
|
|
public HumanoidVisualLayers Layer = HumanoidVisualLayers.Tail;
|
|
|
|
[DataField]
|
|
public ProtoId<OrganCategoryPrototype> Organ = "Torso";
|
|
|
|
/// <summary>
|
|
/// Suffix to add to get the animated marking.
|
|
/// </summary>
|
|
public string Suffix = "Animated";
|
|
|
|
/// <summary>
|
|
/// Is the entity currently wagging.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool Wagging = false;
|
|
}
|