Merge pull request #7734 from deathride58/fancylightingwave2

Fancy lighting wave 2 - nonbinary colored lighting now applies to gun/helmet flashlights, borgs, bots, welders, and more
This commit is contained in:
nik707
2018-11-19 18:05:27 -06:00
committed by GitHub
13 changed files with 21 additions and 12 deletions
+2 -1
View File
@@ -7,6 +7,7 @@
desc = "It's used to monitor rooms."
icon = 'icons/obj/machines/camera.dmi'
icon_state = "camera"
light_color = "#CDDDFF"
use_power = ACTIVE_POWER_USE
idle_power_usage = 5
active_power_usage = 10
@@ -396,7 +397,7 @@
if(cam == src)
return
if(on)
set_light(AI_CAMERA_LUMINOSITY)
set_light(AI_CAMERA_LUMINOSITY, 0.8)
else
set_light(0)