(Advanced) Create custom recipes files
You can create your own custom recipes by creating new JSON file inside Custom Recipes folder (e.g. MyCustomRecipes.json).
JSON.Net is lenient in JSON file specs, you can have comments and trailing commas in the file.
JSON File Structure
JSON file with some explanations:[
Basically, your file contain an array of CustomRecipe objects.
{
//Start of recipe block
//craft category (where you can craft them)
"CraftCategoryID": "Drug", //or you can write it as 8 (number)
//result item id
"ResultItemID": 2156, //also can be written as "Item_Kin" (enum, with double quotes)
//ingredient for the recipe, you can put maximum 6 item here
//this field also can be written in 1 line to "IngredientItemIDs": [2155, 2155]
"IngredientItemIDs": [
"Item_Gin",
"Item_Gin",
],
//when the recipe released (unlocked)
//this field is optional, if not written, the recipe always unlocked
"RecipeReleaseID": "Recipe_Drag_1_L",
//skill level needed to craft without RP penalties
//optional field, default to 5 if not writeen
//usually the RP needed will be SkillLevel * 2
"SkillLevel": 25,
//skill needed aside from craft/smith/mix/cook skills
//currently unused
//you can also not write this, default to "SKILL_FARM"
//as it only needed for farm tool crafting
"SkillUnlockID": "SKILL_MIX",
},
{
//another recipe block
},
{
//also another recipe block and so on
},
]
CustomeRecipe object
CustomRecipe contain these properties:

List of CraftCategoryId values
List of ItemID values
List of RecipeRelease values
Custom JSON file example
[
{
"CraftCategoryID": "Drug",
"ResultItemID": "Item_Kin",
"IngredientItemIDs": [
"Item_Gin",
"Item_Gin"
],
"RecipeReleaseID": "Recipe_Drag_1_L",
"SkillLevel": 25,
"SkillUnlockID": "SKILL_MIX"
},
{
"CraftCategoryID": 8,
"ResultItemID": 2157,
"SkillLevel": 25,
"IngredientItemIDs": [
2156,
2156
]
},
{
"CraftCategoryID": 8,
"ResultItemID": 2154,
"IngredientItemIDs": [
2152,
2152
]
}
]
First recipe is recipe to create Gold using 2 Silvers, most values are enum string. Second recipe is recipe to create Platinum using 2 Golds, all values are int.
Third recipe is recipe to create Bronze using 2 Irons, created with only the required parameters.
0 comments