api.module
README.md
eerieLightsKit.api
The Lights front door: local Lights = require("eerieLightsKit.api"). setState(target, state, delay?), setGroup(tag, state), setStyle, circuit(name, on, { stagger, delay, short, from }), silhouette(target, action), reads (state, levelOf, list, styles, resolve), setQuality, and on("stateChanged", fn). Targets are an entity, id, name, glob or tag. Owner-authoritative: writes on other peers are sent to the light's owner. Also runs the shadow budget (only the nearest N shadow-casting lights keep shadows).