dragon.h

demise/src/dragon.h · 2.5 KB

From the archive dodbackup-final.tar.gz

Download the archive   « Back to the archive contents

/***************************************************************************
 *  God Wars Mud originally written by KaVir aka Richard Woolcock.         *
 *  Changes done to the code done by Sage aka Walter Howard, this mud is   *
 *  for the public, however if you run this code it means you agree        *
 *  to the license.low, license.gw, and license.merc have fun. :)          *
 ***************************************************************************/

// Age.
#define HATCHLING       1
#define VERY_YOUNG      2
#define YOUNG        	3
#define JUVENILE        4
#define YOUNG_ADULT     5
#define ADULT           6
#define MATURE_ADULT    7
#define OLD             8
#define VERY_OLD        9
#define VENERABLE       10
#define WYRM            11
#define SUPREME		12



//General
#define DRAGON_AGE	0
#define DRAGON_COLOR	1
#define DRAGON_FORM     2
#define NUMBER_HATCHED  3
#define DRA_AFF		4
#define DRAGONPOINTS	5
#define BREATH		6
#define BREATH_WEAPON	7

#define BNONE           0
#define BGAS		2
#define BLIGHT		4
#define BFIRE		8
#define BCOLD		16
#define BSHADOW		32
#define BACID		64
#define BSONIC		128

#define BWNONE		0
#define BWGAS		2
#define BWLIGHT		4
#define BWFIRE		8
#define BWCOLD		16
#define BWSHADOW	32
#define BWACID		64
#define BWSONIC		128


#define MAX_DFORMS	13


// Colors
#define DRED		1
#define DGREEN		2
#define DBLUE		3
#define DBRONZE		4
#define DSILVER		5
#define DWHITE		6
#define DBLACK		7
#define DGOLD		8
#define DSHADOW		9
#define DPINK		10
#define DMULTI		11

/*
 * Bits for dragons
 */

#define DRA_WINGS                       1
#define DRA_GEMFORM                     2
#define DRA_FROST_BREATH                4
#define DRA_FIRE_BREATH                 8
#define DRA_LIGHTNING_BREATH            16
#define DRA_ACID_BREATH                 32
#define DRA_GAS_BREATH                  64
#define DRA_TAIL                        128
#define DRA_TERROR                      256
#define DRA_AUTOBREATH                  512
#define DRA_MASK                        1024
#define DRA_VENOM                       2048
#define DRA_MAGIC                       4096
#define DRA_POLYMORPH                   8192
#define DRA_LUCK                        16384
#define DRA_FLY                         32768
#define DRA_SCRY                        65536
#define DRA_PEER                        131072
#define DRA_TRUESIGHT                   262144
#define DRA_TOUGHNESS                   524288
#define DRA_SHIELD			1048576
#define DRA_SHADOW_BREATH		2097152
#define DRA_SWOOP			4194304
#define DRA_FORGE			8388608
#define DRA_COLOUR			16777216

Site Stats

Snippets: 1791
Codebases: 571