Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reworked quern processing for food so it handles weight in recipe. #781

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pgelinas
Copy link

@pgelinas pgelinas commented Aug 4, 2015

This enables recipe that consume part of the food stack instead of always using all the weight. It also enables other ratio of production instead of it always being 1-to-1 conversion (for addon support, if anyone wishes so).
As a side effect, quern processing now also doesn't carry decay over to result, instead reducing result weight when not enough food is available (much like salad/sandwich don't have decay from their ingredients).

At the same time, I'd like to suggest changing the recipe for flour to be only 10oz at a time. Like this, 160oz of grain take 16 turn to fully grind in flour, much like 16 graphite (or any other stack of 16 rocks). Grinding 160oz of grain to 160oz of flour seems too easy to me. This change is not included in the request, but I could easily make it so.

This enables recipe that consume part of the food stack instead of
always using all the weight. It also enables other ratio of production
instead of it always being 1-to-1 conversion.
As a side effect, quern processing now also doesn't carry decay over to
result, instead reducing result weight (much like salad/sandwich don't
have decay from their ingredients).
@Kittychanley
Copy link
Collaborator

I've just started testing this, but I've already noticed something that needs to be fixed. Food that has 0 decay that is ground results in flour that has the -24.0 decay of something that is freshly harvested. It needs to be 0. It also appears that you aren't accounting for the food in the output slot also having decay on it.

@pgelinas
Copy link
Author

Allright, I'll take a look at it. Thanks for the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants