Files
Aurora.3/code/modules/effects/sparks/_spark_docs.dm
Lohikar dceacd805b Directional lighting tweaks (#1833)
changes:

Flashlights now default to LIGHT_WIDE directional lighting.
Glowsticks, Lamps, Flares, and Slime Cores use LIGHT_OMNI.
Maglights use LIGHT_NARROW.
Heavy-duty flashlights use LIGHT_SEMI.
EVA suits default to LIGHT_WIDE.
Lanterns use LIGHT_OMNI, as well as now having a more appropriate light color.
Floodlights use LIGHT_WIDE, as well as having a more appropriate light color.
Synthetics default to LIGHT_WIDE. (including drones)
Added some predefined light_wedge values to the lighting defines file.
Fixed some bad angles that screwed up north/south lights in some cases.
2017-02-25 22:12:13 +02:00

20 lines
847 B
Plaintext

/*
/proc/spark(var/atom/movable/loc, var/amount = 1, var/spread_dirs = cardinal)
Creates a spark system that is destroyed once the animation completes.
loc: The location this effect should be created at. Does not need to be a turf.
amount: How many spark-tiles should be created.
spread_dirs: The directions the sparks should spread in. 'cardinal' if not specified.
/proc/bind_spark(var/atom/movable/loc, var/amount = 1, var/spread_dirs = cardinal)
Creates a spark system that can be stored in a variable and reused multiple times with queue().
loc: The atom to bind this effect to.
amount: How many spark-tiles should be created.
spread_dirs: The directions the sparks should spread in. 'cardinal' if not specified.
/proc/single_spark(var/turf/loc)
Creates a single tile of sparks.
loc: The location the spark should be created at.
*/