660 {
663
664 unsorted[0] = item1;
665 unsorted[1] = item2;
666
668
670 string soundCat = recipe.GetSoundCategory(0,sorted[0]);
671
672 if (!soundCat)
673 {
674 soundCat = recipe.GetSoundCategory(1,sorted[1]);
675 }
676
677 return soundCat;
678 }
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