[Modpack] Food [2.3] [food][food_basic]

User avatar
rubenwardy
Moderator
 
Posts: 5886
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Mon Nov 11, 2013 08:45

It uses a fairly complicated registering mechanism, which may take a while to load on older computers.

I will try to optimize it.
 

User avatar
Silent-Hunter
Member
 
Posts: 30
Joined: Wed Nov 06, 2013 20:06

by Silent-Hunter » Tue Nov 12, 2013 07:09

Can I comment out all the stuff that's for mods I don't have to make it faster?

EDIT: Looking at the code, I don't really understand why it's so slow to load. It looks simple enough to me. My computer's not really old, it's got 4 2.0 gigahertz dual core CPUs, and 12 gigabytes of RAM.
Last edited by Silent-Hunter on Tue Nov 12, 2013 07:23, edited 1 time in total.
 

User avatar
rubenwardy
Moderator
 
Posts: 5886
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Tue Nov 12, 2013 08:47

It should be fine with your specs.

The loading mechanism looks for a mod, and if it exists, it edits its ingredients to have a group in them, ie: group:food_milk

Try setting debug = false in the init.lua file (as it should be when it is released)
https://github.com/rubenwardy/food/blob/master/init.lua#L14
Last edited by rubenwardy on Tue Nov 12, 2013 14:52, edited 1 time in total.
 

Jouster27
Member
 
Posts: 117
Joined: Fri Mar 29, 2013 14:16

by Jouster27 » Tue Nov 12, 2013 14:13

I tried this mod and I like the extra content it added but the crafting recipes are crazy. There are a LOT of alternate recipes for everything it adds and the recipes don't make any sense. Example: cocoa is made from ivory tusks and just about two of anything else.
Last edited by Jouster27 on Tue Nov 12, 2013 14:14, edited 1 time in total.
 

User avatar
rubenwardy
Moderator
 
Posts: 5886
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Tue Nov 12, 2013 14:40

Cocoa is made like this:

-- apple --
apple -- apple
-- apple --


Or if you have farming plus, you can use that.

A craft recipe document is on the way.

The recipes are quite simple. If you have a mod that adds an ingredient, use that ingredient. If not, use the default inbuilt version.

For example with chicken soup, you can either get the meat from simplemobs, mobf or jkanimals. If you have none of those installed, use the inbuilt version crafted like this:

apple
dirt

and then cooked.

No idea where you got the ivory tusks from.
Last edited by rubenwardy on Tue Nov 12, 2013 14:51, edited 1 time in total.
 

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

by Sokomine » Wed Nov 20, 2013 02:53

Perhaps you ought to add a replicator for those that don't have any real food sources installed. You could add apples/plants/leaves/wood or whatever is available and let the machine turn it into the desired food. Would also save people from having to remember strange receipes.
A list of my mods can be found here.
 

User avatar
rubenwardy
Moderator
 
Posts: 5886
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Nov 20, 2013 09:23

I am not sure what you mean. The mod already has default items if no food sources are available.
 

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

by Sokomine » Wed Nov 20, 2013 21:11

Instead of crafting the food with all those receipes, I want to place protein sources into a machine, select the desired food item, and get it out of the machine. In Star Trek, those are called replicators. Machines that create food from other food by i.e. adding aroma and giving the mixture a certain shape might be a bit more realistic.
A list of my mods can be found here.
 

Azuna
Member
 
Posts: 89
Joined: Fri Sep 27, 2013 22:50

by Azuna » Thu Jan 02, 2014 21:44

Cooked egg = baked potato...
cooked tomato = baked potato....
unknown node = baked POTATO!
do you leik potatoes?
 

User avatar
rubenwardy
Moderator
 
Posts: 5886
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Thu Jan 02, 2014 21:49

Looks like a bug in the system. Strange that cook tomatoes do that, as i have never heard of them. Same with egg.

Are you sure they are what.you think they are? Sometimes the inventory images get mixed up.
 

Azuna
Member
 
Posts: 89
Joined: Fri Sep 27, 2013 22:50

