version 1.5 | | version 1.6 |
---|
| | |
/* | | /* |
* static char *rcsid_material_h = | | * static char *rcsid_material_h = |
* "$Id: material.h,v 1.5 2001/05/15 04:35:07 mardahl Exp $"; | | * "$Id: material.h,v 1.6 2002/06/19 04:33:25 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
EXTERN materialtype material[NROFMATERIALS]; | | EXTERN materialtype material[NROFMATERIALS]; |
| | |
| | /* The data is initialized in common/item.c */ |
| | |
#else /* MATERIAL_H_1 */ | | #endif /* MATERIAL_H_1 */ |
/* the array get initialized later, and only once */ | | |
#ifndef MATERIAL_H_2 | | |
#define MATERIAL_H_2 | | |
| | |
| | |
materialtype material[NROFMATERIALS] = { | | |
/* P M F E C C A D W G P S P T F C D D C C G H B I * | | |
* H A I L O O C R E H O L A U E A E E H O O O L N * | | |
* Y G R E L N I A A O I O R R A N P A A U D L I T * | | |
* S I E C D F D I P S S W A N R C L T O N Y N R * | | |
* I C T U N O T O L E E H S T P D N */ | | |
{"paper", {15,10,17, 9, 5, 7,13, 0,20,15, 0,0,0,0,0,10,0,0,0,0,0,0,0,0}}, | | |
{"metal", { 2,12, 3,12, 2,10, 7, 0,20,15, 0,0,0,0,0,10,0,0,0,0,0,0,0,0}}, | | |
{"glass", {14,11, 8, 3,10, 5, 1, 0,20,15, 0,0,0,0,0, 0,0,0,0,0,0,0,0,0}}, | | |
{"leather", { 5,10,10, 3, 3,10,10, 0,20,15, 0,0,0,0,0,12,0,0,0,0,0,0,0,0}}, | | |
{"wood", {10,11,13, 2, 2,10, 9, 0,20,15, 0,0,0,0,0,12,0,0,0,0,0,0,0,0}}, | | |
{"organics", { 3,12, 9,11, 3,10, 9, 0,20,15, 0,0,0,0,0, 0,0,0,0,0,0,0,0,0}}, | | |
{"stone", { 2, 5, 2, 2, 2, 2, 1, 0,20,15, 0,0,0,0,0, 5,0,0,0,0,0,0,0,0}}, | | |
{"cloth", {14,11,13, 4, 4, 5,10, 0,20,15, 0,0,0,0,0, 5,0,0,0,0,0,0,0,0}}, | | |
{"adamant", { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0, 0,0,0,0,0,0,0,0,0}}, | | |
{"liquid", { 0, 8, 9, 6,17, 0,15, 0,20,15,12,0,0,0,0,11,0,0,0,0,0,0,0,0}}, | | |
{"soft metal",{ 6,12, 6,14, 2,10, 1, 0,20,15, 0,0,0,0,0,10,0,0,0,0,0,0,0,0}}, | | |
{"bone", {10, 9, 4, 5, 3,10,10, 0,20,15, 0,0,0,0,0, 2,0,0,0,0,0,0,0,0}}, | | |
{"ice", {14,11,16, 5, 0, 5, 6, 0,20,15, 0,0,0,0,0, 7,0,0,0,0,0,0,0,0}} | | |
}; | | |
| | |
#endif | | |
| | |
#endif | | |