Table of Contents

Struct LightFurniture.Settings

Namespace
TinyLife.Objects
Assembly
Tiny Life.dll

A set of settings for a LightFurniture, which can be added to a furniture type using LightSettings.

public struct LightFurniture.Settings
Inherited Members
Extension Methods

Fields

CreateLights

A function that is used to create the lights for the LightFurniture.

public Func<LightFurniture, Light[]> CreateLights

Field Value

Func<LightFurniture, Light[]>

FireParticleOffsets

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

Field Value

Func<LightFurniture, Vector2>[]

Flickers

Whether the light furniture flickers, which causes the lights created in CreateLights to change size slightly over time.

public bool Flickers

Field Value

bool

IsAutomatic

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

Field Value

bool

IsElectrical

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

Field Value

bool