[Mod] Drinks [1.0][drinks]

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

[Mod] Drinks [1.0][drinks]

by Nathan.S » Post

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

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 ... master.zip
Media License: CC by SA 3.0
Code License: MIT
Attachments
drink-mod.png
drink-mod.png (399.3 KiB) Viewed 2817 times
Last edited by Nathan.S on Fri Jun 21, 2019 19:22, edited 16 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: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: Drinks[drinks]

by TheReaperKing » Post

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.
Become A Real Life Superhero - http://SuperheroHill.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: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: Drinks[drinks]

by Nathan.S » Post

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: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: Drinks[drinks]

by TheReaperKing » Post

We'll have a toast to you tomorrow with our delicious cactus juice! haha
Become A Real Life Superhero - http://SuperheroHill.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: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: Drinks[drinks]

by azekill_DIABLO » Post

Looks pretty neat! i love the meshes!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

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

Re: Drinks[drinks]

by Nathan.S » Post

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: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: Drinks[drinks]

by azekill_DIABLO » Post

A question, how many drinking glasses the barrel contains? and why not add an even bigger barrel?(2*2*2 dimensions)
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

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

Re: Drinks[drinks]

by Nathan.S » Post

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: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: Drinks[drinks]

by Andrey01 » Post

Nice!The mod of drinks and barrels!

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

Re: Drinks[drinks]

by azekill_DIABLO » Post

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"!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

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

Re: Drinks[drinks]

by Nathan.S » Post

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: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: Drinks[drinks]

by Nathan.S » Post

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: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: Drinks[drinks]

by TheReaperKing » Post

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!
Become A Real Life Superhero - http://SuperheroHill.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: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: Drinks[drinks]

by Nathan.S » Post

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: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: Drinks[drinks]

by Nathan.S » Post

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: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: Drinks[drinks]

by TheReaperKing » Post

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.
Become A Real Life Superhero - http://SuperheroHill.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: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: Drinks[drinks]

by Nathan.S » Post

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: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: Drinks[drinks]

by TheReaperKing » Post

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 :)
Become A Real Life Superhero - http://SuperheroHill.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: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: Drinks[drinks]

by Nathan.S » Post

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: 338
Joined: Fri Sep 19, 2014 20:29
In-game: Christian9
Location: Hell Creek

Re: Drinks[drinks]

by Christian9 » Post

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

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

Re: Drinks[drinks]

by TheReaperKing » Post

ORANGES :)
Become A Real Life Superhero - http://SuperheroHill.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: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: Drinks[drinks]

by Nathan.S » Post

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: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: Drinks[drinks]

by TheReaperKing » Post

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!
Become A Real Life Superhero - http://SuperheroHill.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: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: Drinks[drinks]

by Nathan.S » Post

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: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: Drinks[drinks]

by TheReaperKing » Post

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
Become A Real Life Superhero - http://SuperheroHill.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

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests