Fermenting recipes
This commit is contained in:
@@ -46,6 +46,10 @@ Juices from different items are different fluids, so they never share a bottle o
|
||||
[juicing recipe](../resources/recipes.md#juicing-bworldjuicing) for every item with the component, which is what the
|
||||
juicer goes by.
|
||||
|
||||
Juice ferments into wine, `bworld:wine`, which keeps the item in its data and is named and colored after it the same
|
||||
way, "Strawberry Wine". The base game makes a [fermentable recipe](../resources/recipes.md#fermenting-bworldfermentable)
|
||||
for every juice.
|
||||
|
||||
Juice sells for 1.2 times the items it took to make, rounded up, so it's always worth juicing something. A bottle of
|
||||
juice from an item worth 30 that makes 200 mB took 1.25 of them, and sells for 45. Juice from an item without a
|
||||
`base_sell_value` can't be sold.
|
||||
|
||||
@@ -108,6 +108,27 @@ juice. It's checked when the server starts, like stonecutting:
|
||||
`input` is an item, a `#tag` or a list of them, and `fluid_results` is one fluid, with an amount in mB, that one of it
|
||||
makes. The juicer uses the first recipe that takes the item.
|
||||
|
||||
## Fermenting: `bworld:fermentable`
|
||||
|
||||
A fluid that ferments into another over time, like juice into wine. The base game registers one from its
|
||||
[shared script](#recipes-from-scripts) for every [juice](../items/food.md#juice), into wine from the same item. A file
|
||||
can add one for anything else. It's checked when the server starts, like juicing:
|
||||
|
||||
```json
|
||||
{
|
||||
"format_version": 1,
|
||||
"recipe": {
|
||||
"type": "bworld:fermentable",
|
||||
"input": { "fluid": { "id": "copper_tools:syrup", "data": { "tree": "bworld:maple" } }, "amount": 1000 },
|
||||
"output": { "fluid": { "id": "copper_tools:maple_liqueur" }, "amount": 500 },
|
||||
"ticks": 2400
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
`input` and `output` are each a fluid with an amount in mB: that much of the input ferments into that much of the
|
||||
output. `ticks` is how long it takes, 20 to a second.
|
||||
|
||||
## Choices
|
||||
|
||||
Anywhere a recipe takes an item (`key` values, `input`, `item`), an item [tag](tags.md) means anything in it fits, and
|
||||
|
||||
Reference in New Issue
Block a user