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:
"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]