- Fixed r4301 so it actually does what it set out to do.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4315 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-08-04 14:51:46 +00:00
parent 04e4380508
commit e7efac9ca6
3 changed files with 2 additions and 13 deletions

View File

@@ -29,8 +29,6 @@ NOTE: there are two lists of areas in the end of this file: centcom and station
invisibility = INVISIBILITY_LIGHTING
var/lightswitch = 1
var/area_lights_luminosity = 9 //This gets assigned at area creation. It is used to determine how bright the lights in an area should be. At the time of writing the value that it gets assigned is rand(6,9) - only used for light tubes
var/eject = null
var/requires_power = 1
@@ -1128,10 +1126,6 @@ proc/process_ghost_teleport_locs()
name = "\improper Toxins Mixing Room"
icon_state = "toxmix"
/area/toxins/misc_lab
name = "Miscellaneous Research"
icon_state = "toxtest"
/area/toxins/server
name = "\improper Server Room"
icon_state = "server"
@@ -1334,7 +1328,7 @@ proc/process_ghost_teleport_locs()
icon_state = "ai_upload"
/area/turret_protected/ai_upload_foyer
name = "Secure Network Access"
name = "Secure Tech Access"
icon_state = "ai_foyer"
/area/turret_protected/ai

View File

@@ -41,7 +41,6 @@
sd_lighting = 0 // *DAL*
else
luminosity = 0
area_lights_luminosity = rand(6,9)
//sd_SetLuminosity(0) // *DAL*

View File

@@ -243,11 +243,7 @@
spawn(2)
switch(fitting)
if("tube")
if(src.loc && src.loc.loc && isarea(src.loc.loc))
var/area/A = src.loc.loc
brightness = A.area_lights_luminosity
else
brightness = 9
brightness = 8
if(prob(10))
broken(1)
if("bulb")