light
Vars | |
base_state | base description and icon_state |
---|---|
break_if_moved | break if moved, if false also makes it ignore if the wall its on breaks |
brightness | Luminosity when on, also used in power calculation |
bulb_colour | Default colour of the light. |
bulb_emergency_colour | Colour of the light when major emergency mode is on |
bulb_low_power_brightness_mul | Multiplier for this light's base brightness in low power power mode |
bulb_low_power_colour | Determines the colour of the light while it's in low power mode |
bulb_low_power_pow_min | The minimum value for the light's power in low power mode |
bulb_low_power_pow_mul | The multiplier for determining the light's power in low power mode |
bulb_major_emergency_brightness_mul | Multiplier for this light's base brightness during a cascade |
bulb_power | Basically the alpha of the emitted light source |
cell | Cell reference |
fire_brightness | The Light range to use when working in fire alarm status |
fire_colour | The Light colour to use when working in fire alarm status |
fire_power | The Light power to use when working in fire alarm status |
fitting | String of the light type, used in descriptions and in examine |
flickering | Should we flicker? |
has_mock_cell | If TRUE, then cell is null, but one is pretending to exist. This is to defer emergency cell creation unless necessary, as it is very expensive. |
light_type | The type of light item |
low_power_mode | If true, the light is in low power mode |
major_emergency | If true, overrides lights to use emergency lighting |
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_low_power | If true, this light cannot ever be in low power mode |
on | Is the light on? |
overlay_icon | What overlay the light should use |
power_consumption_rate | Power usage - W per unit of luminosity |
start_with_cell | If true, this fixture generates a very weak cell at roundstart |
static_power_used | Amount of power used |
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 |
Procs | |
knock_down | All the effects that occur when a light falls off a wall that it was hung onto. |
Var Details
base_state
base description and icon_state
break_if_moved
break if moved, if false also makes it ignore if the wall its on breaks
brightness
Luminosity when on, also used in power calculation
bulb_colour
Default colour of the light.
bulb_emergency_colour
Colour of the light when major emergency mode is on
bulb_low_power_brightness_mul
Multiplier for this light's base brightness in low power power mode
bulb_low_power_colour
Determines the colour of the light while it's in low power mode
bulb_low_power_pow_min
The minimum value for the light's power in low power mode
bulb_low_power_pow_mul
The multiplier for determining the light's power in low power mode
bulb_major_emergency_brightness_mul
Multiplier for this light's base brightness during a cascade
bulb_power
Basically the alpha of the emitted light source
cell
Cell reference
fire_brightness
The Light range to use when working in fire alarm status
fire_colour
The Light colour to use when working in fire alarm status
fire_power
The Light power to use when working in fire alarm status
fitting
String of the light type, used in descriptions and in examine
flickering
Should we flicker?
has_mock_cell
If TRUE, then cell is null, but one is pretending to exist. This is to defer emergency cell creation unless necessary, as it is very expensive.
light_type
The type of light item
low_power_mode
If true, the light is in low power mode
major_emergency
If true, overrides lights to use emergency lighting
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_low_power
If true, this light cannot ever be in low power mode
on
Is the light on?
overlay_icon
What overlay the light should use
power_consumption_rate
Power usage - W per unit of luminosity
start_with_cell
If true, this fixture generates a very weak cell at roundstart
static_power_used
Amount of power used
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
Proc Details
knock_down
All the effects that occur when a light falls off a wall that it was hung onto.