Page 1 of 2

[Mod] Drinks [1.0][drinks]

PostPosted: Mon Oct 31, 2016 01:14
by Nathan.S
This mod I've pulled out of my survive subgame as I figured that some people might enjoy playing around with making juices.

Currently the mod has support for:
default items; apples and cacti
plantlife modpack; blueberry, blackberry, gooseberry, raspberry, and strawberry.
farming_plus: banana, lemon, melon, orange, peach, rhubarb, tomato, strawberry, raspberry
Crops: melon, tomato
farming_redo: melon, tomato, carrot, cucumber, grapes, pumpkin, raspberries, rhubarb


It can easily be extended to add support for other mods, and I'll work on updating it with some other mods as I have time. (I documented what needs to be added to support other mods, so feel free to make a pull request with support for your mod.)

Image:
Image

You can put fruits in the fruit press and either fill a cup or bottle with juice, which you can consume, or fill a bucket that you can use to transport larger amounts of liquids around. If you place the juice press on top of the liquid barrel and put papyrus in the output slot the juice will go directly into the barrel.

A silo holds more than a barrel, but can't be automatically filled, so you'll want to fill a barrel and then transport the drinks with a bucket to fill the silo.

If you are using the thirsty mod you can also fill the canteens with juice from the barrels, though it will always remove the same amount of liquid from the barrel, regardless of how full/empty your canteen is.

Youtube video here: https://www.youtube.com/watch?v=7AeFKKf475c

Git Repo: https://github.com/NathanSalapat/drinks
Download: https://github.com/NathanSalapat/drinks/archive/master.zip
License: CC by SA 4.0

Re: Drinks[drinks]

PostPosted: Mon Oct 31, 2016 01:22
by TheReaperKing
I love the models! I'll test it with the kiddos tomorrow!

Edit - I just realized it is missing a download link :) Also I want to try your survival version but last time I tested there were some light problems with moreblocks I think, I need to test it again. I've been working on a survival with them too at school.

Re: Drinks[drinks]

PostPosted: Mon Oct 31, 2016 01:37
by Nathan.S
Wow, ya, I'm stupid, forgot to include the link. :S

Fixed, see OP.

Re: Drinks[drinks]

PostPosted: Mon Oct 31, 2016 01:41
by TheReaperKing
We'll have a toast to you tomorrow with our delicious cactus juice! haha

Re: Drinks[drinks]

PostPosted: Mon Oct 31, 2016 11:06
by azekill_DIABLO
Looks pretty neat! i love the meshes!

Re: Drinks[drinks]

PostPosted: Mon Oct 31, 2016 13:36
by Nathan.S
Thanks azekill_DIABLO

Re: Drinks[drinks]

PostPosted: Mon Oct 31, 2016 14:57
by azekill_DIABLO
A question, how many drinking glasses the barrel contains? and why not add an even bigger barrel?(2*2*2 dimensions)

Re: Drinks[drinks]

PostPosted: Mon Oct 31, 2016 15:58
by Nathan.S
azekill_DIABLO wrote:A question, how many drinking glasses the barrel contains? and why not add an even bigger barrel?(2*2*2 dimensions)


Fortunately I have my cheat sheet handy with all that information:
A barrel holds 64 cups
a bucket holds 8 cups
a bottle holds 2 cups
a cup holds 1 cup

If you have the thirsty mod:
a steel canteen holds 20 cups
a bronze canteen holds 30 cups
1 cup = 2 hydro points, which is = to one full glass in the hydrometer.

I could add a larger barrel, but I feel like that might look odd, maybe a tall liquid storage container, that would be 2 nodes tall, but still just 1 deep and wide, like a tall pill shape.

Re: Drinks[drinks]

PostPosted: Mon Oct 31, 2016 16:43
by Andrey01
Nice!The mod of drinks and barrels!

Re: Drinks[drinks]

PostPosted: Mon Oct 31, 2016 21:35
by azekill_DIABLO
Nathan.S wrote:
azekill_DIABLO wrote:A question, how many drinking glasses the barrel contains? and why not add an even bigger barrel?(2*2*2 dimensions)


Fortunately I have my cheat sheet handy with all that information:
A barrel holds 64 cups
a bucket holds 8 cups
a bottle holds 2 cups
a cup holds 1 cup

If you have the thirsty mod:
a steel canteen holds 20 cups
a bronze canteen holds 30 cups
1 cup = 2 hydro points, which is = to one full glass in the hydrometer.

I could add a larger barrel, but I feel like that might look odd, maybe a tall liquid storage container, that would be 2 nodes tall, but still just 1 deep and wide, like a tall pill shape.


Thank you!! and nice idea for the "silo"!

Re: Drinks[drinks]

PostPosted: Wed Nov 09, 2016 17:20
by Nathan.S
I've added support for the berries you can find in the plantlife modpack. Also discovered an error with using papyrus to pipe liquid into the barrels, and fixed that, so it should work now. :)

Re: Drinks[drinks]

PostPosted: Fri Nov 11, 2016 22:40
by Nathan.S
I've added a silo, no pictures just yet. It holds twice as much as a barrel, but can't be filled directly from the press.
Not thrilled with the current texture, so I will be changing that.

