def takeStackMax(self, stackType): percentChange = InventoryId.getStackPercentChange(stackType) self.taking.append([percentChange, 100])