Skip to Content
The Alchemy Project

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

NameDescription
Sint16itemthe material
Sint16conditionFORGE_CONDITION
Sint16results [8]the items it may become, ended by 0 when fewer
Sint16weights [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

FORGE_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