public struct LightFurniture.Settings
- Inherited Members
- Extension Methods
A function that is used to create the lights for the LightFurniture.
public Func<LightFurniture, Light> CreateLights
A set of positions that fire particles should be displayed with, based on the given LightFurniture instance's position. These offsets are applied to ScreenPosOffset. If this is null, no fire particles will be displayed.
public Func<LightFurniture, Vector2> FireParticleOffsets
Whether the light furniture flickers, which causes the lights created in CreateLights to change size slightly over time.
public bool Flickers
Whether this light furniture is lit and unlit automatically based on the time of day. Light furniture with this setting should not use the Lamp category, as that is what allows it to be toggled on and off by people.
public bool IsAutomatic
Whether the light furniture is electrical. If it is, it will automatically be IsDisabled if the owning household's bills have not been paid.
public bool IsElectrical