adding levels

From: Tonster (ano6702@CCP.COM)
Date: 10/14/97


I have raised my levels to 60, 50 mortals and 10 god, my problem is when i
add the extra gods into the utils.h it gives me errors. And when I try to
find the definition of one of the new god levels it tells me it is undefined.
I'm sure its something simple (hope hope). The levels work I can set a
player at any of them and there god level shows when I do score.  What
is it that I'm missing. This is what I have:


UTILS.H

/* CLASS/RACE macros */
#define IS_IMPL(ch)             (GET_LEVEL(ch) >= LVL_IMPL)
#define IS_LORD(ch)             (GET_LEVEL(ch) >= LVL_LORD)
#define IS_ETGOD(ch)            (GET_LEVEL(ch) >= LVL_ETGOD)
#define IS_GRGOD(ch)            (GET_LEVEL(ch) >= LVL_GRGOD)
#define IS_GOD(ch)              (GET_LEVEL(ch) >= LVL_GOD)
#define IS_LEGOD(ch)            (GET_LEVEL(ch) >= LVL_LEGOD)
#define IS_DIGOD(ch)            (GET_LEVEL(ch) >= LVL_DIGOD)
#define IS_DEITI(ch)            (GET_LEVEL(ch) >= LVL_DEITI)
#define IS_CREAT(ch)            (GET_LEVEL(ch) >= LVL_CREAT)
#define IS_IMMORT(ch)           (GET_LEVEL(ch) >= LVL_IMMORT)

#define CLASS_ABBR(ch)  (IS_NPC(ch) ? "---" : \
                        (IS_IMPL(ch)   ? "IMP" : \
                        (IS_LORD(ch)   ? "LOR" : \
                  (IS_ETGOD(ch)  ? "ETH" : \
                        (IS_GRGOD(ch)  ? "GRG" : \
                        (IS_GOD(ch)    ? "GOD" : \
                  (IS_LEGOD(ch)  ? "LES" : \
                        (IS_DIGOD(ch)  ? "DEM" : \
                        (IS_DEITI(ch)  ? "DEI" : \
                        (IS_CREAT(ch)  ? "CRE" : \
                        (IS_IMMORT(ch) ? "Imm" : \

       STRUCTS.H

#define LVL_IMPL              60
#define LVL_LORD              59
#define LVL_ETGOD             58
#define LVL_GRGOD             57
#define LVL_GOD               56
#define LVL_LEGOD             55
#define LVL_DEMIGOD     54
#define LVL_DEITIES     53
#define LVL_CREATOR     52
#define LVL_IMMORT      51

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                         MY GOD LEVELS ARE

60 Implementors                 LVL_IMPL     IMP
59 Lords                        LVL_LORD     LOR
58 Eternal Gods/Goddesses       LVL_EGOD     ETG
57 Greater Gods/Goddessses      LVL_GRGOD    GRG
56 Gods/Goddesses               LVL_GOD      GOD
55 Lesser Gods/Goddesses        LVL_LEGOD     LRG
54 Demigods and Demigoddesses   LVL_DEMIGOD  DEM
53 Deities                      LVL_DEITIES  DEI
52 Creators                     LVL_CREATOR  CRE
51 Immortals                    LVL_IMMORT   IMM

                                                  Tonster

                                       E-mail   ano6702@ultra.ccp.com

                                       Homepage www.ccp.com/~ano6702


     +------------------------------------------------------------+
     | 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/08/00 PST