light fixture

Vars | |
| base_state | base description and icon_state |
|---|---|
| brightness | Luminosity when on, also used in power calculation |
| bulb_colour | Default colour of the light. |
| bulb_emergency_brightness_mul | Multiplier for this light's base brightness during a cascade |
| bulb_emergency_colour | Colour of the light when major emergency mode is on |
| bulb_emergency_pow_min | the minimum value for the light's power in emergency mode |
| bulb_emergency_pow_mul | the multiplier for determining the light's power in emergency mode |
| bulb_power | Basically the alpha of the emitted light source |
| bulb_vacuum_colour | colour of the light when air alarm is set to severe |
| cell | Cell reference |
| emergency_mode | if true, the light is in emergency mode |
| fitting | String of the light type, used in descriptions and in examine |
| flicker_cooldown | Flicker cooldown |
| flickering | Should we flicker? |
| light_type | The type of light item |
| nightshift_allowed | Set to FALSE to never let this light get switched to night mode. |
| nightshift_brightness | Brightness of the nightshift light |
| nightshift_enabled | Currently in night shift mode? |
| nightshift_light_color | Basecolor of the nightshift light |
| nightshift_light_power | Alpha of the nightshift light |
| no_emergency | if true, this light cannot ever have an emergency mode |
| on | Is the light on? |
| overlay_icon | What overlay the light should use |
| power_channel | Lights are calc'd via area so they dont need to be in the machine list |
| rigged | true if rigged to explode |
| start_with_cell | If true, this fixture generates a very weak cell at roundstart |
| status | LIGHT_OK, _EMPTY, _BURNED or _BROKEN |
| switchcount | Count of number of times switched on/off, this is used to calculate the probability the light burns out |
| turning_on | More stress stuff. |
Var Details
base_state

base description and icon_state
brightness

Luminosity when on, also used in power calculation
bulb_colour

Default colour of the light.
bulb_emergency_brightness_mul

Multiplier for this light's base brightness during a cascade
bulb_emergency_colour

Colour of the light when major emergency mode is on
bulb_emergency_pow_min

the minimum value for the light's power in emergency mode
bulb_emergency_pow_mul

the multiplier for determining the light's power in emergency mode
bulb_power

Basically the alpha of the emitted light source
bulb_vacuum_colour

colour of the light when air alarm is set to severe
cell

Cell reference
emergency_mode

if true, the light is in emergency mode
fitting

String of the light type, used in descriptions and in examine
flicker_cooldown

Flicker cooldown
flickering

Should we flicker?
light_type

The type of light item
nightshift_allowed

Set to FALSE to never let this light get switched to night mode.
nightshift_brightness

Brightness of the nightshift light
nightshift_enabled

Currently in night shift mode?
nightshift_light_color

Basecolor of the nightshift light
nightshift_light_power

Alpha of the nightshift light
no_emergency

if true, this light cannot ever have an emergency mode
on

Is the light on?
overlay_icon

What overlay the light should use
power_channel

Lights are calc'd via area so they dont need to be in the machine list
rigged

true if rigged to explode
start_with_cell

If true, this fixture generates a very weak cell at roundstart
status

LIGHT_OK, _EMPTY, _BURNED or _BROKEN
switchcount

Count of number of times switched on/off, this is used to calculate the probability the light burns out
turning_on

More stress stuff.