Grain mill

Grain mill

Demo 0.11.2

How it works

Milling

  1. While a recipe is selected, each cycle of Interval removes its Item cost from the mill's own inventory, not from the bank.
  2. The cycle pays Product and XP. The mill does not roll Doubling chance or Preservation chance and does not charge Currency cost.
  3. When the mill inventory cannot pay the next cycle, the mill stops.
  4. Each item in the mill inventory holds at most Max stack quantity.

Game messages

The Mill has stopped producing due to lack of resources.

After a cycle the mill's own storage cannot pay the next Item cost. The mill stops.

The Mill can only operate using Items stored inside it.

Each cycle takes its Item cost from the mill's storage; grain in the bank is not used until you move it in.

Items are deposited to your Bank automatically.

Each cycle's Product goes straight into the bank. A product that finds no room there is lost.

Stop the Mill & Collect before changing product.

The selected product cannot be changed while the mill runs.

Formulas

Base experience
Recipe base experience
Base item cost
Recipe ingredients items
Base currency cost
Recipe ingredients currencies
Item cost
Quantitymax(1, trunc(Base item cost quantity × (1 + Percent ingredient cost)))
Currency cost
Quantitymax(1, trunc(Base currency cost quantity × (1 + Percent ingredient cost)))
Product
Quantitymax(1, trunc((Recipe product quantity + Flat product quantity) × (1 + Percent product quantity)))
Interval
floor((Component base grain mill interval + Flat interval) × (1 + Percent interval))

Modifiers

ModifierGranted by
Doubling chanceNone in the demo
Preservation chanceNone in the demo
Flat product quantityNone in the demo
Percent product quantity
Percent ingredient costNone in the demo
Flat intervalGlobal flat action intervalNone in the demo
Percent intervalGlobal percent action intervalNone in the demo