#define HERB_GREEN_CLOVER 0 #define HERB_PARSLEY 1 #define HERB_BASIL 2 #define HERB_GARLIC 3 #define HERB_RED_CLOVER 4 #define HERB_ROSEMARY 5 #define HERB_SAGE 6 #define HERB_THYME 7 #define HERB_PENNYWORT 8 #define HERB_SPIDER_SILK 9 #define HERB_FEVERFEW 10 #define HERB_FENNEL 11 #define HERB_BLOOD_MOSS 12 #define HERB_VERVAIN 13 #define HERB_GINSING 14 #define HERB_FOXGLOVE 15 #define HERB_HENBANE 16 #define HERB_MUGWORT 17 #define HERB_MANDRAKE 18 #define HERB_SULFER_ASH 19 #define HERB_MONKSHOOD 20 #define HERB_WORMWOOD 21 #define HERB_HEMLOCK 22 #define HERB_NIGHTSHADE 23 #define HERB_BLACK_PEARL 24 #define HERB_ABHAYA_WOOD 25 #define HERB_ADRIEL_BARK 26 #define HERB_ANETE_FIBER 27 #define HERB_BECKERS_BARK 28 #define HERB_BENG_AMBER 29 #define HERB_BIG_SHELL 30 #define HERB_BUO_FIBER 31 #define HERB_CAPRICE_SEED 32 #define HERB_CUTY_SHELL 33 #define HERB_DANTE_SAP 34 #define HERB_DUNG_RESIN 35 #define HERB_DZAO_FIBER 36 #define HERB_ENOLA_SAP 37 #define HERB_FUNG_RESIN 38 #define HERB_GLUE_RESIN 39 #define HERB_GULATCH_OIL 40 #define HERB_HASH_AMBER 41 #define HERB_HORNY_SHELL 42 #define HERB_KACHINE_WOOD 43 #define HERB_MOON_RESIN 44 #define HERB_MOTEGA_WOOD 45 #define HERB_NITA_WOOD_NODE 46 #define HERB_OATH_BARK 47 #define HERB_PATEE_WOOD_NODE 48 #define HERB_PERFLING_BARK 49 #define HERB_PHA_AMBER 50 #define HERB_PILAN_OIL 51 #define HERB_SARINA_SEED 52 #define HERB_SAURONA_SEED 53 #define HERB_SCARTH_WOOD_NODE 54 #define HERB_SHA_AMBER 55 #define HERB_SILVERWEED_SAP 56 #define HERB_SILVIO_SEED 57 #define HERB_SMART_SHELL 58 #define HERB_SOO_AMBER 59 #define HERB_SPLINTER_SHELL 60 #define HERB_TAMA_WOOD 61 #define HERB_TANSY_WOOD_NODE 62 #define HERB_VISC_SAP 63 #define HERB_YANA_WOOD_NODE 64 #define HERB_ZUN_AMBER 65 #define HERB_YEW_WOOD_NODE 66 #define MAX_HERBS 66 #define VERY_COMMON 1 #define COMMON 2 #define UNCOMMON 3 #define RARE 4 #define VERY_RARE 5 #define MAX_RARITY 5 #define ECOSYSTEM_ARID 1 #define ECOSYSTEM_FOREST 2 #define ECOSYSTEM_DESERT 3 #define ECOSYSTEM_OCEAN 4 #define ECOSYSTEM_MOUNTIANS 5 #define ECOSYSTEM_HILLS 6 #define ECOSYSTEM_SWAMP 7 #define ECOSYSTEM_CITY 8 #define ECOSYSTEM_SNOW 9 #define ECOSYSTEM_GRASS 10 #define MAX_ECOSYSTEM 10 char *return_commonality args ((int x)); char *return_ecosystem args ((int x)); int return_herb_number args ((const char *name)); OBJ_DATA *create_herb_object args ((int herb)); struct herbs_type { char *name; int commonality; int ecosystem; }; struct ecosystem_type { int level_1; int level_2[2]; int level_3[4]; char *name; }; extern const struct herbs_type herbs_table[]; extern const struct ecosystem_type ecosystem_table[];