Crossfire Server, Branch 1.12  R12190
Data Fields
recipestruct Struct Reference

One alchemy recipe. More...

#include <recipe.h>

Collaboration diagram for recipestruct:
Collaboration graph
[legend]

Data Fields

char ** arch_name
 Possible archetypes of the final product made.
size_t arch_names
 Size of the arch_name[] array.
const char * cauldron
 Skill name used to make this recipe.
int chance
 Chance that recipe for this item will appear in an alchemical grimore.
int diff
 Alchemical dfficulty level.
int exp
 How much exp to give for this formulae.
int index
 Index value derived from formula ingredients.
linked_charingred
 List of ingredients.
const char * keycode
 Optional keycode needed to use the recipe.
struct recipestructnext
 Next recipe with the same number of ingredients.
const char * skill
const char * title
 Distinguishing name of product.
int transmute
 If defined, one of the formula ingredients is used as the basis for the product object.
int yield
 Maximum number of items produced by the recipe.

Detailed Description

One alchemy recipe.

Definition at line 10 of file recipe.h.


Field Documentation

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().

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().

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().

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().

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().

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().

const char* recipestruct::skill
const char* recipestruct::title

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().

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().


The documentation for this struct was generated from the following file: