returns a mask which marks ingredient positions for a given item in this recipe(for example mask of value 3 [....000011] means this item is both ingredient 1 and 2 in this recipe[from right to left])
См. определение в файле RecipeBase.c строка 622
623 {
624 int mask = 0;
625
627 {
629
630 for (
int x = 0;
x < ptr.Count();
x++)
631 {
632 if (ptr.Get(
x) == item)
633 {
635 }
636 }
637 }
638 return mask;
639 }
ref array< string > m_Ingredients[MAX_NUMBER_OF_INGREDIENTS]
const int MAX_NUMBER_OF_INGREDIENTS
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
static proto float Pow(float v, float power)
Return power of v ^ power.
Перекрестные ссылки m_Ingredients, MAX_NUMBER_OF_INGREDIENTS, Math::Pow() и x.