Class EmagSiliconLawComponent
This is used for an entity that grants a special "obey" law when emagge.d
Inheritance
System.Object
EmagSiliconLawComponent
Namespace: Content.Shared.Silicons.Laws.Components
Assembly: Content.Shared.dll
Syntax
public sealed class EmagSiliconLawComponent : Component
Fields
| Improve this Doc View SourceAntagonistRole
A role given to entities with this component when they are emagged. Mostly just for admin purposes.
Declaration
public string? AntagonistRole
Field Value
Type | Description |
---|---|
System.Nullable<System.String> |
EmagLaws
The laws that the borg is given when emagged.
Declaration
public List<string> EmagLaws
Field Value
Type | Description |
---|---|
List<System.String> |
OwnerName
The name of the person who emagged this law provider.
Declaration
public string? OwnerName
Field Value
Type | Description |
---|---|
System.Nullable<System.String> |
RequireOpenPanel
Does the panel need to be open to EMAG this law provider.
Declaration
public bool RequireOpenPanel
Field Value
Type | Description |
---|---|
System.Boolean |
StunTime
How long the borg is stunned when it's emagged. Setting to 0 will disable it.
Declaration
public TimeSpan StunTime
Field Value
Type | Description |
---|---|
TimeSpan |