667 {
670
671 unsorted[0] = item1;
672 unsorted[1] = item2;
673
675
677 string soundCat = recipe.GetSoundCategory(0,sorted[0]);
678
679 if (!soundCat)
680 {
681 soundCat = recipe.GetSoundCategory(1,sorted[1]);
682 }
683
684 return soundCat;
685 }
class GP5GasMask extends MaskBase ItemBase
ref array< ref RecipeBase > m_RecipeList
bool SortIngredientsInRecipe(int id, int num_of_ingredients, ItemBase ingredients_unsorted[], ItemBase ingredients_sorted[])
sorts ingredients correctly as either first or second ingredient based on their masks