# Recipes won’t show up in crafting search

**URL:** <https://discourse.cataclysmdda.org/t/recipes-won-t-show-up-in-crafting-search/15762>\
**Category:** The Garage\
**Created:** [June 24, 2018, 2:11pm UTC](https://discourse.cataclysmdda.org/t/recipes-won-t-show-up-in-crafting-search/15762 "2018-06-24T14:11:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeWolf](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Post date:** [June 24, 2018, 2:11pm UTC](https://discourse.cataclysmdda.org/t/recipes-won-t-show-up-in-crafting-search/15762/1 "2018-06-24T14:11:11Z")

</div>

Ok so I was modding my game to have multiple recipes for concentrated acid (I just added them to the meds and chemicals recipe Json) now there technically should be 4 recipes for this but instead I am only seeing 2 those being the latest one and the one that is in the electronics category. What is going on?

---

<div class="post-metadata">

**Author:** ![darktoes](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@darktoes](https://discourse.cataclysmdda.org/u/darktoes)\
**Post date:** [June 24, 2018, 2:29pm UTC](https://discourse.cataclysmdda.org/t/recipes-won-t-show-up-in-crafting-search/15762/2 "2018-06-24T14:29:21Z")

</div>

Can we see the code?

My first thought is you might have turned off autolearn and/or put them in a book.

---

<div class="post-metadata">

**Author:** ![DeWolf](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Post date:** [June 24, 2018, 3:34pm UTC](https://discourse.cataclysmdda.org/t/recipes-won-t-show-up-in-crafting-search/15762/3 "2018-06-24T15:34:58Z")

</div>

Basically I put these directly into the recipe\_chemsandchemicals.json so just imagine them pasted in the bottom after the last } before ]. The copy of concentrated acid from acid water was due to the original recipe being apparently hidden from the additional recipes.

> **recipes**
>
> ,{  
> “type” : “recipe”,  
> “result”: “acid”,  
> “category”: “CC\_CHEM”,  
> “subcategory”: “CSC\_CHEM\_CHEMICALS”,  
> “skill\_used”: “cooking”,  
> “difficulty”: 4,  
> “time”: 10000,  
> “autolearn”: true,  
> “qualities”:[  
> {“id”:“CHEM”,“level”:1}  
> ],  
> “components”: [  
> [  
> [“chem\_sulphuric\_acid”, 1],  
> [“chem\_nitric\_acid”, 1]  
> ]  
> ]  
> },{  
> “type” : “recipe”,  
> “result”: “chem\_nitric\_acid”,  
> “category”: “CC\_CHEM”,  
> “subcategory”: “CSC\_CHEM\_CHEMICALS”,  
> “skill\_used”: “cooking”,  
> “difficulty”: 5,  
> “time”: 10000,  
> “autolearn”: true,  
> “qualities”:[  
> {“id”:“CHEM”,“level”:1}  
> ],  
> “components”: [  
> [  
> [“acid”, 1]  
> ]  
> ]  
> },{  
> “type” : “recipe”,  
> “result”: “chem\_sulphuric\_acid”,  
> “category”: “CC\_CHEM”,  
> “subcategory”: “CSC\_CHEM\_CHEMICALS”,  
> “skill\_used”: “cooking”,  
> “difficulty”: 5,  
> “time”: 10000,  
> “autolearn”: true,  
> “qualities”:[  
> {“id”:“CHEM”,“level”:1}  
> ],  
> “components”: [  
> [  
> [“acid”, 1]  
> ]  
> ]  
> },{  
> “type” : “recipe”,  
> “result”: “acid”,  
> “category”: “CC\_CHEM”,  
> “subcategory”: “CSC\_CHEM\_CHEMICALS”,  
> “skill\_used”: “cooking”,  
> “difficulty”: 4,  
> “time”: 10000,  
> “autolearn”: true,  
> “qualities”:[  
> {“id”:“CHEM”,“level”:1}  
> ],  
> “components”: [  
> [  
> [“chem\_sulphuric\_acid”, 1],  
> [“chem\_nitric\_acid”, 1]  
> ]  
> ]  
> },{  
> “type” : “recipe”,  
> “result”: “chem\_nitric\_acid”,  
> “category”: “CC\_CHEM”,  
> “subcategory”: “CSC\_CHEM\_CHEMICALS”,  
> “skill\_used”: “cooking”,  
> “difficulty”: 5,  
> “time”: 10000,  
> “autolearn”: true,  
> “qualities”:[  
> {“id”:“CHEM”,“level”:1}  
> ],  
> “components”: [  
> [  
> [“acid”, 1]  
> ]  
> ]  
> },{  
> “type” : “recipe”,  
> “result”: “acid”,  
> “category”: “CC\_CHEM”,  
> “subcategory”: “CSC\_CHEM\_CHEMICALS”,  
> “skill\_used”: “cooking”,  
> “difficulty”: 4,  
> “time”: 10000,  
> “autolearn”: true,  
> “qualities”:[  
> {“id”:“BOIL”,“level”:2}  
> ],  
> “tools”: [  
> [[“surface\_heat”, 3, “LIST”] ]  
> ],  
> “components”: [  
> [  
> [“water\_acid”, 1],  
> [“water\_acid\_weak”, 2]  
> ]  
> ]  
> }

---

<div class="post-metadata">

**Author:** ![darktoes](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@darktoes](https://discourse.cataclysmdda.org/u/darktoes)\
**Post date:** [June 24, 2018, 3:56pm UTC](https://discourse.cataclysmdda.org/t/recipes-won-t-show-up-in-crafting-search/15762/4 "2018-06-24T15:56:47Z")

</div>

Not a clue, sorry. You might be better off making an actual mod file and putting them in there though.

---

<div class="post-metadata">

**Author:** ![DeWolf](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Post date:** [June 24, 2018, 8:08pm UTC](https://discourse.cataclysmdda.org/t/recipes-won-t-show-up-in-crafting-search/15762/5 "2018-06-24T20:08:21Z")

</div>

Just tried putting it in as a mod same issue. I may just change the recipe to be a bunch of using or another.

---

<div class="post-metadata">

**Author:** ![Litppunk](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/litppunk/32/409_2.png) [@Litppunk](https://discourse.cataclysmdda.org/u/Litppunk)\
**Post date:** [June 24, 2018, 8:46pm UTC](https://discourse.cataclysmdda.org/t/recipes-won-t-show-up-in-crafting-search/15762/6 "2018-06-24T20:46:13Z")

</div>

could they be combining somehow? the compiler thinking they are basically the same thing and overwriting one or something? I cant think of any reason it would do that but with my lack of code know how thats the only thing that comes to mind looking at it.

---

<div class="post-metadata">

**Author:** ![ObsidianBottle](https://avatars.discourse-cdn.com/v4/letter/o/958977/32.png) [@ObsidianBottle](https://discourse.cataclysmdda.org/u/ObsidianBottle)\
**Post date:** [June 25, 2018, 4:03am UTC](https://discourse.cataclysmdda.org/t/recipes-won-t-show-up-in-crafting-search/15762/7 "2018-06-25T04:03:25Z")

</div>

You need to add “id\_suffix”: “(unique string)” to each recipes of the same item (except one) otherwise they will overwrite each other.

> **Example**
>
> ```
> {
> "type" : "recipe",
> "result": "naginata",
> "category": "CC_WEAPON",
> "subcategory": "CSC_WEAPON_CUTTING",
> "skill_used": "fabrication",
> "difficulty": 7,
> "time": 460000,
> "book_learn": [["textbook_weapeast", 6]],
> "qualities" : [
> { "id": "ANVIL", "level": 3 },
> {"id":"HAMMER","level":3},
> { "id": "CHISEL", "level": 3 }
> ],
> "tools": [
> [["tongs", -1] ],
> [["swage", -1] ],
> [
> ["forge", 450],
> ["oxy_torch", 90]
> ]
> ],
> "components": [
> [
> ["steel_lump", 2],
> ["steel_chunk", 8],
> ["scrap", 24]
> ],
> [
> ["2x4", 3],
> ["stick", 6]
> ],
> [
> ["fur", 2],
> ["leather", 2]
> ]
> ]
> },{
> "type" : "recipe",
> "result": "naginata",
> "id_suffix": "reforged",
> "category": "CC_WEAPON",
> "subcategory": "CSC_WEAPON_CUTTING",
> "skill_used": "fabrication",
> "difficulty": 7,
> "time": 46000,
> "book_learn": [["textbook_weapeast", 6]],
> "qualities" : [
> { "id": "ANVIL", "level": 3 },
> {"id":"HAMMER","level":3},
> { "id": "CHISEL", "level": 3 }
> ],
> "tools": [
> [["tongs", -1] ],
> [["swage", -1] ],
> [
> ["forge", 100],
> ["oxy_torch", 20]
> ]
> ],
> "components": [
> [["katana", 1] ],
> [
> ["2x4", 2],
> ["stick", 4]
> ]
> ]
> }
> 
> ```

---

<div class="post-metadata">

**Author:** ![DeWolf](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Post date:** [June 25, 2018, 7:39am UTC](https://discourse.cataclysmdda.org/t/recipes-won-t-show-up-in-crafting-search/15762/8 "2018-06-25T07:39:16Z")

</div>

Thank you. I was about to give another issue however I found out it was because I apparently had exact duplicates of the same recipe in the same file and other misplaced stuff like that. It is working perfectly now. Now I just hope I can remember this if I plan on doing more stuff like this.
