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.
This commit is contained in:
Lohikar
2017-02-25 22:12:13 +02:00
committed by skull132
parent dc951d6261
commit dceacd805b
10 changed files with 44 additions and 34 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
/*
/proc/spark(var/turf/loc, var/amount = 1, var/spread_dirs = cardinal)
/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.
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.