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.
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
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.