struct FORGE_RECIPE
What the forge makes of one material: one of its results, by weight out of 100. More…
Declared in shop_internal.h.
Fields
| Name | Description | |
|---|---|---|
Sint16 | item | the material |
Sint16 | condition | FORGE_CONDITION |
Sint16 | results [8] | the items it may become, ended by 0 when fewer |
Sint16 | weights [8] | each result's chance, in percent |
Description
What the forge makes of one material: one of its results, by weight out of 100. A rusted weapon has one result.
struct FORGE_RECIPE
Referenced by ForgeRecipes, mnForgeFindRecipe(), mnForgeGetItemCondition() and mnForgeRollResult().
Definition at line 167 of file shop_internal.h.
Fields in detail
item
Sint16 item
the material
condition
Sint16 condition
results
Sint16 results[8]
the items it may become, ended by 0 when fewer
weights
Sint16 weights[8]
each result's chance, in percent