# Need help with getting follower crafting recipes to work from construction json files or taking any good advice how to implement it

**URL:** <https://discourse.cataclysmdda.org/t/need-help-with-getting-follower-crafting-recipes-to-work-from-construction-json-files-or-taking-any-good-advice-how-to-implement-it/29372>\
**Category:** The Drawing Board\
**Tags:** mod\
**Created:** [August 20, 2024, 8:33pm UTC](https://discourse.cataclysmdda.org/t/need-help-with-getting-follower-crafting-recipes-to-work-from-construction-json-files-or-taking-any-good-advice-how-to-implement-it/29372 "2024-08-20T20:33:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eidolon](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/eidolon/32/12913_2.png) [@Eidolon](https://discourse.cataclysmdda.org/u/Eidolon)\
**Post date:** [August 20, 2024, 8:33pm UTC](https://discourse.cataclysmdda.org/t/need-help-with-getting-follower-crafting-recipes-to-work-from-construction-json-files-or-taking-any-good-advice-how-to-implement-it/29372/1 "2024-08-20T20:33:36Z")

</div>

![Screenshot_20240820_125500_Jota+](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/8/8d8fc4e43e3157756a7e89dcba33d9502d7aacff.jpeg)  
 ![Screenshot_20240820_105903_Cataclysm DDA (experimental)](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/7/7fc771d219a0b727d3138345c6c4b8e3780f177e.jpeg)

---

<div class="post-metadata">

**Author:** ![Eidolon](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/eidolon/32/12913_2.png) [@Eidolon](https://discourse.cataclysmdda.org/u/Eidolon)\
**Post date:** [August 20, 2024, 10:16pm UTC](https://discourse.cataclysmdda.org/t/need-help-with-getting-follower-crafting-recipes-to-work-from-construction-json-files-or-taking-any-good-advice-how-to-implement-it/29372/2 "2024-08-20T22:16:50Z")

</div>

Fixed it but i am confused on how construction groups and categories work is there other files besides the jsons iv had it working before and now. I can copy from the data construction\_group/construction\_catagory files put it in my own files in my mod with different id’s and it doesn’t work

---

<div class="post-metadata">

**Author:** ![j4k3](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/j4k3/32/12922_2.png) [@j4k3](https://discourse.cataclysmdda.org/u/j4k3)\
**Post date:** [August 21, 2024, 12:13am UTC](https://discourse.cataclysmdda.org/t/need-help-with-getting-follower-crafting-recipes-to-work-from-construction-json-files-or-taking-any-good-advice-how-to-implement-it/29372/3 "2024-08-21T00:13:15Z")

</div>

The values are all parsed by the Cpp code in /src/. It is not super difficult to ignore the stuff you don’t know and just look for the stuff you do know. Use search to find the places where the keywords that you know are in a list and you’ll likely find other similar stuff. That works a little better for me trying to learn with construction than it does with recipes. Recipes are more in the JSON than how construction is divided up. The syntax must be exactly correct. If you don’t know anything about Cpp, the .h files are where stuff gets declared for use elsewhere and the .cpp files are where the actual code for stuff happens. The .h files are the “header” files where you declare everything you want to do, like your variables and stuff. This code just does things much more efficiently than basic variables and stuff. If you can figure out the basics of JSON you can also figure out the basics of cpp enough to see how it relates 1:1 with the JSON.

---

<div class="post-metadata">

**Author:** ![Eidolon](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/eidolon/32/12913_2.png) [@Eidolon](https://discourse.cataclysmdda.org/u/Eidolon)\
**Post date:** [August 21, 2024, 12:33am UTC](https://discourse.cataclysmdda.org/t/need-help-with-getting-follower-crafting-recipes-to-work-from-construction-json-files-or-taking-any-good-advice-how-to-implement-it/29372/4 "2024-08-21T00:33:36Z")

</div>

![Screenshot_20240820_163031_Json Genie FREE](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/0/07e238bae231e5af0faadbeb5317068514806aa8.jpeg)

---

<div class="post-metadata">

**Author:** ![Eidolon](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/eidolon/32/12913_2.png) [@Eidolon](https://discourse.cataclysmdda.org/u/Eidolon)\
**Post date:** [August 21, 2024, 12:37am UTC](https://discourse.cataclysmdda.org/t/need-help-with-getting-follower-crafting-recipes-to-work-from-construction-json-files-or-taking-any-good-advice-how-to-implement-it/29372/5 "2024-08-21T00:37:19Z")

</div>

Ok so my question at this point is. There are multiple cut grass constructions in the construction category menu. And i am curious, about the object rhats named group. Is there more information about that in .cpp and if so where

---

<div class="post-metadata">

**Author:** ![j4k3](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/j4k3/32/12922_2.png) [@j4k3](https://discourse.cataclysmdda.org/u/j4k3)\
**Post date:** [August 21, 2024, 12:55am UTC](https://discourse.cataclysmdda.org/t/need-help-with-getting-follower-crafting-recipes-to-work-from-construction-json-files-or-taking-any-good-advice-how-to-implement-it/29372/6 "2024-08-21T00:55:48Z")

</div>

I think you are editing the running save file. All the documentation and info is about editing the source code. I’ve never played with android, but you should have an option for enabling the debug menu and you’ll be able to change the game however you want at that point, it just ruins the playing experience as designed if you do so. The groups entry is not part of the source JSON because that is your camp or whoever is associated with you. That might be the name of the randomly generated game world you created when you started the game. It means you’re editing something that you have discovered and are in possession of within the game. Changing stuff in this kind of way can likely cause all kinds of issues because you are bypassing a complex system that includes a timeline of everything you have seen and done. If you suddenly have something you should not have had, you break that timeline and history. It would be better for you to just use the debug menu so that it turns off the achievement system and so that the game knows where the thing came from without breaking everything else. You’re supposed to have a hard time and die often. That is part of the game and experience. Live life on the edge and just run with it.
