# Newb making mods needs help

**URL:** <https://discourse.cataclysmdda.org/t/newb-making-mods-needs-help/10510>\
**Category:** The Lab\
**Created:** [September 11, 2015, 3:11am UTC](https://discourse.cataclysmdda.org/t/newb-making-mods-needs-help/10510 "2015-09-11T03:11:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)\
**Post date:** [September 11, 2015, 3:11am UTC](https://discourse.cataclysmdda.org/t/newb-making-mods-needs-help/10510/1 "2015-09-11T03:11:38Z")

</div>

I have a few questions if you don’t mind… First, how do I make recipes appear in appropriate places? I made a rifle but when the recipe is learned it appears in the “other” section instead of the “range” section. Second, how do I make items spawn in certain locations? I put a tool in the item group camping and outdoors, would this allow it to spawn in a sport goods store?

---

<div class="post-metadata">

**Author:** ![Random\_dragon](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@Random\_dragon](https://discourse.cataclysmdda.org/u/Random_dragon)\
**Post date:** [September 11, 2015, 3:53am UTC](https://discourse.cataclysmdda.org/t/newb-making-mods-needs-help/10510/2 "2015-09-11T03:53:29Z")

</div>

Concerning the first, have an excerpt from recipes.json:

`
  {
    "type" : "recipe_category",
    "id" : "CC_WEAPON",
    "recipe_subcategories" : [
      "CSC_ALL",
      "CSC_WEAPON_BASHING",
      "CSC_WEAPON_CUTTING",
      "CSC_WEAPON_PIERCING",
      "CSC_WEAPON_RANGED",
      "CSC_WEAPON_EXPLOSIVE",
      "CSC_WEAPON_MODS",
      "CSC_WEAPON_OTHER"
    ]
  },{`

In the recipe for the item, you’ll watnt to replace what I’m presuming is “CSC\_WEAPON\_OTHER” with “CSC\_WEAPON\_RANGED” to make it subcategorize correctly.

For the second, yes. Item groups are the big thing that makes most items in the game show up. Only other normal ways to encounter items are if they’re spawned specifically in a mapgen entry, or placed on an NPC equipment list.

---

<div class="post-metadata">

**Author:** ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)\
**Post date:** [September 11, 2015, 5:32am UTC](https://discourse.cataclysmdda.org/t/newb-making-mods-needs-help/10510/3 "2015-09-11T05:32:47Z")

</div>

That did it, thank you!
