Stedera Posted September 16, 2025 Report Posted September 16, 2025 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!
Krougal Posted September 16, 2025 Report Posted September 16, 2025 (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 September 16, 2025 by Krougal
Stedera Posted September 16, 2025 Author Report Posted September 16, 2025 (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 September 16, 2025 by Stedera
Krougal Posted September 16, 2025 Report Posted September 16, 2025 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.
Stedera Posted September 16, 2025 Author Report Posted September 16, 2025 Okay, I got it, my folders were wrong, thank you!
Recommended Posts