-
Notifications
You must be signed in to change notification settings - Fork 11
Teh's Core Mod: Content Packs: Recipes
TehPers edited this page Feb 3, 2019
·
5 revisions
By adding a "Recipes" section to the content file, new recipes can be created:
{
"recipes": [
{
"name": "Transmute Candy -> Diamond",
"ingredients": [
{ "id": "candy", "quantity": 10 }
],
"results": [
{ "id": 72, "type": "object", "quantity": 2 }
]
}
]
}
Name | Type | Description |
---|---|---|
Name | string | The name of the recipe. Your localization files will be used if possible. |
Ingredients | part[] | The ingredients required to make this recipe. |
Results | part[] | The items created by this recipe. (You may specify multiple results) |
Each ingredient and result has one of these two formats:
Name | Type | Description |
---|---|---|
ID | integer | The ID of the item. |
Quantity | integer | The quantity of the item. |
Type | string | The type of the item: "object" , "bigCraftable" , "weapon" , or "hat"
|
Name | Type | Description |
---|---|---|
ID | string | The name of the item. Items from other mods can be referenced with the format <mod unique ID>:<item name> . |
Quantity | integer | The quantity of the item. |
Work in progress