/* /domains/Ylsrim/virtual/server.c * from the Nightmare V Object Library * created by Descartes of Borg 960302 */ object compile_object(string file) { string *path; object ob; int x, y; if( previous_object() != master() ) return 0; path = explode(file, "/"); if( sizeof(path) != 5 ) return 0; if( file_size(__DIR__ + path[3] + ".c") < 1 ) return 0; if( sscanf(path[4], "%d,%d", x, y) != 2 ) return 0; if( !(ob = new(__DIR__ + path[3], x, y)) ) return 0; return ob; }