How to rewrite only part of the recipe.json

hello I am looking to change a line only of the file : stonehearth\jobs\carpenter\recipes\recipes.json

to change the category of “log_pile”

to put it like that

“pile”: {
“ordinal”: 101,
“name”: “Piles”,
“recipes”: {
“log_pile”: {
“recipe”: “file(log_pile_recipe.json)”
}

can you help me

Use a mixinto.

i now but how

You want to change the recipe place?
First you add it to the new place as you would with any other new recipe. Now you will have the recipe listed in two categories.
Second you need to use a Mixintypes to remove the recipe from the old category.

I managed to create a new one but I can not remove the old one
here is the manifest.json


{
“info” : {
“name” : “Age_of_Giant-Clay_Pile”,
“namespace” : “age_of_giant-clay_pile”,
“version” : 4,
“steam_file_id” : “1375122306”
},
“default_locale” : “en”,
“aliases” :{
“pile:xl_clay_pile”: “file(entities/xl_clay_pile/)”
},
“mixintos” : {
“stonehearth/jobs/potter/recipes/recipes.json”: “file(mixins/potter_recipes.json)”,

	},
"overrides" : {},
"components" : {},
"controllers" : {}

}

What have you done to remove the old? Have you tried the mixintype?

yes but everything but attempt did not work

the example is not very understandable
can you vulgarize (I am not English)

This is how the game removes the winter outfit from the weaver recipes list, you can use it as an example:

  {
     "craftable_recipes": {
        "clothing_armor": {
           "recipes": {
              "mixintypes": {
                 "worker_outfit_winter": "remove"
              }
           }
        }
     }
  }

(taken from Mixintypes , it has all you need there)

in my manifest.json I place it where

My Manifest

{
“info” : {
“name” : “Age_of_Giant-Clay_Pile”,
“namespace” : “age_of_giant-clay_pile”,
“version” : 6,
“steam_file_id” : “1375122306”
},
“default_locale” : “en”,
“aliases” :{
“pile:xl_clay_pile”: “file(entities/xl_clay_pile/)”
},
“mixintos” : {
“stonehearth/jobs/potter/recipes/recipes.json”: “file(mixins/potter_recipes.json)”,

	},
"overrides" : {},
"components" : {},
"controllers" : {}

}


I tried this and it does not work


{
“info” : {
“name” : “Age_of_Giant-Clay_Pile”,
“namespace” : “age_of_giant-clay_pile”,
“version” : 5,
“steam_file_id” : “1375122306”
},
“default_locale” : “en”,
“aliases” :{
“pile:xl_clay_pile”: “file(entities/xl_clay_pile/)”
},
“mixintos” : {
“stonehearth/jobs/potter/recipes/recipes.json”: “file(mixins/potter_recipes.json)”,
“craftable_recipes”: {
“storage”: {
“recipes”: {
“mixintypes”: {
“clay_pile”: “remove”
}
}
}
}
},
“overrides” : {},
“components” : {},
“controllers” : {}
}

You are misunderstand the manifest flow and the required files you need to mod. Please visit the modding guide as suggested before:

https://stonehearth.github.io/modding_guide/index.html

It will help a lot.

1 Like