15 lines
503 B
C#
15 lines
503 B
C#
using Content.Shared.Humanoid.Prototypes;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;
|
|
|
|
namespace Content.Server.CharacterAppearance.Components;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class RandomHumanoidAppearanceComponent : Component
|
|
{
|
|
[DataField("randomizeName")] public bool RandomizeName = true;
|
|
/// <summary>
|
|
/// After randomizing, sets the hair style to this, if possible
|
|
/// </summary>
|
|
[DataField] public string? Hair = null;
|
|
}
|