--- deliantra/server/include/recipe.h 2006/08/29 08:01:36 1.2 +++ deliantra/server/include/recipe.h 2006/09/03 14:33:48 1.3 @@ -1,6 +1,6 @@ /* 'recipe' and 'recipelist' are used by the alchemy code */ typedef struct recipestruct { - const char *title; /* distinguishing name of product */ + shstr title; /* distinguishing name of product */ size_t arch_names; /* the size of the arch_name[] array */ char **arch_name; /* the possible archetypes of the final product made */ int chance; /* chance that recipe for this item will appear @@ -13,9 +13,9 @@ int yield; /* The maximum number of items produced by the recipe */ linked_char *ingred; /* comma delimited list of ingredients */ struct recipestruct *next; - const char *keycode; /* keycode needed to use the recipe */ - const char *skill; /* skill name used to make this recipe */ - const char *cauldron; /* the arch of the cauldron/workbench used to house the + shstr keycode; /* keycode needed to use the recipe */ + shstr skill; /* skill name used to make this recipe */ + shstr cauldron; /* the arch of the cauldron/workbench used to house the * formulae. */ } recipe;