Light Object Functions for Mocha


integer obj.light_hours;
void set_light_hours (object obj, integer hours);
Determine or set the number of hours for which a light will burn. The value eternal indicates that the light never burns out, and the value 0 indicates that the light is already burnt out. Any other value used or returned must be above 0.


Return to Mocha Object Functions Page

Return to Mocha's Main Page