Class PoweredLightComponent
Component that represents a wall light. It has a light bulb that can be replaced when broken.
Inheritance
System.Object
PoweredLightComponent
Assembly: Content.Server.dll
Syntax
public sealed class PoweredLightComponent : Component
Fields
|
Improve this Doc
View Source
BulbType
Declaration
public LightBulbType BulbType
Field Value
|
Improve this Doc
View Source
BurnHandSound
Declaration
public SoundSpecifier BurnHandSound
Field Value
Type |
Description |
Robust.Shared.Audio.SoundSpecifier |
|
|
Improve this Doc
View Source
CurrentLit
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Damage
Declaration
public DamageSpecifier Damage
Field Value
|
Improve this Doc
View Source
EjectBulbDelay
How long it takes to eject a bulb from this
Declaration
public float EjectBulbDelay
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GhostBlinkingCooldown
Declaration
public TimeSpan GhostBlinkingCooldown
Field Value
Type |
Description |
TimeSpan |
|
|
Improve this Doc
View Source
GhostBlinkingTime
Declaration
public TimeSpan GhostBlinkingTime
Field Value
Type |
Description |
TimeSpan |
|
|
Improve this Doc
View Source
HasLampOnSpawn
Declaration
public string? HasLampOnSpawn
Field Value
Type |
Description |
System.Nullable<System.String> |
|
|
Improve this Doc
View Source
IgnoreGhostsBoo
Declaration
public bool IgnoreGhostsBoo
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsBlinking
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LastGhostBlink
Declaration
public TimeSpan? LastGhostBlink
Field Value
Type |
Description |
System.Nullable<TimeSpan> |
|
|
Improve this Doc
View Source
LastThunk
Declaration
public TimeSpan LastThunk
Field Value
Type |
Description |
TimeSpan |
|
|
Improve this Doc
View Source
LightBulbContainer
Declaration
public ContainerSlot LightBulbContainer
Field Value
Type |
Description |
Robust.Shared.Containers.ContainerSlot |
|
|
Improve this Doc
View Source
OffPort
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
On
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
OnPort
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
TogglePort
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
TurnOnSound
Declaration
public SoundSpecifier TurnOnSound
Field Value
Type |
Description |
Robust.Shared.Audio.SoundSpecifier |
|
|
Improve this Doc
View Source
UnarmedHitShock
Shock damage done to a mob that hits the light with an unarmed attack
Declaration
public int UnarmedHitShock
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
UnarmedHitStun
Stun duration applied to a mob that hits the light with an unarmed attack
Declaration
public TimeSpan UnarmedHitStun
Field Value
Type |
Description |
TimeSpan |
|