Get Recipes
|
This endpoint is included in the getAll endpoint. |
|
This endpoint runs in game thread. |
Get information about all recipes.
Response Body
| Name | Type | Description |
|---|---|---|
ID |
String |
Unique ID of the Recipe. |
Name |
String |
Name of the Recipe. |
ClassName |
String |
ClassName of the Recipe. |
Category |
String |
Category of the Recipe. |
ManualDuration |
Float |
The manual manufacturing duration for this recipe. |
FactoryDuration |
Float |
The base manufacturing duration for this recipe. |
Events |
String[] |
Event when the schematic is active. Possible Events: |
ProducedIn |
String[] |
ClassName where the item can be produced (e.g. BP_BuildGun_C for the Build Gun). |
Ingredients |
Object[] |
Ingredients for this recipe. |
Name |
String |
Name of the item. |
ClassName |
String |
Class Name of the item. |
Amount |
Integer |
Amount of the item. |
MaxAmount |
Integer |
Stack size of the item. |
ManualRate |
Float |
TODO |
FactoryRate |
Float |
TODO |
Products |
Object[] |
Products produced by this recipe. |
Name |
String |
Name of the item. |
ClassName |
String |
Class Name of the item. |
Amount |
Integer |
Amount of the item. |
MaxAmount |
Integer |
Stack size of the item. |
ManualRate |
Float |
TODO |
FactoryRate |
Float |
TODO |
Example Response
This example includes only two recipes to showcase the structure of the endpoint.
[
{
"ID": "Recipe_Fence_01_C",
"Name": "Industrial Railing",
"ClassName": "Recipe_Fence_01_C",
"Category": "N/A",
"Events": [],
"Ingredients": [
{
"Name": "Iron Rod",
"ClassName": "Desc_IronRod_C",
"Amount": 4,
"MaxAmount": 200,
"ManualRate": 240,
"FactoryRate": 240
}
],
"Products": [
{
"Name": "Industrial Railing",
"ClassName": "Desc_Fence_01_C",
"Amount": 1,
"MaxAmount": 100,
"ManualRate": 60,
"FactoryRate": 60
}
],
"ProducedIn": [
"BP_BuildGun_C"
],
"ManualDuration": 1,
"FactoryDuration": 1
},
{
"ID": "Recipe_Wall_Window_8x4_03_Steel_C",
"Name": "Panel Window",
"ClassName": "Recipe_Wall_Window_8x4_03_Steel_C",
"Category": "N/A",
"Events": [],
"Ingredients": [
{
"Name": "Iron Plate",
"ClassName": "Desc_IronPlate_C",
"Amount": 3,
"MaxAmount": 200,
"ManualRate": 180,
"FactoryRate": 180
},
{
"Name": "Concrete",
"ClassName": "Desc_Cement_C",
"Amount": 3,
"MaxAmount": 500,
"ManualRate": 180,
"FactoryRate": 180
}
],
"Products": [
{
"Name": "Panel Window",
"ClassName": "Desc_Wall_Window_8x4_03_Steel_C",
"Amount": 1,
"MaxAmount": 100,
"ManualRate": 60,
"FactoryRate": 60
}
],
"ProducedIn": [],
"ManualDuration": 1,
"FactoryDuration": 1
}
]