light
Vars | |
align_with_wall | Is it pixel shifted onto walls? |
---|---|
base_state | base description and icon_state |
bulb_colour | Default colour of the light. |
bulb_emergency_brightness_mul | Multiplier for this light's base brightness in emergency power mode |
bulb_emergency_colour | Determines the colour of the light while it's in emergency mode |
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_falloff | The falloff of the emitted light. Adjust until it looks good. |
bulb_inner_range | The inner radius of the bulb's light, where it is at maximum brightness |
bulb_outer_range | The outer radius of the light's... light. |
bulb_power | Basically the alpha of the emitted light source |
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 |
flickering | Should we flicker? |
light_type | The type of light item |
my_area | The area this thing is in. |
nightshift_allowed | Set to FALSE to never let this light get switched to night mode. |
nightshift_enabled | Currently in night shift mode? |
nightshift_inner_range | Inner, brightest radius of the nightshift light |
nightshift_light_color | Basecolor of the nightshift light |
nightshift_light_power | Alpha of the nightshift light |
nightshift_outer_range | Outer radius of the nightshift light |
no_emergency | If true, this light cannot ever have an emergency mode |
on | Is the light on? |
on_gs | compared to the var/on for static calculations |
overlay_icon | What overlay the light should use |
removable_bulb | Is the bulb removable |
rigged | True if rigged to explode |
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 |
Var Details
align_with_wall
Is it pixel shifted onto walls?
base_state
base description and icon_state
bulb_colour
Default colour of the light.
bulb_emergency_brightness_mul
Multiplier for this light's base brightness in emergency power mode
bulb_emergency_colour
Determines the colour of the light while it's in emergency mode
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_falloff
The falloff of the emitted light. Adjust until it looks good.
bulb_inner_range
The inner radius of the bulb's light, where it is at maximum brightness
bulb_outer_range
The outer radius of the light's... light.
bulb_power
Basically the alpha of the emitted light source
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
flickering
Should we flicker?
light_type
The type of light item
my_area
The area this thing is in.
nightshift_allowed
Set to FALSE to never let this light get switched to night mode.
nightshift_enabled
Currently in night shift mode?
nightshift_inner_range
Inner, brightest radius of the nightshift light
nightshift_light_color
Basecolor of the nightshift light
nightshift_light_power
Alpha of the nightshift light
nightshift_outer_range
Outer radius of the nightshift light
no_emergency
If true, this light cannot ever have an emergency mode
on
Is the light on?
on_gs
compared to the var/on for static calculations
overlay_icon
What overlay the light should use
removable_bulb
Is the bulb removable
rigged
True if rigged to explode
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