ID:164648
 
Is it possible to change how far a mob can see? And NO, I don't mean world/view, I mean like in traditional caves in games where you can only see so far, and the rest is black.
Yes, it is possible. Check out the variables 'luminosity' and 'see_in_dark'
In response to Loduwijk
Hmmm... sounds right... would this work?
area/cave/luminosity=0
mob/see_in_dark=3
obj
torch
Get()
..()
usr.see_in_dark=5
Drop()
..()
usr.see_in_dark=3
wall_candle
luminosity=2

Looks right to me, but i'm not too sure about the area bit. Well, i'll try it.
In response to Adam753
Easier, and more realistic, would be to just set the luminosity of the mob, rather than it's see_in_dark. A quick note on luminosity, however, unless they've fixed this, you will only see the effects of luminosity for things that are within 1 tile of your view. So if you have something with a large light range, it will seem to "pop" into view suddenly, rather than gradually move into your view. In other words, you'll only see the light radius when the lighted object is 1 tile out of your view range or closer.