Crossfire Server, Branches 1.12
R18729
|
#include <recipe.h>
Data Fields | |
char ** | arch_name |
size_t | arch_names |
const char * | cauldron |
int | chance |
int | diff |
int | exp |
int | index |
linked_char * | ingred |
const char * | keycode |
struct recipestruct * | next |
const char * | skill |
const char * | title |
int | transmute |
int | yield |
char** recipestruct::arch_name |
Possible archetypes of the final product made.
Definition at line 13 of file recipe.h.
Referenced by alchemy_failure_effect(), attempt_do_alchemy(), check_formulae(), check_recipe(), dump_alchemy(), dump_alchemy_costs(), find_recipe(), find_transmution_ob(), CREUtils::formulaeNode(), free_all_recipes(), get_empty_formula(), init_formulae(), locate_recipe_artifact(), make_formula_book(), make_item_from_recipe(), and CREFormulaePanel::setRecipe().
size_t recipestruct::arch_names |
Size of the arch_name[] array.
Definition at line 12 of file recipe.h.
Referenced by alchemy_failure_effect(), check_recipe(), dump_alchemy(), dump_alchemy_costs(), find_transmution_ob(), CREUtils::formulaeNode(), get_empty_formula(), init_formulae(), make_formula_book(), and CREFormulaePanel::setRecipe().
const char* recipestruct::cauldron |
Skill name used to make this recipe. Arch of the cauldron/workbench used to house the formulae.
Definition at line 26 of file recipe.h.
Referenced by attempt_do_alchemy(), attempt_recipe(), check_formulae(), dump_alchemy(), free_all_recipes(), get_empty_formula(), init_formulae(), make_formula_book(), and CREFormulaePanel::setRecipe().
int recipestruct::chance |
Chance that recipe for this item will appear in an alchemical grimore.
Definition at line 14 of file recipe.h.
Referenced by dump_alchemy(), dump_alchemy_costs(), get_empty_formula(), get_random_recipe(), init_formulae(), make_formula_book(), and CREFormulaePanel::setRecipe().
int recipestruct::diff |
Alchemical dfficulty level.
Definition at line 16 of file recipe.h.
Referenced by attempt_do_alchemy(), calc_alch_danger(), dump_alchemy(), get_empty_formula(), init_formulae(), and CREFormulaePanel::setRecipe().
int recipestruct::exp |
How much exp to give for this formulae.
Definition at line 17 of file recipe.h.
Referenced by attempt_do_alchemy(), dump_alchemy(), get_empty_formula(), init_formulae(), and CREFormulaePanel::setRecipe().
int recipestruct::index |
Index value derived from formula ingredients.
Definition at line 18 of file recipe.h.
Referenced by attempt_do_alchemy(), check_formulae(), dump_alchemy(), find_recipe(), get_empty_formula(), and init_formulae().
linked_char* recipestruct::ingred |
List of ingredients.
Definition at line 22 of file recipe.h.
Referenced by dump_alchemy(), dump_alchemy_costs(), free_all_recipes(), get_empty_formula(), init_formulae(), is_defined_recipe(), make_formula_book(), and CREFormulaePanel::setRecipe().
const char* recipestruct::keycode |
Optional keycode needed to use the recipe.
Definition at line 24 of file recipe.h.
Referenced by attempt_recipe(), get_empty_formula(), and init_formulae().
struct recipestruct* recipestruct::next |
Next recipe with the same number of ingredients.
Definition at line 23 of file recipe.h.
Referenced by check_formulae(), dump_alchemy(), dump_alchemy_costs(), CREResourcesWindow::fillFormulae(), find_recipe(), free_all_recipes(), get_empty_formula(), get_random_recipe(), init_formulae(), and make_formula_book().
const char* recipestruct::skill |
Definition at line 25 of file recipe.h.
Referenced by attempt_do_alchemy(), attempt_recipe(), dump_alchemy(), dump_alchemy_costs(), free_all_recipes(), get_empty_formula(), init_formulae(), make_formula_book(), and CREFormulaePanel::setRecipe().
const char* recipestruct::title |
Distinguishing name of product.
Definition at line 11 of file recipe.h.
Referenced by attempt_do_alchemy(), attempt_recipe(), check_formulae(), check_recipe(), dump_alchemy(), dump_alchemy_costs(), find_recipe(), CREUtils::formulaeNode(), free_all_recipes(), get_empty_formula(), init_formulae(), locate_recipe_artifact(), make_formula_book(), make_item_from_recipe(), and CREFormulaePanel::setRecipe().
int recipestruct::transmute |
If defined, one of the formula ingredients is used as the basis for the product object.
Definition at line 19 of file recipe.h.
Referenced by find_recipe(), find_transmution_ob(), get_empty_formula(), and init_formulae().
int recipestruct::yield |
Maximum number of items produced by the recipe.
Definition at line 21 of file recipe.h.
Referenced by attempt_recipe(), dump_alchemy_costs(), get_empty_formula(), init_formulae(), and CREFormulaePanel::setRecipe().