-
Notifications
You must be signed in to change notification settings - Fork 10
Teh's Core Mod: Content Packs: Recipes
TehPers edited this page Feb 19, 2019
·
5 revisions
Note: This may change before the initial release of TCM.
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 | (Optional) The name of the recipe. Your localization files will be used if possible. If not specified, the name of the first result will be used instead. |
| IsCrafting | boolean | (Optional) Whether this recipe is a cooking recipe. Default is false |
| 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