query_dark
skylib_fluffos_v3/mudlib/doc/new/living/race/query_dark · 571 B
From the archive skylib_fluffos_v3.zip
Download the archive « Back to the archive contents
query_dark race help $MUDNAME$ query_dark
Name
query_dark - Returns whether a creature of this race can see or not at
this light level.
Syntax
int query_dark(int light);
Description
Returns an integer indicating how well the monster can see at this light
level. The number varies from -2 to 2.
Values
-2 total darkness
-1 twilight (normally they can see a bit but nothing detailed).
0 normal light levels
1 very bright. As for -1 but too bright.
2 too bright to see anything.