Skip to content
Version 2.32.0
↓ Get the launcher

LampSettings structure

Everything about one lamp. A lamp is a point light that joins the game’s own clustered lights: it makes a real pool of light on the ground and the scene around Position, and — while PeopleLevel is above 0 — an even colour wash on characters within Range.

public struct LampSettings : IEquatable<LampSettings>
parameter description
Position World position of the lamp.
Color Linear colour, 0–1 per channel.
Strength Light intensity, clamped to 0–MaxStrength (the game’s own lamps use roughly 1–40; on characters it saturates above ~10).
Range Reach in metres, clamped to MinRange–MaxRange; nothing beyond it is lit.
Enabled Off keeps the lamp (and its settings) but removes its light.
name description
LampSettings(…) Everything about one lamp. A lamp is a point light that joins the game’s own clustered lights: it makes a real pool of light on the ground and the scene around Position, and — while PeopleLevel is above 0 — an even colour wash on characters within Range.
Color { get; set; } Linear colour, 0–1 per channel.
Enabled { get; set; } Off keeps the lamp (and its settings) but removes its light.
Position { get; set; } World position of the lamp.
Range { get; set; } Reach in metres, clamped to MinRange–MaxRange; nothing beyond it is lit.
Strength { get; set; } Light intensity, clamped to 0–MaxStrength (the game’s own lamps use roughly 1–40; on characters it saturates above ~10).