According to the old luadoc, the function is supposed to return an integer of how many the item.number was increased by. Instead it returns as 0.