/* * Item generator 2, a simpler approch to the creation system */ #if defined(macintosh) #include <types.h> #else #include <sys/types.h> #endif #include <ctype.h> #include <stdio.h> #include <string.h> #include <time.h> #include "merc.h" #include "interp.h" #include "magic.h" #include "recycle.h" #include "tables.h" OBJ_DATA * gen_artifact (OBJ_DATA * obj, int level) { int ring_type = number_range(1, 1); // char name_set[MSL]; // char shor_set[MSL]; // char long_set[MSL]; switch(ring_type) { default: case 1: obj = create_object (get_obj_index (930), 0); } return(obj); }