How Herblore works

How Herblore works

Demo 0.11.2

How it works

Brewing

  1. A brew prepares for Preparing interval, heats for Heating interval and stirs for Stirring interval, then bottles 10 times, each bottle taking Bottling interval.
  2. Only bottling costs: each bottle needs the full Item cost and Currency cost, spent unless Input Preservation Chance keeps them, or brewing stops.
  3. Each bottle pays one product, the first Products entry in ascending chance whose running total of chances reaches a roll from 0 to 1, doubled with Output Doubling Chance, and XP.
  4. After the tenth bottle the brew starts again with preparing. Stopping resets the brew.

Formulas

Base item cost
Recipe ingredients items
Base currency cost
Recipe ingredients currencies
Item cost
Quantitymax(1, trunc(Base item cost quantity × (1 + Input Cost)))
Currency cost
Quantitymax(1, trunc(Base currency cost quantity × (1 + Input Cost)))
Base products
Recipe products
Products
Quantitytrunc(max(1, (Base products quantity + Output Quantity (Flat)) × (1 + Percent product quantity)))
Base experience
Recipe base experience
Preparing interval
floor(Recipe base preparing interval × (1 + Preparing Interval (%)) + Preparing Interval (Flat))
Heating interval
floor(Recipe base heating interval × (1 + Heating Interval (%)) + Heating Interval (Flat))
Stirring interval
floor(Recipe base stirring interval × (1 + Stirring Interval (%)) + Stirring Interval (Flat))
Bottling interval
floor(Recipe base bottling interval × (1 + Percent bottling interval) + Bottling Interval (Flat))

Modifiers

ModifierGranted by
Output Doubling ChanceYour chance to double the output
Input Preservation ChanceYour chance to preserve the input
Output Quantity (Flat)Adjustment to the output quantity (Cannot be doubled)None in the demo
Percent product quantityThe adjustment to the base Product quantityNone in the demo
Input CostAdjustment to the input costNone in the demo
Preparing Interval (Flat)Global flat action intervalNone in the demo
Preparing Interval (%)Global percent action interval
Heating Interval (Flat)Global flat action intervalNone in the demo
Heating Interval (%)Global percent action intervalNone in the demo
Stirring Interval (Flat)Global flat action intervalNone in the demo
Stirring Interval (%)Global percent action intervalNone in the demo
Bottling Interval (Flat)Global flat action intervalNone in the demo
Percent bottling intervalGlobal percent action intervalNone in the demo