by Azuna » Fri Jan 03, 2014 15:58

rubenwardy wrote:Looks like a bug in the system. Strange that cook tomatoes do that, as i have never heard of them. Same with egg.

Are you sure they are what.you think they are? Sometimes the inventory images get mixed up.


I think so, the images look like that, but when we (my sister Num-Num and I) play with each other, we try to cook the eggs and get boiled eggs (we are very slow...) and it keeps turning into a potato (cooked) we eat it and it heals about the same as a potato... same with the tomatoes..... it confuses me.
Edit: i tried to cook the tomatoe to get tomatoe soup.. (IM SLOW!)
Last edited by Azuna on Fri Jan 03, 2014 15:59, edited 1 time in total.
 

User avatar
rubenwardy
Moderator
 
Posts: 5886
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
 

Azuna
Member
 
Posts: 89
Joined: Fri Sep 27, 2013 22:50

by Azuna » Sat Jan 04, 2014 20:05

rubenwardy wrote:What other mods are you using?

nothing special, mtfoods, achievements, mobf, Vanessa's plant mod, and beekeeping.
other stuff too, but shouldnt affect the game, just fixes up some textures.
 

Azuna
Member
 
Posts: 89
Joined: Fri Sep 27, 2013 22:50

by Azuna » Sat Jan 25, 2014 19:08

I used apple cider from a different food mod and it gave me pasta... O_o
 

User avatar
rubenwardy
Moderator
 
Posts: 5886
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Sun Jan 26, 2014 10:44

It sounds like you have a corrupted inventory image. If you hover over the apparent pasta, does it say something else? (See the mixed up inventory images bug)

Does it still happen when you disable this mod.
 

Azuna
Member
 
Posts: 89
Joined: Fri Sep 27, 2013 22:50

by Azuna » Tue Feb 04, 2014 21:20

rubenwardy wrote:
Does it still happen when you disable this mod.


Nope, and it says Apple Cider in a bottle...
And every node that does not have a recipe, from this mod or no, comes out as a baked potato.
Last edited by Azuna on Tue Feb 04, 2014 21:21, edited 1 time in total.
 

User avatar
rubenwardy
Moderator
 
Posts: 5886
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Feb 05, 2014 09:32

I have tried replicating your bug, but I can not.

1) Get the latest version of Minetest

2) Download the latest version of Food

3) Disable all mods apart from food (Click a world, then hit configure, then disable all),
(enable food of course)

4) Run Minetest

5) Try replicating the bug

If the bug happens: Post here the craft recipe you used, and stop.

If it doesn't: Go to 6

6) Enable all your mods

7) Try replicating the bug

If the bug happens: Post here your full mod list (manually type, or take screenshot showing all mods in mods/),
and the craft recipe you used.

If it doesn't: My fixed appeared to work! Post here saying so.
Last edited by rubenwardy on Wed Feb 05, 2014 09:34, edited 1 time in total.
 

CitroPotter
Member
 
Posts: 50
Joined: Fri Jan 24, 2014 09:58

by CitroPotter » Wed Feb 05, 2014 09:45

[Request]
Really nice mod!
I love pizza and burger so if they get added,cool
Recipes:
Raw Pizza
A A A
x x x
B B B
A=Apple,x=nil,B=Bread.
Cooking it will give you Pizza!
Raw Burger:
B B B
L K L
B B B
B=bread,L=leaves,K=ketchup
Ketchup:
x T x
x T x
x x x
T=Tomato
x=nilness!
So if this request has been asked before, sorry but i have not read the whole topic.
Hi!
 

User avatar
Achilles
Member
 
Posts: 247
Joined: Sun Dec 15, 2013 11:55
Location: Excuse Me???? -_-
In-game: Achilles

by Achilles » Wed Feb 19, 2014 13:31

Pizza would be a great addition, as would burgers. If they are included, would there be any chance of including a wider variety of pizzas not just the one. Others could include:
Margarita
Pepperoni
etc...
The Ironic Thing About Common Sense Is That It Isn't Very Common
 

Jouster27
Member
 
