APC Area update initial commit.

Conflicts:
	code/modules/mob/mob.dm
	code/modules/power/power.dm
This commit is contained in:
Ccomp5950
2014-03-08 17:00:43 -05:00
committed by ZomgPonies
parent 0b47e16828
commit b97434054f
9 changed files with 57 additions and 15 deletions
+2
View File
@@ -602,9 +602,11 @@
#define LIGHTING_POWER_FACTOR 20 //20W per unit luminosity
/*
/obj/machinery/light/process()//TODO: remove/add this from machines to save on processing as needed ~Carn PRIORITY
if(on)
use_power(luminosity * LIGHTING_POWER_FACTOR, LIGHT)
*/
// called when area power state changes
/obj/machinery/light/power_change()