SalvageMagnetComponent.cs 484 B

123456789101112131415161718
  1. namespace Content.Server.Salvage.Magnet;
  2. [RegisterComponent]
  3. public sealed partial class SalvageMagnetComponent : Component
  4. {
  5. /// <summary>
  6. /// The max distance at which the magnet will pull in wrecks.
  7. /// Scales from 50% to 100%.
  8. /// </summary>
  9. [DataField]
  10. public float MagnetSpawnDistance = 64f;
  11. /// <summary>
  12. /// How far offset to either side will the magnet wreck spawn.
  13. /// </summary>
  14. [DataField]
  15. public float LateralOffset = 16f;
  16. }