Randomizes more humanoid appearances (#27997)

This commit is contained in:
Verm
2024-05-31 23:51:07 -05:00
committed by GitHub
parent a1a8f04036
commit a9a65b7e0d
5 changed files with 58 additions and 114 deletions

View File

@@ -1,4 +1,4 @@
using Content.Shared.Humanoid.Prototypes;
using Content.Shared.Humanoid.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;
namespace Content.Server.CharacterAppearance.Components;
@@ -7,4 +7,8 @@ namespace Content.Server.CharacterAppearance.Components;
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;
}