Re: Drinks[drinks]

PostPosted: Sat Nov 12, 2016 00:07
by TheReaperKing
The juice press isn't showing up outside of being in creative. I haven't been able to figure out why yet but I imagine that isn't intentional. The kids are loving it so far, thanks again for making it!

Re: Drinks[drinks]

PostPosted: Sat Nov 12, 2016 02:38
by Nathan.S
I will look into that tomorrow, probably screwed something up in the craft recipe. I know I built one when it was part of my food mod. (I extracted this code from that, so probably missed something.)

Edit:
Checked into it tonight, typo, will push a fix tomorrow. While finding that problem I discovered a few others, going to do some code refactoring to solve other issues, will push changes after testing everything out.

Re: Drinks[drinks]

PostPosted: Sun Nov 13, 2016 01:37
by Nathan.S
Okay, so I've done a bunch of updates. The biggest of which is fixing the craft recipe for the press. I also added support for the farming_plus mod, so you can make more juices.

I added a recipe for the silo, three barrels stacked on top of each other, which sounds expensive, especially when the silo only holds twice as much as a barrel, but the barrels are super cheap to craft.

I updated the code for digging, so now you can't dig a barrel or silo if there is any juice in it. I also changed the formspecs on them, so they have a little more useful information, and actually tell you what kind of juice is in the container.

Updated the texture for the silo, not 100% thrilled with it, but it is much better than before.

Re: Drinks[drinks]

PostPosted: Tue Nov 15, 2016 15:29
by TheReaperKing
Thanks so much for all your work. We are having trouble making juice using the press, I've tried using the bottle and bucket as the container and apples as the food item but when I hit start pressing it doesn't seem to do anything. I'll try to test more today.

Re: Drinks[drinks]

PostPosted: Tue Nov 15, 2016 17:27
by Nathan.S
I guess my hack didn't work. :( Probably should have tested it more before pushing the changes.

Fixed it, so all the fruits should be working. Will need to make some changes to the code so the items from farming_plus don't show *fruit*_item as that just bugs me...

Re: Drinks[drinks]

PostPosted: Tue Nov 15, 2016 18:22
by TheReaperKing
Thank you so much, we'll test it next class! By the way the kids LOVE the mod. I hear about it quickly if something isn't working :)

Re: Drinks[drinks]

PostPosted: Tue Nov 15, 2016 22:45
by Nathan.S
Glad to hear. Let me know if they have any ideas on things to add.

Re: Drinks[drinks]

PostPosted: Tue Nov 15, 2016 23:09
by Christian9
Cool mod. I can have a drink after a day of building

Re: Drinks[drinks]

PostPosted: Wed Nov 16, 2016 00:22
by TheReaperKing
ORANGES :)

Re: Drinks[drinks]

PostPosted: Wed Nov 16, 2016 00:43
by Nathan.S
If you have farming_plus you can make orange juice.

Re: Drinks[drinks]

PostPosted: Wed Nov 16, 2016 01:03
by TheReaperKing
Sweet! I am using crops since I like the watering requirement for survival but maybe both mods will play nice and thanks for the heads up!

Re: Drinks[drinks]

PostPosted: Wed Nov 16, 2016 14:46
by Nathan.S
I've added support for the crops mod, the watermelon and tomato should now be juiceable. (they may have already been depending on what other mods you had)

Re: Drinks[drinks]

PostPosted: Thu Nov 17, 2016 04:10
by TheReaperKing
Nathan you are awesome!! Going to have the gremlins test it more tomorrow! They love your spaceship look container by the way. I said we should make it an actual rocketship to fly around so that is what we might be working on soon haha

Re: Drinks[drinks]

PostPosted: Fri Nov 18, 2016 17:30
by Nathan.S
For everybody else with OCD that was irked with some of the drinks saying fruit_item juice, you can put your OCD to rest, I fixed that problem, so now everything displays how we'd expect it too.

Re: Drinks[drinks]

PostPosted: Thu Nov 24, 2016 16:44
by Nathan.S
I fixed a small bug with the silos and discovered that somebody already made a mod review video on this :D
If interested you can find it here: https://www.youtube.com/watch?v=7AeFKKf475c

Re: Drinks[drinks]

PostPosted: Wed Dec 07, 2016 21:08
by Sokomine
The models are very nice. It's good to have a press around instead of just crafting the juices from the fruits directly. Still, most drinks will only be decorative and seldom needed (unless the thirst mod is installed). Perhaps we could sell juice to mobs. Some more interaction there would be fine. Perhaps all that poor Dungeon Master's longing for is a nice glass of tomato juice :-)

Re: Drinks[drinks]

PostPosted: Thu Dec 08, 2016 00:41
by Nathan.S
The juices do add a bit of food if you have the hunger mod.
They aren't placeable so they can't really be used for decoration.
I did add the ability to add extra health, or less health to make potion like drinks.

Re: Drinks[drinks]

PostPosted: Sat Dec 17, 2016 20:40
by Nathan.S
Update, I've added support for tenplus1's farming_redo mod.