namespace Content.Shared.Radiation.Components;
///
/// Irradiate all objects in range.
///
[RegisterComponent]
public sealed partial class RadiationSourceComponent : Component
{
///
/// Radiation intensity in center of the source in rads per second.
/// From there radiation rays will travel over distance and loose intensity
/// when hit radiation blocker.
///
[ViewVariables(VVAccess.ReadWrite)]
[DataField("intensity")]
public float Intensity = 1;
///
/// Defines how fast radiation rays will loose intensity
/// over distance. The bigger the value, the shorter range
/// of radiation source will be.
///
[ViewVariables(VVAccess.ReadWrite)]
[DataField("slope")]
public float Slope = 0.5f;
[DataField, ViewVariables(VVAccess.ReadWrite)]
public bool Enabled = true;
}