Implemented Tobba's new lighting system. This grants some infrastructure to allow for colored light sources. It should also, theoretically, but more efficient.

Created a quick variable to let projectiles automatically illuminate.

Implemented some of Ausops' sprites.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3944 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
vageyenaman@gmail.com
2012-06-29 03:43:30 +00:00
parent 3710c741a7
commit 9a7675ce5a
13 changed files with 285 additions and 647 deletions
+2
View File
@@ -177,11 +177,13 @@ var/global/list/obj/item/device/pda/PDAs = list()
if (fon)
sd_SetLuminosity(0)
user.total_luminosity += f_lum
sd_Update()
/obj/item/device/pda/dropped(mob/user)
if (fon)
user.total_luminosity -= f_lum
sd_SetLuminosity(f_lum)
sd_Update()
/obj/item/device/pda/New()
..()
+2
View File
@@ -85,12 +85,14 @@
if(on)
user.total_luminosity += brightness_on
src.sd_SetLuminosity(0)
sd_Update()
/obj/item/device/flashlight/dropped(mob/user)
if(on)
user.total_luminosity -= brightness_on
src.sd_SetLuminosity(brightness_on)
sd_Update()
/obj/item/device/flashlight/pen