# Assigning crafting screen subcategories to new recipes

**URL:** <https://discourse.cataclysmdda.org/t/assigning-crafting-screen-subcategories-to-new-recipes/4427>\
**Category:** The Lab\
**Created:** [December 8, 2013, 5:22am UTC](https://discourse.cataclysmdda.org/t/assigning-crafting-screen-subcategories-to-new-recipes/4427 "2013-12-08T05:22:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![desrik](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/desrik/32/1050_2.png) [@desrik](https://discourse.cataclysmdda.org/u/desrik)\
**Post date:** [December 8, 2013, 5:22am UTC](https://discourse.cataclysmdda.org/t/assigning-crafting-screen-subcategories-to-new-recipes/4427/1 "2013-12-08T05:22:08Z")

</div>

With the new crafting screen upgrade I thought it would be a good idea to explain how to assign new recipes to a subcategory.

Recipes must be given a “subcategory” field:

```auto
  "type" : "recipe",
  "result": "water_clean",
  "category": "CC_FOOD",
  "subcategory": "CSC_FOOD_DRINKS",
```

Any recipe without the subcategory field will be put in category-\>Other.

As you may be able to tell from the above example or may have noticed in game, the drinks category is gone. Drinks have been moved into a subcategory under food.

Valid category-\>subcategory combinations are:

CC\_WEAPONS:

[ul][li]CSC\_WEAPONS\_BASHING[/li]  
[li]CSC\_WEAPONS\_CUTTING[/li]  
[li]CSC\_WEAPONS\_PIERCING - (SPEAR or STAB flagged items)[/li]  
[li]CSC\_WEAPONS\_RANGED[/li]  
[li]CSC\_WEAPONS\_EXPLOSIVES - (Not ammo)[/li]  
[li]CSC\_WEAPONS\_OTHER - Anything else.[/li][/ul]

CC\_AMMO:

[ul][li]CSC\_AMMO\_BULLETS[/li]  
[li]CSC\_AMMO\_ARROWS[/li]  
[li]CSC\_AMMO\_COMPONENTS - (Parts to make ammo)[/li]  
[li]CSC\_AMMO\_OTHER - Anything else.[/li][/ul]

CC\_FOOD:

[ul][li]CSC\_FOOD\_DRINKS[/li]  
[li]CSC\_FOOD\_MEAT[/li]  
[li]CSC\_FOOD\_VEGGI[/li]  
[li]CSC\_FOOD\_SNACK - (Junk food)[/li]  
[li]CSC\_FOOD\_BREAD[/li]  
[li]CSC\_FOOD\_PASTA[/li]  
[li]CSC\_FOOD\_OTHER - Anything else. (Powders go here - Flour, Sugar, etc.[/li][/ul]

CC\_CHEM:

[ul][li]CSC\_CHEM\_DRUGS[/li]  
[li]CSC\_CHEM\_MUTAGEN[/li]  
[li]CSC\_CHEM\_CHEMICALS - (Bleach, Disinfectant, etc.[/li]  
[li]CSC\_CHEM\_OTHER - Anything else.[/li][/ul]

CC\_ELECTRONIC:

[ul][li]CSC\_ELECTRONIC\_CBMS[/li]  
[li]CSC\_ELECTRONIC\_LIGHTING[/li]  
[li]CSC\_ELECTRONIC\_COMPONENTS[/li]  
[li]CSC\_ELECTRONIC\_OTHER[/li][/ul]

CC\_ARMOR:

[ul][li]CSC\_ARMOR\_STORAGE - (Bags, packs, pouches, etc.)[/li]  
[li]CSC\_ARMOR\_SUIT - (Covers whole body)[/li]  
[li]CSC\_ARMOR\_HEAD[/li]  
[li]CSC\_ARMOR\_BACK - (Cloaks and such)[/li]  
[li]CSC\_ARMOR\_TORSO[/li]  
[li]CSC\_ARMOR\_ARMS[/li]  
[li]CSC\_ARMOR\_HANDS[/li]  
[li]CSC\_ARMOR\_LEGS[/li]  
[li]CSC\_ARMOR\_FEET[/li]  
[li]CSC\_ARMOR\_OTHER - Anything else.[/li][/ul]

CC\_OTHER:

[ul][li]CSC\_OTHER\_TOOLS[/li]  
[li]CSC\_OTHER\_MEDICAL[/li]  
[li]CSC\_OTHER\_CONTAINERS - (Liquid storage)[/li]  
[li]CSC\_OTHER\_MATERIALS - (Glass, metal, etc.[/li]  
[li]CSC\_OTHER\_PARTS - (Vehicle parts)[/li]  
[li]CSC\_OTHER\_TRAPS[/li]  
[li]CSC\_OTHER\_OTHER - Anything else.[/li][/ul]

---

<div class="post-metadata">

**Author:** ![vache](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@vache](https://discourse.cataclysmdda.org/u/vache)\
**Post date:** [December 8, 2013, 5:26am UTC](https://discourse.cataclysmdda.org/t/assigning-crafting-screen-subcategories-to-new-recipes/4427/2 "2013-12-08T05:26:14Z")

</div>

One thing that might be useful is to allow some items to show up in multiple subcategories eventually. Like for example if there were a recipe to make gunpowder (not sure if there is or not), it might fall under both chemistry-\>other and ammo-\>components, or fusion packs in electronics-\>other and ammo-\>other.

---

<div class="post-metadata">

**Author:** ![jaked122](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jaked122/32/473_2.png) [@jaked122](https://discourse.cataclysmdda.org/u/jaked122)\
**Post date:** [August 6, 2015, 6:36pm UTC](https://discourse.cataclysmdda.org/t/assigning-crafting-screen-subcategories-to-new-recipes/4427/3 "2015-08-06T18:36:50Z")

</div>

> [@vache](#):
>
> One thing that might be useful is to allow some items to show up in multiple subcategories eventually. Like for example if there were a recipe to make gunpowder (not sure if there is or not), it might fall under both chemistry-\>other and ammo-\>components, or fusion packs in electronics-\>other and ammo-\>other.

That’s a good idea. I mean, hydrogen peroxide is both a drug(for its medical purpose) and a highly useful chemical reagent. I think.

---

<div class="post-metadata">

**Author:** ![Theundyingcode](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/theundyingcode/32/500_2.png) [@Theundyingcode](https://discourse.cataclysmdda.org/u/Theundyingcode)\
**Post date:** [September 13, 2017, 3:42pm UTC](https://discourse.cataclysmdda.org/t/assigning-crafting-screen-subcategories-to-new-recipes/4427/4 "2017-09-13T15:42:24Z")

</div>

> [@vache](#):
>
> One thing that might be useful is to allow some items to show up in multiple subcategories eventually. Like for example if there were a recipe to make gunpowder (not sure if there is or not), it might fall under both chemistry-\>other and ammo-\>components, or fusion packs in electronics-\>other and ammo-\>other.

While I agree that some things could belong in multiple places, the crafting menu is already so packed with stuff I really don’t want multiples
