Files
tbd-station-14/Content.Server/Radiation/Components/RadiationBlockingContainerComponent.cs
chromiumboy c853f0bfb7 Artifact containers can safely store radioactive objects (version 2) (#19652)
* Artifact containers suppress the radioactive of artifacts inside them

* Updated to reflect changes to RobustToolbox

* Made necessary changes after updating RT

* Removed test code

* Made requested change

* Updated due to changes to RobustToolbox

* Renamed function

* Updated to accommodate changes to RobustToolbox

* Actually resolve merge conflict?

* Removed unnecessary change

* Made requested changes

* retrigger checks

* Retrigger checks

---------

Co-authored-by: root <root@DESKTOP-HJPF29C>
2023-09-11 15:58:25 -04:00

18 lines
516 B
C#

using Content.Server.Radiation.Systems;
namespace Content.Server.Radiation.Components;
/// <summary>
/// Prevents entities from emitting or receiving radiation when placed inside this container.
/// </summary>
[RegisterComponent]
[Access(typeof(RadiationSystem))]
public sealed partial class RadiationBlockingContainerComponent : Component
{
/// <summary>
/// How many rads per second does the blocker absorb?
/// </summary>
[DataField("resistance")]
public float RadResistance = 1f;
}