6
StarHorizon_Public/Content.Server/Salvage/Magnet/SalvageMagnetComponent.cs
2026-01-24 12:49:55 +03:00

19 lines
484 B
C#

namespace Content.Server.Salvage.Magnet;
[RegisterComponent]
public sealed partial class SalvageMagnetComponent : Component
{
/// <summary>
/// The max distance at which the magnet will pull in wrecks.
/// Scales from 50% to 100%.
/// </summary>
[DataField]
public float MagnetSpawnDistance = 64f;
/// <summary>
/// How far offset to either side will the magnet wreck spawn.
/// </summary>
[DataField]
public float LateralOffset = 16f;
}