From 53249a9d13acc5951001cd22992fc5e59af97f03 Mon Sep 17 00:00:00 2001 From: Tigercat2000 Date: Thu, 14 May 2015 20:23:37 -0700 Subject: [PATCH] FIX: Floodlights no longer have 999 range This commit fixes the fact that floodlights had literally 999 range to them, illuminating more tiles than were actually on the map. They now have 14 range, and 20 brightness to maintain functionality similar to that which they had before the lighting overhaul. --- code/game/machinery/floodlight.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/floodlight.dm b/code/game/machinery/floodlight.dm index 9c3b04f36d6..37a892f940b 100644 --- a/code/game/machinery/floodlight.dm +++ b/code/game/machinery/floodlight.dm @@ -11,7 +11,9 @@ var/use = 5 var/unlocked = 0 var/open = 0 - var/brightness_on = 999 //can't remember what the maxed out value is + var/brightness_on = 14 + light_power = 20 + //var/brightness_on = 999 //can't remember what the maxed out value is //Lighting overhaul: No max, stop TRYING TO ILLUMINATE MORE TILES THAN THE MAP CONSISTS OF. /obj/machinery/floodlight/New() src.cell = new(src)