From the NannyMUD documentation
2000-12-11
NAME
save_object - save global variables in current object to a fileSYNTAX
void save_object(string filename)DESCRIPTION
Saves all non-static global variables of an object to a given file. All variables are saved except those currently of the type object. The filename gets a filetype ".o" appended and the format is:variable_name variable_value intvar number stringvar "stringvalue" arrayvar ({ variable_values }) mappingvar ([ index:value ])NOTE
The filename on the disc will have a suffix '.o', which you should NOT include in the argument to save_object().NOTE
Don't start the filename with a '/'. If the string does start with a '/', this efun will not save anything, rather, you will get a strange looking error.SEE ALSO
restore_object in efun/object_related/restore_object