New Recipe not showing up in craftingbench

Im trying to make a new recipe but I cant get it to show up in the craftingbench for some reason.
Solution:
If you check out the schema you'll see some example values for ProducedIn, you may want to think about BP_WorkshopComponent https://raw.githubusercontent.com/budak7273/ContentLib_Documentation/refs/heads/main/JsonSchemas/CL_Recipe.json...
Jump to solution
19 Replies
Rex
Rex•5d ago
What did you put in mProducedIn?
RoosterLion
RoosterLionOP•5d ago
this is the code im trying to use lol
Rex
Rex•5d ago
Please use a code block
Rex
Rex•5d ago
Like this but use json instead of cpp
No description
RoosterLion
RoosterLionOP•5d ago
{
"$schema": "https://raw.githubusercontent.com/budak7273/ContentLib_Documentation/refs/heads/main/JsonSchemas/CL_Recipe.json",
"Name": "New Efficient Iron Plate",
"Ingredients": [
{
"Item": "Desc_IronIngot",
"Amount": 1
}
],
"Products": [
{
"Item": "Desc_IronPlate",
"Amount": 10
}
],
"ManufacturingDuration": 4.0,
"ProducedIn": ["Build_ConstructorMk1_C","FGBuildableAutomatedWorkBench"],
"OverrideCategory": "Cat_StandardParts_C",
"ManufacturingMenuPriority": 0.0,
"UnlockedBy": ["Schematic_StartingRecipes_C"],
"ManualManufacturingDuration":2.0,
"VariablePowerConsumptionConstant": 0.0,
"VariablePowerConsumptionFactor": 1.0,
"ClearIngredients": true,
"ClearProducts": true,
"ClearBuilders": false
}
{
"$schema": "https://raw.githubusercontent.com/budak7273/ContentLib_Documentation/refs/heads/main/JsonSchemas/CL_Recipe.json",
"Name": "New Efficient Iron Plate",
"Ingredients": [
{
"Item": "Desc_IronIngot",
"Amount": 1
}
],
"Products": [
{
"Item": "Desc_IronPlate",
"Amount": 10
}
],
"ManufacturingDuration": 4.0,
"ProducedIn": ["Build_ConstructorMk1_C","FGBuildableAutomatedWorkBench"],
"OverrideCategory": "Cat_StandardParts_C",
"ManufacturingMenuPriority": 0.0,
"UnlockedBy": ["Schematic_StartingRecipes_C"],
"ManualManufacturingDuration":2.0,
"VariablePowerConsumptionConstant": 0.0,
"VariablePowerConsumptionFactor": 1.0,
"ClearIngredients": true,
"ClearProducts": true,
"ClearBuilders": false
}
Sorry about that
Rex
Rex•5d ago
Where did you get that ManualManufacturingDuration from? It's not in the schema.
RoosterLion
RoosterLionOP•5d ago
oh I set it to that.. is that a bad thing?
Solution
Rex
Rex•5d ago
If you check out the schema you'll see some example values for ProducedIn, you may want to think about BP_WorkshopComponent https://raw.githubusercontent.com/budak7273/ContentLib_Documentation/refs/heads/main/JsonSchemas/CL_Recipe.json
RoosterLion
RoosterLionOP•5d ago
Oh ok let me try that out thank you so much!
Rex
Rex•5d ago
If you are using a good editor, it'll tell you that you're doing something wrong
No description
RoosterLion
RoosterLionOP•5d ago
Ok ill fix that
Rex
Rex•5d ago
I hope "that" also includes "your editor" :wonke: It's so much easier to work with CL JSON when your editor knows about the schemas
RoosterLion
RoosterLionOP•5d ago
I use this is it not good?
No description
Rex
Rex•5d ago
That's not VSCode
Robb
Robb•5d ago
no, visual studio does not have json schema support. vscode does
RoosterLion
RoosterLionOP•5d ago
oh ok ill get vscode
Robb
Robb•5d ago
Code 2020
YouTube
VS Code tips — JSON schemas for IntelliSense
Set the "$scheme" property in any json file to apply a schema to it. Schemas validate your json and provide IntelliSense while writing it. The "$schema" can be a local file or hosted on a website https://code.visualstudio.com/Docs/languages/json#_json-schemas-and-settings #vscode #json
Rex
Rex•5d ago
If it's not highlighting this warning then it's not good for JSON editing
RoosterLion
RoosterLionOP•5d ago
FIXED TYSM 🙂

Did you find this page helpful?