[Mod] Canned Food

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

[Mod] Canned Food

by h-v-smacker » Wed Nov 29, 2017 23:31

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
(121.13 KiB) Not downloaded yet
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: 935
Joined: Sat Aug 19, 2017 21:49
Location: SCP-2935
GitHub: Chemguy99
In-game: Dwaba_Kukai

Re: [Mod] Canned Food

by Chem871 » Thu Nov 30, 2017 00:34

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

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

Re: [Mod] Canned Food

by Chibi ghost » Thu Nov 30, 2017 09:16

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: 91
Joined: Wed Nov 29, 2017 23:04
GitHub: h-v-smacker
In-game: Smacker

Re: [Mod] Canned Food

by h-v-smacker » Thu Nov 30, 2017 09:19

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: 819
Joined: Mon Apr 25, 2016 16:09
Location: Maryland, USA
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55

Re: [Mod] Canned Food

by GamingAssociation39 » Thu Nov 30, 2017 11:36

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: 3063
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [Mod] Canned Food

by Inocudom » Thu Nov 30, 2017 15:55

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.
The comedic value of my videos is how abysmal they are: https://www.youtube.com/channel/UC5cyeM ... YTfYFlih_A
 

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

Re: [Mod] Canned Food

by h-v-smacker » Thu Nov 30, 2017 16:22

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

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

Re: [Mod] Canned Food

by GamingAssociation39 » Thu Nov 30, 2017 17:22

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: 498
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384

Re: [Mod] Canned Food

by cx384 » Thu Nov 30, 2017 17:30

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

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

Re: [Mod] Canned Food

by azekill_DIABLO » Fri Dec 01, 2017 17:56

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

User avatar
gpcf
Member
 
Posts: 320
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [Mod] Canned Food

by gpcf » Fri Dec 01, 2017 20:30

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

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

Re: [Mod] Canned Food

by h-v-smacker » Sat Dec 02, 2017 01:21

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
 

User avatar
gpcf
Member
 
Posts: 320
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [Mod] Canned Food

by gpcf » Sat Dec 02, 2017 08:10

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

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

Re: [Mod] Canned Food

by h-v-smacker » Sat Dec 02, 2017 08:25

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: 935
Joined: Sat Aug 19, 2017 21:49
Location: SCP-2935
GitHub: Chemguy99
In-game: Dwaba_Kukai

Re: [Mod] Canned Food

by Chem871 » Sat Dec 02, 2017 13:00

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

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

Re: [Mod] Canned Food

by h-v-smacker » Sat Dec 02, 2017 14:39

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: 935
Joined: Sat Aug 19, 2017 21:49
Location: SCP-2935
GitHub: Chemguy99
In-game: Dwaba_Kukai

Re: [Mod] Canned Food

by Chem871 » Sat Dec 02, 2017 14:42

Probably
What is SCP-055 again? I forgot.
 

Sokomine
Member
 
Posts: 3874
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: [Mod] Canned Food

by Sokomine » Sat Dec 02, 2017 16:54

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: 91
Joined: Wed Nov 29, 2017 23:04
GitHub: h-v-smacker
In-game: Smacker

Re: [Mod] Canned Food

by h-v-smacker » Sun Dec 03, 2017 00:24

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: 819
Joined: Mon Apr 25, 2016 16:09
Location: Maryland, USA
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55

Re: [Mod] Canned Food

by GamingAssociation39 » Sun Dec 03, 2017 00:49

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

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

Re: [Mod] Canned Food

by h-v-smacker » Sun Dec 03, 2017 01:02

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: 819
Joined: Mon Apr 25, 2016 16:09
Location: Maryland, USA
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55

Re: [Mod] Canned Food

by GamingAssociation39 » Sun Dec 03, 2017 01:49

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

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

Re: [Mod] Canned Food

by h-v-smacker » Mon Dec 04, 2017 12:26

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
 

Next

Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 7 guests