mud/lib/doc/sefun/effective_light
2020-09-06 05:43:07 -07:00

30 lines
780 B
Plaintext

EFFECTIVE_LIGHT(1) EFFECTIVE_LIGHT(1)
NAME
effective_light() - returns the amount of light available
to an object
SYNOPSIS
int effective_light(object ob)
DESCRIPTION
Passed an object, this function returns the amount of
light available specifically for that object. This
differs from total_light() in that total_light() returns
the total amount of light available for any user in an
environment, whereas effective_light() takes into account
individual factors such as night vision, sunglasses, etc.
LOCATION
/secure/sefun/light.c
SEE ALSO
moon_light(), total_light()
Author
Descartes of Borg
1