Modding:Content Tutorial Further Recipes: Difference between revisions

From Vintage Story Wiki
m
no edit summary
m (Added barrel recipe and disclaimer.)
mNo edit summary
Line 83: Line 83:


Liquids can also be included in the output in an identical fashion to the above example. This will automatically place the liquid output in the barrel.
Liquids can also be included in the output in an identical fashion to the above example. This will automatically place the liquid output in the barrel.
The following is the full code for the agedlog barrel recipe.
{| class="wikitable mw-collapsible mw-collapsed"
!agedlog.json
|-
|<syntaxhighlight lang="json">
{
  "code": "aged-log",
  "sealHours": 48,
  "ingredients": [
    {
      "type": "item",
      "code": "game:waterportion",
      "litres": 1,
      "consumeLitres": 1
    },
    {
      "type": "block",
      "code": "game:log-placed-*-ud",
  "name": "wood",
      "quantity": 1
    }
  ],
  "output": {
    "type": "block",
    "code": "game:log-placed-aged-ud",
    "quantity": 1
  }
}
</syntaxhighlight>
|}
== Clayforming Recipes ==


== Conclusion ==
== Conclusion ==
Confirmedusers
538

edits