NAME
	set_light - add to/query the light level of the current	object

SYNOPSIS
	int set_light(int l)

DESCRIPTION

  An object is by default dark. It can be set to not dark by calling
  set_light(1). The environment will the also get this light.
  The returned value is the total number of lights in this room.
 
  You can set the object to be 'more than dark' by using negative
  values.
 
NOTE
	set_light() can be called in other objects.
	The argument is added to the light of the object.
 
EXAMPLES
	set_light(0) 
	   return the current light level
 
	set_light(1) 
	  make this object somewhat lighter

	this_object() -> set_light(1)
	  Works as well.

	set_light(-set_light(0))
	  Lights out.

SEE ALSO
	efun/set_light

Help topics available:
_get_all_obj _next_obj _prev_obj abs expand_file_name
frnd get_objects getopts implode_nicely itoa
line_break load_object mapping_rusage query_ip_name set_light
sgn short_date typep

[START|BACK ]




[ NannyMuds main page | FAQ | Contact us ]

You are guest number 100 since November 2019.
This file was last modified: June 2000.