Files
wwdpublic/Content.Shared/Mining/Components/MiningScannerComponent.cs
Nemanja 85bd0bede8 Mineral Scanner (#31390)
* Mineral Scanner

* doink

* review

* sunday funday

* review and fix bugs i think?

* Update MiningOverlay.cs

(cherry picked from commit 85992518256e85c7980b784b6462727f9158a413)
2025-07-20 15:49:41 +10:00

14 lines
404 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Mining.Components;
/// <summary>
/// This is a component that, when held in the inventory or pocket of a player, gives the the MiningOverlay.
/// </summary>
[RegisterComponent, NetworkedComponent, Access(typeof(MiningScannerSystem))]
public sealed partial class MiningScannerComponent : Component
{
[DataField]
public float Range = 5;
}