using Content.Server.Radiation.Systems;
namespace Content.Server.Radiation.Components;
///
/// Blocks radiation when placed on tile.
///
[RegisterComponent]
[Access(typeof(RadiationSystem))]
public sealed partial class RadiationBlockerComponent : Component
{
///
/// Does it block radiation at all?
///
[DataField("enabled")]
public bool Enabled = true;
///
/// How many rads per second does the blocker absorb?
///
[DataField("resistance")]
public float RadResistance = 1f;
///
/// Current position of the rad blocker in grid coordinates.
/// Null if doesn't anchored or doesn't block rads.
///
public (EntityUid Grid, Vector2i Tile)? CurrentPosition;
}