Skip to content

Crafting Recipes

Crafting recipes define what items can be put together to create a new item. They also determine which machine/station can be used to do that.

Folder Structure

Recipes can be written in a json file. Crafting recipes must be under the "crafting" folder of your mod.

Folder Structure

  📂 AppData
  └── 📂 LocalLow
       └─── 📂 Bitten Toast Games
             └─── 📂 GardenPaws
                   └─── 📂 Mods
                         └─── 📂 Your_Mod_Folder
                               └──── 📁 crafting
                                      └─── 📄 Your_Recipe_File.json

Json Example

Here's what a crafting recipe json 📄 file would look like.

{
    "id" : "BrownDaisyBunch",
    "craftedFrom" : "Daisy : 5, Poop : 2",
    "craftingMachine" : "Workbench_1",
    "craftingCommand" : "Mush",
    "craftingRequires" : "",
    "base" : false
}

Json parameter descriptions.

Parameter Type 📝 Description
id string The Id for this Crafting Recipe. It should be the exact same ID as the item that it will create.
craftedFrom string Items that this recipe takes. Example: 'Daisy : 3, Poop : 1'. Maximum of 3 items.
craftingMachine string Crafting Machine ID needed to craft the item. If you're using one that already exists in the game look at our reference sheet to find its ID. If you leave it blank it can be crafted without a machine. The main workbench ID is Workbench_1
craftingCommand string What should the craft button say on the UI? For example things on the oven say Bake instead of Craft. If left blank it will say Craft
craftingRequires string Is this recipe locked behind an event? If there is an event id in this variable then the recipe won't show up in the crafting menu until that event happens.
craftingTime string How much time does this recipe take to craft? This value is only used if the crafting machine is a cooking type of machine.
base bool Should this item always be visible in crafting menus? This is only used in the base game for the main crafting resources like the wooden pole, wooden board, etc.

Comments