Skip to content

Instantly share code, notes, and snippets.

@TrashboxBobylev
Last active May 9, 2019 14:44
Show Gist options
  • Save TrashboxBobylev/ff4dcd9a8a470e49b36b59fe857439ed to your computer and use it in GitHub Desktop.
Save TrashboxBobylev/ff4dcd9a8a470e49b36b59fe857439ed to your computer and use it in GitHub Desktop.
TerraTweaker tasks documentation
{
"task": "addRecipe",
"content": {
"result": { //Here you describe recipe result
"id": "DirtBlock", //Text ID of item, look on terraria.gamepedia.com/Item_IDs for "internal names" of stuffs
"count": 45, //Quantity of recipe result,
"mod": null //Optional field, contains mod file name, from which you take item; if not present, TerraTweaker will take item from vanilla instead
},
"ingredients": [//Here you describe recipe ingredients, this is array
{
"id": "DirtBlock", //Text ID of item, look on [terraria.gamepedia.com/Item_IDs](Item IDs) for "internal names" of stuffs
"count": 45, //Quantity of recipe ingredient,
"mod": null, //Optional field, contains mod file name, from which you take item; if not present, TerraTweaker will take item from vanilla instead
"recipeGroup": null //Optional field, contain recipe group for recipe ingredient
}
],//Array length must be shorter, that 14,
"tiles":[ //Here you describe required tiles, this is array
{"id": "Workbenches", //Text ID of tile, look on [terraria.gamepedia.com/Tile_IDs](Tile IDs) for "internal names" of stuffs
"mod": null //Optional field, contains mod file name, from which you take tile; if not present, TerraTweaker will take tile from vanilla instead,
}
]//These also must be shorter, that 14
}
{
"task": "removeRecipe",
"content": {
"target": { //Here you describe target item to remove all their recipes
"id": "DirtBlock", //Text ID of item, look on terraria.gamepedia.com/Item_IDs for "internal names" of stuffs
"count": 45, //Quantity of recipe result,
"mod": null //Optional field, contains mod file name, from which you take item; if not present, TerraTweaker will take item from vanilla instead
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment