Create: Central Kitchen

Create: Central Kitchen

12M Downloads

Allow Cooking Pot to accept more than 1 recipe worth of items at a time from Packager

ProjectBuddle opened this issue ยท 2 comments

commented

Describe your request

Currently, automating cooking with the Farmer's Delight Pot using a Packager is not feasible as the packager can only provide enough resources for exactly one of the desired food. For example, if I am cooking vegetable soup which requires 1 beetroot, 1 carrot, 1 cabbage, and 1 potato, the Packager can only give the Cooking Pot that exact amount. If I was to set the system to provide, let's say 10 of each of those items, the Cooking Pot would not accept the Packager's contents as it is not the exact recipe.

This completely halts automation because trying to make more than 20 Vegetable Soup at a time will completely clog up both the Frog Port and the Chain Conveyor system as the Cooking Pot cannot work Fast Enough. Conversely, if each package could hold enough for 64 soups, the system would only clog if roughly more than 1344 are requested.

commented

This is almost impossible to implement for now as accepting multiple recipe worth of items would need the crafting pattern to be recorded in the package order, which currently only crafting recipes are supported.

The current implementation is basically a brute force workaround, bypassing the need for crafting pattern by simply inserting 1 item per slot.

For designing automation with the current implementation, I would suggest you adding cache on the Cooking Pot's end.

commented

alternatively you can check the stack sizes in the package and make a new list with only stacksize one entries (with multiple entries for each additional item of the same type) and then try to insert them , while ignoring slots you have already placed an item in.