Darklands alchemical formulae
Files with this format: "darkland.alc".
Contains descriptions, ingredients, and other values for alchemical formulae.
Table of Contents
Offsets
Structures
Offsets
-
0x00: num_formulae: byte = 0x42
- Number of formula definitions.
-
0x01: formula_definitions: array[ num_formulae ] of struct formula_definition (each size 0x68)
- Formula definitions.
Structures
Size 0x68.
A definition of an alchemical formula.
-
0x00: description: string(80)
- Text description of the formula.
- The last character is always a null, as is any unused space
-
0x50: mystic_number: word
- Mystic number (the base difficulty when mixing a new potion).
-
0x52: risk_factor: word
- Risk factor (when mixing a new potion).
-
0x54: ingredients: array[ 5 ] of struct ingredient (each size 4)
- Ingredients required to mix a potion.
- Ingredients are given in increasing item code value
- If fewer than 5 ingredients are needed, the remaining space in the array is filled with zeroes.
Size 4.
An ingredient (and quantity) for an alchemical formula.
-
0x00: quantity: word
- The amount of this ingredient needed.
-
0x02: item_code: word
- The item code of the ingredient.