Re: [SEMI OFF-TOPIC] PERL Scripts

From: Chuck Reed (creed@I-55.COM)
Date: 02/09/98


>I'm curious if you know of any available source for minimum level items, as
>you seem to have in your MUD.

Add another integer spot in structs.h under weight or something for
objects.  Add something to the effect of

if(GET_MIN_LEV(obj) > GET_LEVEL(ch)) {
   send_to_char("You are not skilled enough to use that item yet!\r\n", ch);
   return;
}

You'll have to add a macro of GET_MIN_LEV.

Hope this helps.

Chuck


     +------------------------------------------------------------+
     | 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