[Mod] Canned Food

User avatar
h-v-smacker
Member
Posts: 115
Joined: Wed Nov 29, 2017 23:04
GitHub: h-v-smacker
In-game: Smacker

[Mod] Canned Food

by h-v-smacker » Post

The glass vessels are nearly unused throughout the game. This mod adds a reasonable purpose for at least the glass bottle: canning food. The term is used broadly, because it's more recognizable and because "preserved food in mason jars" doesn't have a nice ring to it.

The recipes involve putting various produce in glass bottles. The output is a mason jar with a color label and a golden lid, which can be placed on a flat surface much like any vessel can. It can be consumed as food, and leaves an empty glass bottle afterwards. It can be stored in a vessel shelf as well.

The food recipes involve variable number of ingredients, so more berries are needed to fill a jar than, say, pumpkin slices. Jams normally involve sugar, although those in 4 "default" recipes do not. It can also turn two otherwise inedible items into food. Finally, one can make jars of honey if bees from mobs_redo are available.

The reward for effort of canning is higher nutritional value (shelf life is meaningless in Minetest) compared to the total value of all ingredients involved.

A couple things I've left untapped for now, like chili peppers, potatoes, and onions. If someone would suggest a proper variety of canned (preserved) products with those ingredients, I'd be happy to oblige.

Also possible, but not introduced yet: recipes with 2 or more produce types. Largely because apart from rhubarb + strawberry jam, I cannot think of many iconic examples.

All dependencies are optional: farming redo, ethereal, mobs (specifically mobs_animals).

Github: https://github.com/h-v-smacker/canned_food

Image
canned_food.jpg
canned_food.jpg (121.13 KiB) Viewed 1214 times
Last edited by h-v-smacker on Thu Nov 30, 2017 21:15, edited 5 times in total.
Linux Forks, the Best Forks: linux-forks.de // Play @ LinuxWorks Next Generation

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [Mod] Canned Food

by Chem871 » Post

Looks very nice! About time it happened, too :P
What is SCP-055?

Chibi ghost
Member
Posts: 845
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [Mod] Canned Food

by Chibi ghost » Post

interesting idea which farming mods are supporting this?
Last edited by Chibi ghost on Thu Nov 30, 2017 09:27, edited 2 times in total.

User avatar
h-v-smacker
Member
Posts: 115
Joined: Wed Nov 29, 2017 23:04
GitHub: h-v-smacker
In-game: Smacker

Re: [Mod] Canned Food

by h-v-smacker » Post

Chibi ghost wrote:interesting idea which farming mods are supporting this?
So far farming redo. And fruits from Ethereal (not farming, but still). I probably will need to make a better mod detection scheme, because there is a handful of farming flavors.
Linux Forks, the Best Forks: linux-forks.de // Play @ LinuxWorks Next Generation

User avatar
GamingAssociation39
Member
Posts: 858
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [Mod] Canned Food

by GamingAssociation39 » Post

Could you also make some canned food that has to be cooked? And is it possible to make it compatible with my mod as a cooking method via the oven or the microwave?
Jesus Is Lord and Savior!!!

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [Mod] Canned Food

by Inocudom » Post

I like this mod. The more decorative foods that Minetest has, the better. You should see if you can make nodebox or mesh models for those jars.

User avatar
h-v-smacker
Member
Posts: 115
Joined: Wed Nov 29, 2017 23:04
GitHub: h-v-smacker
In-game: Smacker

Re: [Mod] Canned Food

by h-v-smacker » Post

Inocudom wrote:You should see if you can make nodebox or mesh models for those jars.
I will use the same draw types as the vessels mod, for consistency. It's an extension of vessels first and foremost.
Linux Forks, the Best Forks: linux-forks.de // Play @ LinuxWorks Next Generation

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

Re: [Mod] Canned Food

by azekill_DIABLO » Post

What an original idea :D We need a microwave too!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
GamingAssociation39
Member
Posts: 858
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [Mod] Canned Food

by GamingAssociation39 » Post

azekill_DIABLO wrote:What an original idea :D We need a microwave too!
He could make some food that can be cooked in the furnace, oven and the microwave. My oven and microwave need some work done to them to make them work properly but I think that it's a great idea.
Jesus Is Lord and Savior!!!

User avatar
cx384
Member
Posts: 653
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384

Re: [Mod] Canned Food

by cx384 » Post

