1 | /* |
1 | /* |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
3 | * |
3 | * |
4 | * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
4 | * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
5 | * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
6 | * Copyright (©) 1992,2007 Frank Tore Johansen |
6 | * Copyright (©) 1992,2007 Frank Tore Johansen |
7 | * |
7 | * |
8 | * Deliantra is free software: you can redistribute it and/or modify |
8 | * Deliantra is free software: you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by |
9 | * it under the terms of the GNU General Public License as published by |
… | |
… | |
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 */ |