* Convert StomachBehavior to a component/system + rejig body namespaces * test * slightly more namespace changes * remove * Hello????? * fuck you github test runner * reviews * oobsy!
22 lines
609 B
C#
22 lines
609 B
C#
using Content.Shared.Body.Components;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
|
|
|
namespace Content.Shared.Body.Part.Property
|
|
{
|
|
/// <summary>
|
|
/// Defines the length of a <see cref="SharedBodyPartComponent"/>.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public class ExtensionComponent : BodyPartPropertyComponent
|
|
{
|
|
public override string Name => "Extension";
|
|
|
|
/// <summary>
|
|
/// Current distance in tiles.
|
|
/// </summary>
|
|
[DataField("distance")]
|
|
public float Distance { get; set; } = 3f;
|
|
}
|
|
}
|