2022-10-11 05:09:10 +02:00
|
|
|
using Content.Server.Radiation.Systems;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Radiation.Components;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Grid component that stores radiation resistance of <see cref="RadiationBlockerComponent"/> per tile.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
|
|
|
|
[Access(typeof(RadiationSystem), Other = AccessPermissions.ReadExecute)]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class RadiationGridResistanceComponent : Component
|
2022-10-11 05:09:10 +02:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Radiation resistance per tile.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public readonly Dictionary<Vector2i, float> ResistancePerTile = new();
|
|
|
|
|
}
|