Actual randomized humanoids (#11574)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Content.Shared.Humanoid.Prototypes;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Server.Humanoid.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This is added to a marker entity in order to spawn a randomized
|
||||
/// humanoid ingame.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class RandomHumanoidSpawnerComponent : Component
|
||||
{
|
||||
[DataField("settings", customTypeSerializer: typeof(PrototypeIdSerializer<RandomHumanoidSettingsPrototype>))]
|
||||
public string SettingsPrototypeId = default!;
|
||||
}
|
||||
Reference in New Issue
Block a user