RandomHumanoidAppearanceComponent.cs 503 B

1234567891011121314
  1. using Content.Shared.Humanoid.Prototypes;
  2. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;
  3. namespace Content.Server.CharacterAppearance.Components;
  4. [RegisterComponent]
  5. public sealed partial class RandomHumanoidAppearanceComponent : Component
  6. {
  7. [DataField("randomizeName")] public bool RandomizeName = true;
  8. /// <summary>
  9. /// After randomizing, sets the hair style to this, if possible
  10. /// </summary>
  11. [DataField] public string? Hair = null;
  12. }