980 {
981 int bitsPerSlot = 8;
982 int slotsPerInt = 32 / bitsPerSlot;
983
984 int groupIndex = slotIndex / slotsPerInt;
985 int bitOffset = (slotIndex % slotsPerInt) * bitsPerSlot;
986
988 return (value >> bitOffset) & 255;
989 }
int GetFertilizerBitmapByIndex(int index)