Tractor Mod

Tractor Mod

130k Downloads

[Automate] Support content packs

Pathoschild opened this issue ยท 2 comments

commented

Add support for Automate content packs which could add custom machines or recipes.

commented

Possible automate.json with an example furnace recipe:

{
   "Format": "1.0",
   "Machines": [
      {
         "Type": "BigCraftable",
         "ParentSheetIndex": 13, // furnace
         "Recipes": [
            {
               "Input": [
                  { "Type": "Object", "ParentSheetIndex": 378, "Count": 10 }, // copper ore
                  { "Type": "Object", "ParentSheetIndex": 382 } // coal
               ],
               "Output": { "Type": "Object", "ParentSheetIndex": 334 }, // copper bar
               "Minutes": 30
            }
         ]
      }
   ]
}

You can also replace the input/output ParentSheetIndex with Category (though note you can't have dynamic output like fruit => <fruit name> Wine).

commented

This will be addressed by the Automate API (#119) instead.