mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* documentation pass on content.server -> E! * APi pass on content.server for the E folder. * documentation pass on content.shared for e. * Apply suggestions from code review Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com> * fixing documentation according to review part 1. * typo * Very minor fixes * And a short explanation about EUI --------- Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com> Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
20 lines
758 B
C#
20 lines
758 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Electrocution
|
|
{
|
|
/// <summary>
|
|
/// This component protects an entity from being electrocuted.
|
|
/// </summary>
|
|
[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;
|
|
}
|
|
}
|