WireLamp
A lamp to wire up: its input “On” lights it from 0 (dark) to 1 (full), tinting its sprite from OffColor to OnColor and turning up a Light on it.
Part of the Contraptions module: Contraptions, Garry’s Mod and Wiremod style: building tools used while the game runs (SandboxTools), welds, ropes and thrusters, wiring with buttons, sensors, gates, lamps and displays, and the Contraption template.
Properties
Section titled “Properties”Each is listed as its key in the scene file and the MCP tools, then its kind of value, its default and what it does.
brightness: a number = 0. How brightly it’s lit, from 0 to 1. Wire something to its “On”, or set it. (Field: a number.)onColor: a color, “#RRGGBB” or “#RRGGBBAA” = “#FFE06AFF”. Its color fully lit. (Field: a color.)offColor: a color, “#RRGGBB” or “#RRGGBBAA” = “#4A4D55FF”. Its color when off; it blends to OnColor as it brightens. (Field: a color.)
Scripts use it as WireLamp: its methods, events and values that aren’t saved with the scene.