Project Zomboid

Project Zomboid

[B42] Homemade Things
nnve  [developer] 5 Feb @ 3:59pm
How to manually disable recipes
1. Open your favorite code editor. If you dont have any, my recommendation for Windows is to use Notepad++: https://notepad-plus-plus.org
Its free, lightweight, open source, and even has portable version available.
2. Go to the Homemade Things mod directory. It should be located in: "SteamLibrary\steamapps\workshop\content\108600\3391325510". Inside go to subfolder "mods\HomemadeThings\42\media\scripts".
3. Open the file "hmt_recipes.txt" with your preferred code editor.
4. Take a moment to examine the order in which the recipes (craftRecipe) are written. You dont have to understand how every line works - the most important is that you can see where each recipe starts and ends, with "{" and "}" symbols. There is also an empty space added between each recipe, to make it more clear.
5. To prevent specific recipe from appearing in the game, we need to use the symbols designed for making comments in the code, which are "/*" (opening the comment section) and "*/" (closing comment section).
6. All you need to do, is to simply add "/*" before the specific craftRecipe section, and add "*/" just after where the craftRecipe section ends.
Example:
/* craftRecipe Train Knapping { Time = 300, needTobeLearn = false, xpAward = FlintKnapping:40, tags = InHandCraft, category = Survival, timedAction = CraftWeapon1H, inputs { item 1 tags[Mallet;Hammer;KnappingTool] mode:keep flags[MayDegradeLight;Prop2], item 1 [Base.Limestone;Base.Stone2;Base.SharpedStone;Base.FlintNodule] flags[Prop1], } outputs { } } */

7. Do the same for every specific craftRecipe that you dont want to appear in the game.
8. Save the file, close your code editor, and enjoy the game!
Last edited by nnve; 5 Feb @ 4:04pm