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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user