> Is there any function similar to generic_find but that will return > the descript for an object that is in a room with a known vnum? i think it would be pretty easy..urm.. room_nr = real_room(donation_vnum); // pick your donation room.. for (obj = world[room_nr].contents; obj; obj = obj->next_in_room) if (GET_OBJ_VNUM(obj) == DON_POT_VNUM) { found = TRUE; break; } if (!found) mode = SCMD_JUNK; // or something..couldn't find the pot.. else obj_to_obj(junked_obj, obj); prolly missed something since i wasn't looking at the drop code while i wrote this.. siv +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST