… | |
… | |
23 | |
23 | |
24 | /* 'recipe' and 'recipelist' are used by the alchemy code */ |
24 | /* 'recipe' and 'recipelist' are used by the alchemy code */ |
25 | typedef struct recipestruct |
25 | typedef struct recipestruct |
26 | { |
26 | { |
27 | shstr title; /* distinguishing name of product */ |
27 | shstr title; /* distinguishing name of product */ |
|
|
28 | //TODO: the next two should be a shstr vector |
28 | size_t arch_names; /* the size of the arch_name[] array */ |
29 | size_t arch_names; /* the size of the arch_name[] array */ |
29 | char **arch_name; /* the possible archetypes of the final product made */ |
30 | char **arch_name; /* the possible archetypes of the final product made */ |
30 | int chance; /* chance that recipe for this item will appear |
31 | int chance; /* chance that recipe for this item will appear |
31 | * in an alchemical grimore */ |
32 | * in an alchemical grimore */ |
32 | int diff; /* alchemical dfficulty level */ |
33 | int diff; /* alchemical dfficulty level */ |