version 1.5 | | version 1.6 |
---|
| | |
/* 'recipe' and 'recipelist' are used by the alchemy code */ | | /* 'recipe' and 'recipelist' are used by the alchemy code */ |
typedef struct recipestruct { | | typedef struct recipestruct { |
char *title; /* distinguishing name of product */ | | const char *title; /* distinguishing name of product */ |
char *arch_name; /* the archetype of the final product made */ | | const char *arch_name; /* the archetype of the final product made */ |
int chance; /* chance that recipe for this item will appear | | int chance; /* chance that recipe for this item will appear |
* in an alchemical grimore */ | | * in an alchemical grimore */ |
int diff; /* alchemical dfficulty level */ | | int diff; /* alchemical dfficulty level */ |
| | |
int yield; /* The maximum number of items produced by the recipe */ | | int yield; /* The maximum number of items produced by the recipe */ |
linked_char *ingred; /* comma delimited list of ingredients */ | | linked_char *ingred; /* comma delimited list of ingredients */ |
struct recipestruct *next; | | struct recipestruct *next; |
char *keycode; /* keycode needed to use the recipe */ | | const char *keycode; /* keycode needed to use the recipe */ |
char *skill; /* skill name used to make this recipe */ | | const char *skill; /* skill name used to make this recipe */ |
char *cauldron; /* the arch of the cauldron/workbench used to house the | | const char *cauldron; /* the arch of the cauldron/workbench used to house the |
* formulae. */ | | * formulae. */ |
} recipe; | | } recipe; |
| | |