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>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user