/** * @ignore yes */ void setup() { set_short("report handler"); add_property("determinate", "the "); set_long("This is a rather tacky statue of a woman holding " "a sword and some wonky scales.\n"); if(file_size(NEWCASES) > -1) { new_cases = restore_variable(read_file(NEWCASES)); } if(file_size(RECENT) > -1) { recent_cases = restore_variable(read_file(RECENT)); } } /* setup() */
void load_inventory() { mapping *inv; mapping serial; destruct_inventory(); if (strlen(inventory)) { inv = restore_variable(inventory); foreach (serial in make_inventory(inv)) { serial->move(this_object()); } }