The saveable ability is used mainly for saving user bodies and bulletin boards. For the so-called auto load objects you should use the reconstruct ability.
#include <ability.h> inherit SAVEABLE;
string query_file_name()
.o
',
which is appended to it when the object is actually saved.
void set_file_name(string f)
.o
',
which is appended to it when the object is actually saved.
int restore(string f)
f
.
By default this function will simply call the efun
restore_object()
, but you may redefine it
if you wish.
int save()
save_object()
,
but you may redefine it if you wish.