byond - Modules - TypesVar Details - Proc Details

/datum/static_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 static_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

force_updateWill force an update without checking if it's actually needed.
remove_lumThis is the define used to calculate falloff.
updateThis proc will cause the light source to update the top atom, and add itself to the update queue.
vis_updateWill cause the light source to recalculate turfs that were removed or added to visibility only.

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 static_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

force_update

Will force an update without checking if it's actually needed.

remove_lum

This is the define used to calculate falloff.

update

This proc will cause the light source to update the top atom, and add itself to the update queue.

vis_update

Will cause the light source to recalculate turfs that were removed or added to visibility only.