Jump to content

Recommended Posts

Posted
[spoiler][code]
craftRecipe Make 1L of Apple Juice
    {
        time = 200,
        tags = HandPress,
        category = Farming Expansion,

        inputs
        {
            item 80 [Base.Apple],
            item 1 [Base.BucketForged;Base.Bucket;Base.BucketEmpty;Base.BucketCarved] flags[IsEmpty] mode:destroy mappers[febuckets],
        }
        outputs
        {
            item 1 mapper:febuckets,
            +fluid 1.0 JuiceApple,
        }
        itemMapper febuckets
        {
            Base.BucketForged = Base.BucketForged,
            Base.Bucket = Base.Bucket,
            Base.BucketCarved = Base.BucketCarved,
            Base.BucketEmpty = Base.BucketEmpty,
        }
    }
[/code][spoiler]

The main idea is that I could get a bucket with 1 liter of juice and put it into the next similar craft and get a bucket with 2 liters of juice. But at the same time, buckets should not be copied, so I chose the destroy mode. Can anyone suggest how best to implement this?

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...