[Mod] Drinks [1.0][drinks]

User avatar
Nathan.S
Member
 
Posts: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

[Mod] Drinks [1.0][drinks]

by Nathan.S » Mon Oct 31, 2016 01:14

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
fruit: peach, pear, plum, orange
ethereal: banana, coconut, strawberry, orange

LinuxDirk has added support for this mod to his xVessels mod, which lets you get unlimited liquids.

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/silo and put papyrus in the output slot the juice will go directly into the barrel/silo.

Stacks of containers can be filled or emptied into the barrels/silos and any remaining full or empty bottles will be moved into the open inventory slot, so you don't loose any items if you are trying to take or fill more than the barrel/silo has/can fill.

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

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

Git Repo: https://github.com/NathanSalapat/drinks
Download: https://github.com/NathanSalapat/drinks/archive/master.zip
License: CC by SA 4.0
Attachments
drink-mod.png
(399.3 KiB) Not downloaded yet
Last edited by Nathan.S on Mon Dec 25, 2017 16:02, edited 14 times in total.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
TheReaperKing
Member
 
Posts: 529
Joined: Sun Nov 22, 2015 21:36

Re: Drinks[drinks]

by TheReaperKing » Mon Oct 31, 2016 01:22

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.
Resources on happiness and life management - http://MikesHappyPlace.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

User avatar
Nathan.S
Member
 
Posts: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Drinks[drinks]

by Nathan.S » Mon Oct 31, 2016 01:37

Wow, ya, I'm stupid, forgot to include the link. :S

Fixed, see OP.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
TheReaperKing
Member
 
Posts: 529
Joined: Sun Nov 22, 2015 21:36

Re: Drinks[drinks]

by TheReaperKing » Mon Oct 31, 2016 01:41

We'll have a toast to you tomorrow with our delicious cactus juice! haha
Resources on happiness and life management - http://MikesHappyPlace.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

User avatar
azekill_DIABLO
Member
 
Posts: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
Nathan.S
Member
 
Posts: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Drinks[drinks]

by Nathan.S » Mon Oct 31, 2016 13:36

Thanks azekill_DIABLO
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
azekill_DIABLO
Member
 
Posts: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: Drinks[drinks]

by azekill_DIABLO » Mon Oct 31, 2016 14:57

A question, how many drinking glasses the barrel contains? and why not add an even bigger barrel?(2*2*2 dimensions)
 

User avatar
Nathan.S
Member
 
Posts: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Drinks[drinks]

by Nathan.S » Mon Oct 31, 2016 15:58

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Andrey01
Member
 
Posts: 2170
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01

Re: Drinks[drinks]

by Andrey01 » Mon Oct 31, 2016 16:43

Nice!The mod of drinks and barrels!
DL9Eh7xVBw7DXwLAMX1lStE21bSD2XUQ
 

User avatar
azekill_DIABLO
Member
 
Posts: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: Drinks[drinks]

by azekill_DIABLO » Mon Oct 31, 2016 21:35

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"!
 

User avatar
Nathan.S
Member
 
Posts: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Drinks[drinks]

by Nathan.S » Wed Nov 09, 2016 17:20

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. :)
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Nathan.S
Member
 
Posts: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Drinks[drinks]

by Nathan.S » Fri Nov 11, 2016 22:40

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
TheReaperKing
Member
 
Posts: 529
Joined: Sun Nov 22, 2015 21:36

Re: Drinks[drinks]

by TheReaperKing » Sat Nov 12, 2016 00:07

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!
Resources on happiness and life management - http://MikesHappyPlace.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

User avatar
Nathan.S
Member
 
Posts: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Drinks[drinks]

by Nathan.S » Sat Nov 12, 2016 02:38

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Nathan.S
Member
 
Posts: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Drinks[drinks]

by Nathan.S » Sun Nov 13, 2016 01:37

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
TheReaperKing
Member
 
Posts: 529
Joined: Sun Nov 22, 2015 21:36

Re: Drinks[drinks]

by TheReaperKing » Tue Nov 15, 2016 15:29

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.
Resources on happiness and life management - http://MikesHappyPlace.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

User avatar
Nathan.S
Member
 
Posts: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Drinks[drinks]

by Nathan.S » Tue Nov 15, 2016 17:27

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...
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
TheReaperKing
Member
 
Posts: 529
Joined: Sun Nov 22, 2015 21:36

Re: Drinks[drinks]

by TheReaperKing » Tue Nov 15, 2016 18:22

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 :)
Resources on happiness and life management - http://MikesHappyPlace.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

User avatar
Nathan.S
Member
 
Posts: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Drinks[drinks]

by Nathan.S » Tue Nov 15, 2016 22:45

Glad to hear. Let me know if they have any ideas on things to add.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Christian9
Member
 
Posts: 337
Joined: Fri Sep 19, 2014 20:29
Location: Hell Creek
In-game: Christian9

Re: Drinks[drinks]

by Christian9 » Tue Nov 15, 2016 23:09

Cool mod. I can have a drink after a day of building
 

User avatar
TheReaperKing
Member
 
Posts: 529
Joined: Sun Nov 22, 2015 21:36

Re: Drinks[drinks]

by TheReaperKing » Wed Nov 16, 2016 00:22

ORANGES :)
Resources on happiness and life management - http://MikesHappyPlace.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

User avatar
Nathan.S
Member
 
Posts: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Drinks[drinks]

by Nathan.S » Wed Nov 16, 2016 00:43

If you have farming_plus you can make orange juice.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
TheReaperKing
Member
 
Posts: 529
Joined: Sun Nov 22, 2015 21:36

Re: Drinks[drinks]

by TheReaperKing » Wed Nov 16, 2016 01:03

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!
Resources on happiness and life management - http://MikesHappyPlace.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

User avatar
Nathan.S
Member
 
Posts: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Drinks[drinks]

by Nathan.S » Wed Nov 16, 2016 14:46

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)
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
TheReaperKing
Member
 
Posts: 529
Joined: Sun Nov 22, 2015 21:36

Re: Drinks[drinks]

by TheReaperKing » Thu Nov 17, 2016 04:10

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
Resources on happiness and life management - http://MikesHappyPlace.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

Next

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 8 guests