fish-station/Content.Shared/Electrocution/InsulatedComponent.cs
2025-04-11 21:07:21 +03:00

26 lines
905 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Electrocution
{
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(SharedElectrocutionSystem))]
public sealed partial class InsulatedComponent : Component
{
// Technically, people could cheat and figure out which budget insulated gloves are gud and which ones are bad.
// We might want to rethink this a little bit.
/// <summary>
/// Siemens coefficient. Zero means completely insulated.
/// </summary>
[DataField, AutoNetworkedField]
public float Coefficient { get; set; } = 0f;
// Sunrise-Start
/// <summary>
/// Whether or not someone with
/// Insulated gloves can opperate guns
/// </summary>
[DataField]
public bool PreventOpperatinGuns = false;
// Sunrise-End
}
}