Files
tbd-station-14/Content.Server/Humanoid/Components/RandomHumanoidSpawnerComponent.cs
Leon Friedrich 6235fa1ac6 Content changes for entity categories PR (#27232)
* Content changes for entity categories PR

* Poke tests

* Why are tests suddenly working?
2024-06-02 14:08:15 +10:00

17 lines
608 B
C#

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, EntityCategory("Spawner")]
public sealed partial class RandomHumanoidSpawnerComponent : Component
{
[DataField("settings", customTypeSerializer: typeof(PrototypeIdSerializer<RandomHumanoidSettingsPrototype>))]
public string? SettingsPrototypeId;
}