InsulatedComponent.cs 654 B

1234567891011121314151617
  1. using Robust.Shared.GameStates;
  2. namespace Content.Shared.Electrocution
  3. {
  4. [RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
  5. [Access(typeof(SharedElectrocutionSystem))]
  6. public sealed partial class InsulatedComponent : Component
  7. {
  8. // Technically, people could cheat and figure out which budget insulated gloves are gud and which ones are bad.
  9. // We might want to rethink this a little bit.
  10. /// <summary>
  11. /// Siemens coefficient. Zero means completely insulated.
  12. /// </summary>
  13. [DataField, AutoNetworkedField]
  14. public float Coefficient { get; set; } = 0f;
  15. }
  16. }