set_light

ds2.1.1/lib/doc/efun/all/set_light · 608 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

set_light - update or query an object's light level

int set_light( int light_level_adjustment );

This efun is only available if NO_LIGHT is not compiled in.

Passing 'light_level_adjustment' as 0 queries the object's current
light level.  A positive number will increase the light level, while
a negative number will decrease the light level.

Note that the object's current light level includes the light it sees from
other objects.

This efun is provided mostly for backwards compatibility; it really should
be handled by the mudlib.

 Tim Hollebeek  Beek@ZorkMUD, Lima Bean, IdeaExchange, and elsewhere

Site Stats

Snippets: 1791
Codebases: 571