mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 08:37:26 +00:00
20 lines
651 B
C#
20 lines
651 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;
|
|
|
|
/// <summary>
|
|
/// DeltaV - If true, keeps the original humanoid gender.
|
|
/// </summary>
|
|
[DataField] public bool KeepGender = false;
|
|
}
|