[Package Index | Mudlib Index | Effect Index]
Written by Pinkfish
.
void add_inform_light_change(object ob)This method adds an object to be informed of light change events.
int adjust_light(int number)This changes the current light level.
void inform_of_light_level_change(object ob)This method tells all our environments that the light level has changed.
void light_level_changed()This method tells us that the light levels have changed and should be recalculated when queried.
varargs void new_recalc_light()This method forces a recalculation of the current light level in this object.
int query_light()This returns the total light level of the object. This includes the light levels of anything that happens to be inside us.
int query_light_needs_inform()
int query_my_light()This method returns the light associated with this object. This does not count the light levels of anything inside us.
int query_opaque()This method checks to see if the object is opaque or not.
void remove_inform_light_change(object ob)This method removes an object from the current list of things to be informed of a light change.
void reset_opaque()This method makes the object transparent (default). This means that the light from items inside does escape.
int set_light(int number)This sets the current light level. This method calls adjust_light() with the correct value to set the light level.
void set_opaque()This method makes this object opaque. This means that light does not escpae from it.