ID:178135
 
Well in the luminosity demo you have the blackness but you set the luminosity.What if i wanted to make it so where once you got light to that area it stays
I assume what you want is an invisible luminent object. Just have areas, when you enter them, create light source objects with invisibility = 101 (noone can see them, no matter what). I'm not sure if this would work, if it doesn't, just have light sources with null icons.
In response to Garthor (#1)
Heres what i have:
mob

icon = 'person.dmi' //sets the icon to person.dmi
luminosity = 1 //sets luminosity to 2

lamp
icon = 'blackness.dmi'
luminosity = 0
verb
On()
set src in view(1)//So the verb will apear when you get 1 square away
luminosity = 2 //makes the lamps luminosity 6
Off()
set src in view(1)
luminosity = 0 //makes lamp luminosity 0
turf
icon = 'grass.dmi'

area/lum
luminosity = 0 //makes the area luminosity 0
area/lum
Entered()
luminosity=1

Whenever i enter the are it turns normal,not just the section of the area
In response to Soccerguy13 (#2)
So you want it so that when you walk around in an area, you can see the turfs?

turf
luminosity = 0
Enter()
for(var/turf/T in view())
T.luminosity = 1

That should light up all the turfs in your view whenever you step on one. I'm not sure if this would lag or what, but try it. It's for general turfs though, so you'll probably want to change that.
In response to Garthor (#3)
well i cant get it to work ahh well