Ejemplo n.º 1
0
GEM("amber", "yellowish brown",         11, 1, 1000, 15, GEMSTONE, BROWN),
GEM("topaz", "yellowish brown",         13, 1,  900, 15, GEMSTONE, BROWN),
GEM("opal", "white",                    15, 1,  800, 15, GEMSTONE, WHITE),
GEM("garnet", "red",                    17, 1,  700, 15, GEMSTONE, RED),
GEM("amethyst", "violet",               19, 1,  600, 15, GEMSTONE, MAGENTA),
GEM("jasper", "red",                    21, 1,  500, 15, GEMSTONE, RED),
GEM("fluorite", "violet",               22, 1,  400, 15, GEMSTONE, MAGENTA),
GEM("jade", "green",                    23, 1,  300, 15, GEMSTONE, GREEN),
GEM("worthless piece of white glass", "white",  116, 1, 0, 6, GLASS, WHITE),
GEM("worthless piece of blue glass", "blue",    116, 1, 0, 6, GLASS, BLUE),
GEM("worthless piece of red glass", "red",      116, 1, 0, 6, GLASS, RED),
GEM("worthless piece of yellowish brown glass", "yellowish brown",
						116, 1, 0, 6, GLASS, BROWN),
GEM("worthless piece of green glass", "green",  116, 1, 0, 6, GLASS, GREEN),
GEM("worthless piece of violet glass", "violet",116, 1, 0, 6, GLASS, MAGENTA),
ROCK("luckstone", "gray",                0, 10, 10, 60, 1, 10, MINERAL, GRAY),
ROCK("loadstone", "gray",                0, 10,500,  1, 1, 10, MINERAL, GRAY),
ROCK("rock", NULL,                       1,100, 10,  0, 0, 10, MINERAL, GRAY),
#undef GEM
#undef ROCK

/* miscellaneous ... */
/* Note: boulders and rocks are not normally created at random; the
 * probabilities only come into effect when you try to polymorph them.
 * Boulders and statues weigh more than MAX_CARR_CAP.
 */
OBJECT(OBJ("boulder",NULL), BITS(1,0,0,0,0,0,0,0,1,0,MINERAL), 0,
		ROCK_CLASS,   100, 0, 6000,  0, 20, 20, 0, 0, 2000, HI_MINERAL),
OBJECT(OBJ("statue", NULL), BITS(1,0,0,1,0,0,0,0,0,0,MINERAL), 0,
		ROCK_CLASS,   900, 0, 2500,  0, 20, 20, 0, 0, 2500, WHITE),
OBJECT(OBJ("heavy iron ball", NULL), BITS(1,0,0,0,0,0,0,0,0,0,IRON), 0,
Ejemplo n.º 2
0
GEM("fluorite", "violet",             15,  1,  400, 15,  4, GEMSTONE, CLR_MAGENTA),
GEM("obsidian", "black",               9,  1,  200, 15,  6, GEMSTONE, CLR_BLACK),
GEM("agate", "orange",                12,  1,  200, 15,  6, GEMSTONE, CLR_ORANGE),
GEM("jade", "green",                  10,  1,  300, 15,  6, GEMSTONE, CLR_GREEN),
GEM("worthless piece of white glass", "white",   77, 1, 0, 6, 5, GLASS, CLR_WHITE),
GEM("worthless piece of blue glass", "blue",     77, 1, 0, 6, 5, GLASS, CLR_BLUE),
GEM("worthless piece of red glass", "red",       77, 1, 0, 6, 5, GLASS, CLR_RED),
GEM("worthless piece of yellowish brown glass", "yellowish brown",
						 77, 1, 0, 6, 5, GLASS, CLR_BROWN),
GEM("worthless piece of orange glass", "orange", 76, 1, 0, 6, 5, GLASS, CLR_ORANGE),
GEM("worthless piece of yellow glass", "yellow", 77, 1, 0, 6, 5, GLASS, CLR_YELLOW),
GEM("worthless piece of black glass",  "black",  76, 1, 0, 6, 5, GLASS, CLR_BLACK),
GEM("worthless piece of green glass", "green",   77, 1, 0, 6, 5, GLASS, CLR_GREEN),
GEM("worthless piece of violet glass", "violet", 77, 1, 0, 6, 5, GLASS, CLR_MAGENTA),

ROCK("luckstone", "gray",	0, 10,  10, 60, 3, 3, 1, 10, 7, MINERAL, CLR_GRAY),
ROCK("loadstone", "gray",	0, 10, 500,  1, 3, 3, 1, 10, 6, MINERAL, CLR_GRAY),
ROCK("touchstone", "gray",	0,  8,  10, 45, 3, 3, 1, 10, 6, MINERAL, CLR_GRAY),
ROCK("flint", "gray",		0, 10,  10,  1, 6, 6, 0, 10, 7, MINERAL, CLR_GRAY),
ROCK("rock", (char *)0,		1,100,  10,  0, 3, 3, 0, 10, 7, MINERAL, CLR_GRAY),

/* miscellaneous ... */
/* Note: boulders and rocks are not normally created at random; the
 * probabilities only come into effect when you try to polymorph them.
 * Boulders weigh more than MAX_CARR_CAP; statues use corpsenm to take
 * on a specific type and may act as containers (both affect weight).
 */
OBJECT(OBJ("boulder",(char *)0), BITS(1,0,0,0,0,0,0,0,1,0,0,P_NONE,MINERAL), 0,
		ROCK_CLASS,   100, 0, 6000,  0, 20, 20, 0, 0, 2000, HI_MINERAL),
OBJECT(OBJ("statue", (char *)0), BITS(1,0,0,1,0,0,0,0,0,0,0,P_NONE,MINERAL), 0,
		ROCK_CLASS,   900, 0, 2500,  0, 20, 20, 0, 0, 2500, CLR_WHITE),