Yup, this sucks, but i think the only functions you need to alter are do_equipment() and look_at_char() int act.informative.c. Alter these to instead of looping through NUM_WEARS in order, it loops through and array containing all the positions that just happens to also be NUM_WEARS long. Will have just about the same speed, just an added array lookup, no REAL cost. instead of GET_EQ(ch,j) it would be GET_EQ(ch,wear_sort[j]) --Angus ______________________________ Reply Separator _________________________________ Subject: Re: Addin new places to wear eq Author: INTERNET:CIRCLE@POST.QUEENSU.CA at CSERVE Date: 6/17/98 1:31 AM If you'll agree with me that the eq list is aesthetically/logically ordered, with armor, down to weapons and holdables/lights. When I added new eq wear positions, the new positions were always at the bottom of the list when people looked at their equipment. What I wish to know, is there any way to have new eq wear positions inserted in the middle of this list, without changing the defines (thus, having to change the entire world files, so people aren't wearing a helmet around their necks?) Thanks Nick +------------------------------------------------------------+ | 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