CatStation/Content.Server/Electrocution/RandomInsulationComponent.cs
Ewanderer d7f7a91183
Documentation of e api (#44395)
* 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>
2026-07-01 08:38:04 +00:00

19 lines
686 B
C#

using Content.Shared.Electrocution;
namespace Content.Server.Electrocution
{
/// <summary>
/// An entity with this component will assign a random siemens coefficient on the entities insulated component (if it exists)
/// Mostly used to randomize budget insulated gloves.
/// </summary>
[RegisterComponent]
public sealed partial class RandomInsulationComponent : Component
{
/// <summary>
/// A list of possible Siemens Factors from which one will be picked for insulation component.
/// </summary>
/// <seealso cref="InsulatedComponent.Coefficient"/>
[DataField("list")]
public float[] List = { 0f };
}
}