Jump to content

Recommended Posts

Posted

How can I create a mod, which would for example double output of firewood recipe?
I stopped trying at
{
    "file": "game:recipes/grid/firewood.json",
    "op": "replace",
    "path": "/output/quantity",
    "value": 8
  }
which obviously does not work. Any help is much appreciated!

Posted (edited)

Try:

[
  {
    "op": "replace",
    "path": "/0/output/quantity",
    "value": 8,
    "file": "game:recipes/grid/firewood.json",
    "side": "Server"
  }
]

Unless you've got a syntax or formatting error or your folders are wrong, what you have should work; provided that isn't the entire file, you need the brackets.

Edited by Krougal
Posted (edited)
1 hour ago, Krougal said:

Try:

[
  {
    "op": "replace",
    "path": "/0/output/quantity",
    "value": 8,
    "file": "game:recipes/grid/firewood.json",
    "side": "Server"
  }
]

Unless you've got a syntax or formatting error or your folders are wrong, what you have should work; provided that isn't the entire file, you need the brackets.

Thanks for the suggestion, about folders, mine are assets/patches/game/recipes/grid/firewood.json

Edited by Stedera
Posted
5 minutes ago, Stedera said:

Thanks for the suggestion, about folders, mine are patches/game/recipes/grid/firewood.json

Oh, the game doesn't seem to like subfolders in patches.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.