/tg/ Station 13 - Modules - TypesVar Details - Proc Details

light_source

Vars

appliedWhether we have applied our light yet or not.
effect_strList used to store how much we're affecting corners.
light_colorThe colour of the light, string, decomposed by parse_light_color()
light_powerIntensity of the emitter light.
light_rangeThe range of the emitted light.
needs_updatewhether we are to be added to SSlighting's sources_queue list for an update
pixel_turfThe turf the top_atom appears to over.
source_atomThe atom that we belong to.
source_turfThe turf under the source atom.
top_atomThe atom we're emitting light from (for example a mob if we're from a flashlight that's being held).

Procs

remove_lumThis is the define used to calculate falloff.

Var Details

applied

Whether we have applied our light yet or not.

effect_str

List used to store how much we're affecting corners.

light_color

The colour of the light, string, decomposed by parse_light_color()

light_power

Intensity of the emitter light.

light_range

The range of the emitted light.

needs_update

whether we are to be added to SSlighting's sources_queue list for an update

pixel_turf

The turf the top_atom appears to over.

source_atom

The atom that we belong to.

source_turf

The turf under the source atom.

top_atom

The atom we're emitting light from (for example a mob if we're from a flashlight that's being held).

Proc Details

remove_lum

This is the define used to calculate falloff.