Posts: 117
Joined: Fri Mar 29, 2013 14:16

by Jouster27 » Sat Feb 22, 2014 00:25

rubenwardy wrote:I have tried replicating your bug, but I can not.

1) Get the latest version of Minetest

2) Download the latest version of Food

3) Disable all mods apart from food (Click a world, then hit configure, then disable all),
(enable food of course)

4) Run Minetest

5) Try replicating the bug

If the bug happens: Post here the craft recipe you used, and stop.

If it doesn't: Go to 6

6) Enable all your mods

7) Try replicating the bug

If the bug happens: Post here your full mod list (manually type, or take screenshot showing all mods in mods/),
and the craft recipe you used.

If it doesn't: My fixed appeared to work! Post here saying so.


I'm sorry, the fix didn't work. I just went to GitHub and downloaded the latest master version of the food mod but when I view the crafting recipes for baked potato, Zeg's Crafting Guide shows there are a lot of alternate crafting recipes and most of them don't make any sense. Just the first five in the list, for example: ivory, gold lump, raw blackberry pie, coal lump and ostrich (f). The actual list of alternate crafting recipes is over 140 (I got tired of counting).

I'm running 4.9-dev and my current list of mods is:
3d_armor
animals_modpack
awards
bags
beds
boats
calinou_mods
campfire
castle
charcoal
darkage
doors
farming_plus
fences
ferns
fishing
glow
habitat
home_gui
inventory_plus
itemframes
moretrees
nether
prehistoric
quartz
random_buildings (just the cottages mod in the pack)
riesenpilz
ruins
scaffolding
specialties
stoneage
sumpf
throwing
titanium
unifieddyes
vines
zcg

I tried to review the code in the food mod's init.lua but I just don't understand the coding conventions well-enough to identify any possible causes.

Now, just in case it was Zeg's Crafting Guide displaying faulty information, I unloaded it and added craft_guide instead. When I did that and looked-up baked potato, it showed an unknown block that needed to be baked.

Obviously, I don't know why I'm getting odd effects with the baked potato but I suspect there is some issue with the food_potato group. Hopefully, all of this will help folks who actually understand modding to narrow-down the cause. I like having the extra foods and I'd miss being able to use this mod.
Last edited by Jouster27 on Sat Feb 22, 2014 00:27, edited 1 time in total.
 

User avatar
rubenwardy
Moderator
 
Posts: 5886
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Sat Feb 22, 2014 11:05

It may be that craft recipe mods can not display groups as ingredients.

Have you tried actually making it in the crafting box?
 

Jouster27
Member
 
Posts: 117
Joined: Fri Mar 29, 2013 14:16

by Jouster27 » Sat Feb 22, 2014 15:45

rubenwardy wrote:It may be that craft recipe mods can not display groups as ingredients.

Have you tried actually making it in the crafting box?


Yes, but it's been ages ago. You might be right but potatoes are the only recipe where I've noticed an issue like this. I'm fairly sure they're handling the wood groups ok, though.
 

User avatar
rubenwardy
Moderator
 
Posts: 5886
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Sat Mar 01, 2014 17:10

[h]Crafting Guide[/h]

A long time over due.

Food Recipes (PDF)
 

User avatar
maier.nathan
Member
 
Posts: 40
Joined: Wed Dec 04, 2013 02:07
Location: Myrtle Beach, South Carolina
GitHub: npmaier
In-game: Bikemare EdgarLinton

by maier.nathan » Wed Mar 05, 2014 01:24

I installed the latest food mod from git and I still get a baked potato from a carrot in the furnace and not a potato in the furnace. I looked over the code alot and I can't find the reason why.
A pivotal mod,
-Bikemare
 

User avatar
JPRuehmann
Member
 
Posts: 334
Joined: Fri Mar 21, 2014 21:40
Location: Germany

by JPRuehmann » Wed Apr 02, 2014 11:02

Hello

There is an error in your code.
food/init.lua references in row 123 to animalmaterials:glas
that is not existing.

Thanks,
JPR
 

PreviousNext

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 2 guests