Cooking for Blockheads

Cooking for Blockheads

145M Downloads

Show possible craftable amount

BlayTheNinth opened this issue ยท 5 comments

commented

Selecting a recipe should display the amount of possible crafting operations with the ingredients available.

Blocked by #673

commented

A big issue with this is that it would be expensive to calculate (since you'd have to essentially scan all inventory content for all ingredients for all recipes that are shown), so at the very least it would have to be gated behind the selection of a single recipe, at which point it could maybe be displayed in some corner with a crafting icon and a number.

An upcoming update to the API should prepare the technical dependencies that are needed to support this feature in the future.

commented

This may not be necessary anymore since there's the preservation upgrade now that will prevent items from being fully used up. I don't think there's any other common usecases for wanting to see how many of a specific item are craftable.

commented

The obvious usecase to me is before going out exploring or mining, I want to make a big stack of food. When I have a choice of several foods with similar hunger and saturation values, I want the one(s) I can make the biggest stack of, to pakc the most food value into the least inventory slots.

commented

Need to figure out a way to display this while keeping things readable (maybe in the tooltip?).

commented

I would love this as a tooltip, either that or a tooltip that lets me know how much of an ingredient I have to spare so I don't have to check the cupboards 500 times.