* cloning refactor * cleanup and fixes * don't pick from 0 * give dwarves the correct species * fix dna and bloodstream reagent data cloning * don't copy helmets * be less redundant
18 lines
507 B
C#
18 lines
507 B
C#
using Content.Shared.Cloning;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Cloning.Components;
|
|
|
|
/// <summary>
|
|
/// This is added to a marker entity in order to spawn a clone of a random player.
|
|
/// </summary>
|
|
[RegisterComponent, EntityCategory("Spawner")]
|
|
public sealed partial class RandomCloneSpawnerComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Cloning settings to be used.
|
|
/// </summary>
|
|
[DataField]
|
|
public ProtoId<CloningSettingsPrototype> Settings = "BaseClone";
|
|
}
|