Esempio n. 1
0
    /**
     * Queues ready transformations.
     */

    private bool QueueReadyItems(TransformationData tData, out ulong transformationTime, out List <Tuple <int, ItemStack> > stackLocations, out TransformationJob job)
    {
        transformationTime = 0;
        job = null;
        if (!tData.HasAllInputs(InventoryHelper.GetItemStacksFromFilledSlots(this.items), out stackLocations))
        {
            return(false);
        }
        return(this.AddToQueue(tData, out transformationTime, out job));
    }