2021-10-25 16:21:56 +02:00
|
|
|
using Robust.Shared.GameStates;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Electrocution
|
|
|
|
|
{
|
2023-09-28 16:20:29 -07:00
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
2022-06-07 15:26:28 +02:00
|
|
|
[Access(typeof(SharedElectrocutionSystem))]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class InsulatedComponent : Component
|
2021-10-25 16:21:56 +02:00
|
|
|
{
|
2023-09-28 16:20:29 -07:00
|
|
|
// 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.
|
2021-10-25 16:21:56 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Siemens coefficient. Zero means completely insulated.
|
|
|
|
|
/// </summary>
|
2023-09-28 16:20:29 -07:00
|
|
|
[DataField, AutoNetworkedField]
|
|
|
|
|
public float Coefficient { get; set; } = 0f;
|
2021-10-25 16:21:56 +02:00
|
|
|
}
|
|
|
|
|
}
|