Welcome to the Minetest forum.
Your mod looks promising but you should follow the forum guidelines if you want to move your mod to mod releases.
(also helpful: rubenwardy's modding book)
Oh and you can use "[img]<url>[/img]" to show your picture at the forum.
Can your read this?

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

Re: [Mod] Canned Food

by Andrey01 » Post

The textures are painted fine.

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

Re: [Mod] Canned Food

by azekill_DIABLO » Post

GamingAssociation39 wrote:
azekill_DIABLO wrote:What an original idea :D We need a microwave too!
He could make some food that can be cooked in the furnace, oven and the microwave. My oven and microwave need some work done to them to make them work properly but I think that it's a great idea.
Super! maybe add some functionnalities and support (to food mods)!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

gpcf
Member
Posts: 382
Joined: Fri May 27, 2016 10:48
GitHub: gpcf
In-game: gabriel

Re: [Mod] Canned Food

by gpcf » Post

if someone gives me some cabbage plant textures, I'll make a sauerkraut mod.

User avatar
h-v-smacker
Member
Posts: 115
Joined: Wed Nov 29, 2017 23:04
GitHub: h-v-smacker
In-game: Smacker

Re: [Mod] Canned Food

by h-v-smacker » Post

gpcf wrote:if someone gives me some cabbage plant textures, I'll make a sauerkraut mod.
No need. Just needs an ABM on top of some "cabbage in a jar"; I guess I could add it. Also will make cellars great again: you place jars with cabbage and wait.
Linux Forks, the Best Forks: linux-forks.de // Play @ LinuxWorks Next Generation

gpcf
Member
Posts: 382
Joined: Fri May 27, 2016 10:48
GitHub: gpcf
In-game: gabriel

Re: [Mod] Canned Food

by gpcf » Post

Sadly, we don't have cabbage plants. :/

User avatar
h-v-smacker
Member
Posts: 115
Joined: Wed Nov 29, 2017 23:04
GitHub: h-v-smacker
In-game: Smacker

Re: [Mod] Canned Food

by h-v-smacker » Post

gpcf wrote:Sadly, we don't have cabbage plants. :/
I have a dream... that one day, we will.

We can actually make it and submit a pull request to farming redo, if we're serious about it. The greatest issue would be the textures, otherwise it'll probably match some of the existing lua files 100% accurately.

Also if we go with ABMs, we can add some extra recipes for tomatoes or cucumbers, for example. Let them stand for a bit on a shelf, and they turn into marinated tomatoes and pickles (not very accurate, but a proper replacement for missing salt and vinegar).
Linux Forks, the Best Forks: linux-forks.de // Play @ LinuxWorks Next Generation

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [Mod] Canned Food

by Chem871 » Post

There's cabbage in LOTTfarming, I think. It's either cabbage or lettuce.
What is SCP-055?

User avatar
h-v-smacker
Member
Posts: 115
Joined: Wed Nov 29, 2017 23:04
GitHub: h-v-smacker
In-game: Smacker

Re: [Mod] Canned Food

by h-v-smacker » Post

Chem871 wrote:There's cabbage in LOTTfarming, I think. It's either cabbage or lettuce.
Looks like an overkill to use that as a dependency.
Linux Forks, the Best Forks: linux-forks.de // Play @ LinuxWorks Next Generation

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [Mod] Canned Food

by Chem871 » Post

Probably
What is SCP-055?

Sokomine
Member
Posts: 4276
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Mod] Canned Food

by Sokomine » Post

The food look very nice. It'd be even better if it where 3d so that the food can be displayed ingame and not just eaten. Perhaps some compatibility with the fruit press would also be desirable. The press could be used to make jam.
A list of my mods can be found here.

User avatar
h-v-smacker
Member
Posts: 115
Joined: Wed Nov 29, 2017 23:04
GitHub: h-v-smacker
In-game: Smacker

Re: [Mod] Canned Food

by h-v-smacker » Post

Sokomine wrote: so that the food can be displayed ingame and not just eaten.
It can be displayed, just using the node draw type of the default vessels. It would be weird if applying something to a bottle shown as grass would turn it into a solid square block or even a detailed model suddenly.
Linux Forks, the Best Forks: linux-forks.de // Play @ LinuxWorks Next Generation

User avatar
GamingAssociation39
Member
Posts: 858
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [Mod] Canned Food

by GamingAssociation39 » Post

Maybe a 3d bottle can also be done. Just a suggestion :)
Jesus Is Lord and Savior!!!

User avatar
h-v-smacker
Member
Posts: 115
Joined: Wed Nov 29, 2017 23:04
GitHub: h-v-smacker
In-game: Smacker

Re: [Mod] Canned Food

by h-v-smacker » Post

GamingAssociation39 wrote:Maybe a 3d bottle can also be done. Just a suggestion :)
I have a number of pull requests currently pending, some for over a month. I don't want to add new models for the vessels to the list.
Linux Forks, the Best Forks: linux-forks.de // Play @ LinuxWorks Next Generation

User avatar
GamingAssociation39
Member
Posts: 858
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [Mod] Canned Food

by GamingAssociation39 » Post

Oh ok let me know what I can do to help :)
Jesus Is Lord and Savior!!!

User avatar
h-v-smacker
Member
Posts: 115
Joined: Wed Nov 29, 2017 23:04
GitHub: h-v-smacker
In-game: Smacker

Re: [Mod] Canned Food

by h-v-smacker » Post

OK, so here's the update: introduced the ABM as a mechanism for producing extra varieties. Turns "putting on a shelf" from a cosmetic operation into a production method. E.g.: Canned cucumbers → Pickles; Canned tomatoes → Marinated tomatoes; Canned mushrooms → Salted mushrooms. The "advanced" forms are marked with a checkered paper cover (or at least that is what it was supposed to look like) over the lid. Works slowly, but doubles the nutritional value.
Linux Forks, the Best Forks: linux-forks.de // Play @ LinuxWorks Next Generation

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests