RandomCloneSpawnerComponent.cs 507 B

1234567891011121314151617
  1. using Content.Shared.Cloning;
  2. using Robust.Shared.Prototypes;
  3. namespace Content.Server.Cloning.Components;
  4. /// <summary>
  5. /// This is added to a marker entity in order to spawn a clone of a random player.
  6. /// </summary>
  7. [RegisterComponent, EntityCategory("Spawner")]
  8. public sealed partial class RandomCloneSpawnerComponent : Component
  9. {
  10. /// <summary>
  11. /// Cloning settings to be used.
  12. /// </summary>
  13. [DataField]
  14. public ProtoId<CloningSettingsPrototype> Settings = "BaseClone";
  15. }