Search
No results
How Cooking works
Demo 0.11.2How it works
Cooking attempt
- Each attempt takes Interval and succeeds with Success chance.
- An attempt needs the full Item cost and Currency cost; without them Cooking stops.
- The ingredients are kept with Input Preservation Chance, or after a failed attempt with Input Preservation Chance on Failure; otherwise they are spent.
- A success pays one product: a roll from 0 to 1 picks the first Products entry, in ascending chance, whose running total of chances reaches the roll. Its quantity doubles with Output Doubling Chance. The success then pays XP.
- A failure pays no product and no XP.
Formulas
- Base item cost
Recipe ingredients items- Base currency cost
Recipe ingredients currencies- Item cost
- Quantity
max(1, trunc(Base item cost quantity × (1 + Input Cost))) - Currency cost
- Quantity
max(1, trunc(Base currency cost quantity × (1 + Input Cost))) - Base products
Recipe products- Products
- Quantity
trunc(max(1, (Base products quantity + Flat product quantity) × (1 + Percent product quantity))) - Base experience
Recipe base experience- Interval
floor(Recipe base interval × (1 + Interval (%)) + Interval (Flat))- Proficiency
max(0, Level + Proficiency (Flat))- Difficulty
max(Recipe difficulty + Flat difficulty, 0)- Success chance
clamp((69 + Proficiency) ÷ (69 + Difficulty), 0, 1)
Modifiers
| Modifier | Granted by |
|---|---|
| Output Doubling ChanceYour chance to double the output |
|
| Input Preservation ChanceYour chance to preserve the input |
|
| Flat product quantity | None in the demo |
| Percent product quantity |
|
| Input CostAdjustment to the input cost | None in the demo |
| Interval (Flat)The adjustment to the base intervalGlobal flat action interval | None in the demo |
| Interval (%)The adjustment to the base intervalGlobal percent action interval | None in the demo |
| Proficiency (Flat)Adjustment to your proficiency |
|
| Flat difficulty | None in the demo |
| Input Preservation Chance on FailureYour chance to preserve the input when failing to cook |
|