[CODE] Level Restriction Define in do_wear and Do_wield

From: Quinn ShadowStalker (quinn@MUD.COMSYS.NET)
Date: 05/17/98


Ok I finished writing my own code for object level restrictions, but I
cant get them properly defined in the code, anyone wanna help me?
this is what I got so far but its not working :(  Plus I dunno how I would
define this in do_wield.

   if (GET_OBJ_LEVEL(obj) > GET_LEVEL(ch) {
    send_to_char("You have to be a higher level to wear that!\r\n", ch);
    return;
  }

-------------------------------------------------------------------------|
|Matt Roach - owner of OnyxMUD            | "I dont have bugs... just    |
|matt@shiva.ml.org    quinn@mud.comsys.net| randomly created features!"  |
-------------------------------------------------------------------------|


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