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

Adds alternative recipe for fruit juice #13214

Merged
merged 4 commits into from Aug 13, 2015

Conversation

Projects
None yet
2 participants
@chaosvolt
Copy link
Contributor

commented Aug 8, 2015

You should be able to squeeze enough juice from most fruits to get
drinkable results without adding water. Rather than a complete recipe
overhaul I added an alternative recipe. This requires twice the amount
of fruit and can only use fresh ingredients, in exchange for not
requiring water and returning twice the pulp.

Mainly purpose is for the rare situations like that discussed here ( http://smf.cataclysmdda.com/index.php?topic=11006.0 ) where you have access to fruit but not clean water. Spending drink to procure a less efficient drink is an annoyance.

Chaosvolt
Adds alternative recipe for fruit juice
You should be able to squeeze enough juice from most fruits to get
drinkable results without adding water. Rather than a complete recipe
overhaul I added an alternative recipe. This requires twice the amount
of fruit and can only use fresh ingredients, in exchange for not
requiring water and returning twice the pulp.
@Coolthulhu

This comment has been minimized.

Copy link
Contributor

commented Aug 8, 2015

That would require rebalancing the numbers a bit. Look at the current juice stats vs. fruit stats:

What Nutrition Quench
1 juice + 2 pulps 24 37
4 blueberries 65 8
8 grapes 144 40
4 cherries 56 8

While some of those are obviously just the result of fruit juice recipe being wrong (8 grapes one), the berry ones shouldn't produce water just like that.
You could bump the amount of pulp produced and/or lower pulp quench (to slightly negative, assuming it's really sweet), while increasing the number of berries required. The input/output nutrition and quench should be roughly the same, at least for most common ingredients.

Would be good if you actually checked the numbers for all the common (bush/tree) fruit, preferably with a table like I posted.
If you don't know how to table, google+"github table" (there's a tutorial and it's a very low amount of work to table results).

@chaosvolt

This comment has been minimized.

Copy link
Contributor Author

commented Aug 8, 2015

Hnng. Yeah, this was kind of just a raw, dumb doubling of input.

I guess the main thing is to look at the results and adjust the recipe accordingly. Hmm...

EDIT : Herpaderp, even I can table.

What Nutrition Quench
1 juice + 4 pulps 44 39
4 apples 64 12
4 apricots 64 12
4 bananas 48 0
4 blackberries 60 12
4 blueberries 65 8
4 cherries 56 8
12 cranberries 60 24
4 grapefruits 140 72
8 grapes 144 40
4 kiwis 44 12
4 lemons 20 20
4 mangos 60 12
8 melons 72 32
4 oranges 56 64
4 papayas 84 32
4 peaches 56 16
4 pears 52 28
4 pineapples 88 36
4 plums 76 16
4 pomegranates 108 48
4 raspberries 60 12
4 strawberries 72 12
2 watermelons 30 56

Yeah, it looks like this recipe is screwy in all sorts of fun ways.

@chaosvolt

This comment has been minimized.

Copy link
Contributor Author

commented Aug 8, 2015

Hey wait a bloody minute. I multiplied the amount of juice pulp returned by the waterless recipe by 2 already, so this should be 1 juice plus 4 pulps. >.<

Chaosvolt
Fruit pulp tweak, juice recipe tweak
1. Increased fruit pulp's dehydration and reduced its quench, so that
the total ratio for the waterless fruit juice recipe SHOULD more closely
resemble most of the ratios for the comparable amounts of input fruit.
2. Retweaked amounts needed to get slightly less screwy ratios. Removed
bananas, oranges, and lemons from the recipe. All of these have recipes
that are too FUBAR to fix by mere input tweaks, and the last two already
have recipes for OJ and lemonade. Besides, is banana juice even a thing?
@chaosvolt

This comment has been minimized.

Copy link
Contributor Author

commented Aug 8, 2015

New ratios.

What Nutrition Quench
1 juice + 4 pulps 64 19
4 apples 64 12
4 apricots 64 12
4 blackberries 60 12
4 blueberries 65 8
6 cherries 84 12
12 cranberries 60 24
2 grapefruits 70 36
4 grapes 72 20
6 kiwis 66 18
4 mangos 60 12
6 melons 54 24
3 papayas 63 24
5 peaches 70 20
4 pears 52 28
3 pineapples 66 27
4 plums 76 16
2 pomegranates 54 24
4 raspberries 60 12
4 strawberries 72 12
2 watermelons 30 56

These are still very screwy, but not to the same degree as before. Not even sure where to begin with fixing the watered-down juice recipe.

@Coolthulhu

This comment has been minimized.

Copy link
Contributor

commented Aug 8, 2015

Almost all fruits have way more nutrition than juice+pulp. Bumping pulp nutrition and lowering quench would help.

@chaosvolt

This comment has been minimized.

Copy link
Contributor Author

commented Aug 8, 2015

Slow starspawn is slow. Changed pulp from 10 nutrition and 1 quench to 15 nutrition and -4 quench.

Unless pushing it further would be desirable?

@Coolthulhu

This comment has been minimized.

Copy link
Contributor

commented Aug 8, 2015

Obviously, slowdragon.

Unless your table uses old stats. I think it does, because 4*15 is certainly more than 44 and 4*-4+35 is certainly less than 39.

@chaosvolt

This comment has been minimized.

Copy link
Contributor Author

commented Aug 8, 2015

Um...huh. I might've failed to adjust the table right, or do the math. x.x

EDIT: It also looks like Github ate your asterisks there. And I thought Skype was bad about doing that.

EDIT 2: I see what I did wrong. I took that initial 24/39 value and went off of that, forgetting that I needed to add 2 juice pulp's worth to it first.

EDIT 3: Ah. It should be 64/19 I think. I calculated the required amounts of fruit based off that amount, but forgot to update the juice entry to reflect that. The other values should be right.

@Coolthulhu

This comment has been minimized.

Copy link
Contributor

commented Aug 8, 2015

Average nutrition/quench of all the fruit types in the recipe is: nutrition 63 quench 20
So 4*15+3 looks perfect for nutrition, while 4*-4+35 is only 1 off from the average.

However after deleting "rare" fruits (ones that don't drop from trees/bushes), the averages change to 65 for nutrition, but just 15 for quench, which would be better represented by dropping either pulp quench by another point or juice quench by 4 points.
Since -4 is already really low, nerfing juice here would look better than nerfing pulp more.

@chaosvolt

This comment has been minimized.

Copy link
Contributor Author

commented Aug 8, 2015

Hmm. So I see, I guess I could reduce juice quench by a bit, that isn't too loco.

Not sure how the cost of fruit plus clean water will affect the required amounts for the watery version of the recipe, but that can be sorted out once the waterless version is squared away.

Chaosvolt
Fruit juice nerf
1. Shaved 4 quench off of fruit juice. I'll take Coolthulhu's word that
this sorts the averages out, juggling tables and ratios is giving me a
headache.
@Coolthulhu

This comment has been minimized.

Copy link
Contributor

commented Aug 8, 2015

Or maybe... change the fruit juice to be 2 charges per stack, have 20 quench and buff back pulp.
That way the watery version could produce 2 juices (for 40 quench) and this one juice and 4 pulps (for 16 quench total). Nutrition per portion could stay.

Though I'm not sure if mapgen would like it.

@chaosvolt

This comment has been minimized.

Copy link
Contributor Author

commented Aug 8, 2015

Hmm. Mapgen shouldn't be puking up any errors from stack tweaking, I hope.

Though wait, 2 juices from the water version? I'd need to instead keep the charges at 1 and give the watery version a result multiplier, I think.

@Coolthulhu

This comment has been minimized.

Copy link
Contributor

commented Aug 8, 2015

There is a separate option to change stack sizes independently from default charges, though I'm not sure if it works for liquids.
And if mapgen wouldn't start spawning half-filled bottles of juice.

@chaosvolt

This comment has been minimized.

Copy link
Contributor Author

commented Aug 8, 2015

Hmm. Not sure how the math will work out.

Fairly certain that mapgen should figure out how to fill it based on volume of container, I think. Hopefully. Then again I think liquids exclusively use the charges property without setting stack size.

EDIT: Yeah, I might have to give the watery version a result_mult of 2, leave charges at 1, and change pulp quench to -1, to get the results you're calculating. I've tried using result_mult to get partial stacks and it...doesn't like that.

Chaosvolt
More tweakening
1. Juice quench further lowered to 20.
2. Juice pulp quench bumped back up to -1.
3. Normal recipe for fruit juice now has result_mult of 2.

@Coolthulhu Coolthulhu self-assigned this Aug 13, 2015

Coolthulhu added a commit that referenced this pull request Aug 13, 2015

Merge pull request #13214 from chaosvolt/fruit-juice-recipe-tweak
Adds alternative recipe for fruit juice

@Coolthulhu Coolthulhu merged commit 0d4a69c into CleverRaven:master Aug 13, 2015

1 check passed

default This has been rescheduled for testing as the 'master' branch has been updated.
@Coolthulhu

This comment has been minimized.

Copy link
Contributor

commented Aug 13, 2015

Minor: juice is 2x as heavy as it should be (1L of juice is 2kg).

@chaosvolt

This comment has been minimized.

Copy link
Contributor Author

commented Aug 13, 2015

Doh. Aw well, thank you for the merge. ^^"

@chaosvolt chaosvolt deleted the chaosvolt:fruit-juice-recipe-tweak branch Aug 13, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.