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

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

by rubenwardy » Post

JPRuehmann wrote:Hello

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

Thanks,
JPR
It was removed from mobf, but I still keep it for legacy.
Last edited by rubenwardy on Wed Apr 02, 2014 16:18, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

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

by JPRuehmann » Post

OK?

But it produces Crashes with awards.

so it would be better to comment out.

Till then,
JPR

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

by rubenwardy » Post

2.1 released!

Including bug fixes, german translation, and cleaning up.

Sweet foods, the first expansion pack, is being made.
You can find it on github. It works, but more food needs to be added.
  • Strawberry cheese cake
  • Blueberry cheese cake
  • Triple chocolate cake
  • Coffee and walnut cheese cake
  • Rhubarb crumble
  • Wedding cake
Last edited by rubenwardy on Thu Apr 10, 2014 18:41, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

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

by Achilles » Post

Nice mod... Servers could do with the extra food in Minetest :D
The Ironic Thing About Common Sense Is That It Isn't Very Common

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

by Achilles » Post

Nice, Strawberry cheese cake. Best cake on Earth :P
The Ironic Thing About Common Sense Is That It Isn't Very Common

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

by rubenwardy » Post

Thanks to CiaranG, the problem with everything making baked potato and stuff like that has been fixed.

Commit 3a335e9
Last edited by rubenwardy on Tue Apr 15, 2014 13:44, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
nater6927
Member
Posts: 28
Joined: Thu Feb 21, 2013 23:30

by nater6927 » Post

Whenever I run the mod it says:
ERROR: ModError: Failed to load and run
C:UsersXXXXDesktopminetest-0.4.9bin..modsfoodinit.lua
|
Name
Check out my YouTube series of Minetest! http:bit.ly/JoinRomanEmpire

rommiekerova
Member
Posts: 93
Joined: Thu Nov 21, 2013 10:59
In-game: Andromeda
Location: United Kingdom

by rommiekerova » Post

Same issue happens for me though on windows XP.
My Mods: Kerova - viewtopic.php?id=8054
My Server: Kalisae - viewtopic.php?id=9040 <--CLOSED UNTIL FURTHER NOTICE!

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

by rubenwardy » Post

  • what is the error? Paste the last 20 lines of debug
    Txt
  • what other mods do you have?
  • Update to the latest version from the download in this topic- I just noticed a bug and fixed it.
Thank you for the report.
Last edited by rubenwardy on Fri Apr 18, 2014 07:51, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
nater6927
Member
Posts: 28
Joined: Thu Feb 21, 2013 23:30

Re: [Mod] Food [2.2 - diet mod support] [food]

by nater6927 » Post

Food Mod - Version 2.2
16:04:07: ERROR[main]: ========== ERROR FROM LUA ===========
16:04:07: ERROR[main]: Failed to load and run script from
16:04:07: ERROR[main]: C:\Users\Nathan\Desktop\Minetest\bin\..\mods\food\init.lua:
16:04:07: ERROR[main]: C:\Users\Nathan\Desktop\Minetest\bin\..\mods\food\init.lua:54: attempt to call field 'override_item' (a nil value)
16:04:07: ERROR[main]: stack traceback:
16:04:07: ERROR[main]: C:\Users\Nathan\Desktop\Minetest\bin\..\mods\food\init.lua:54: in function 'support'
16:04:07: ERROR[main]: C:\Users\Nathan\Desktop\Minetest\bin\..\mods\food\init.lua:147: in main chunk
16:04:07: ERROR[main]: ======= END OF ERROR FROM LUA ========
16:04:07: ERROR[main]: Server: Failed to load and run C:\Users\Nathan\Desktop\Minetest\bin\..\mods\food\init.lua
16:04:07: ERROR[main]: ModError: ModError: Failed to load and run C:\Users\Nathan\Desktop\Minetest\bin\..\mods\food\init.lua
16:05:00: INFO: event_handler(): Ctrl+C, Close Event, Logoff Event or Shutdown Event, shutting down.

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

Re: [Mod] Food [2.2 - diet mod support] [food]

by rubenwardy » Post

nater6927 wrote:Food Mod - Version 2.2
16:04:07: ERROR[main]: ========== ERROR FROM LUA ===========
16:04:07: ERROR[main]: Failed to load and run script from
16:04:07: ERROR[main]: C:\Users\Nathan\Desktop\Minetest\bin\..\mods\food\init.lua:
16:04:07: ERROR[main]: C:\Users\Nathan\Desktop\Minetest\bin\..\mods\food\init.lua:54: attempt to call field 'override_item' (a nil value)
16:04:07: ERROR[main]: stack traceback:
16:04:07: ERROR[main]: C:\Users\Nathan\Desktop\Minetest\bin\..\mods\food\init.lua:54: in function 'support'
16:04:07: ERROR[main]: C:\Users\Nathan\Desktop\Minetest\bin\..\mods\food\init.lua:147: in main chunk
16:04:07: ERROR[main]: ======= END OF ERROR FROM LUA ========
16:04:07: ERROR[main]: Server: Failed to load and run C:\Users\Nathan\Desktop\Minetest\bin\..\mods\food\init.lua
16:04:07: ERROR[main]: ModError: ModError: Failed to load and run C:\Users\Nathan\Desktop\Minetest\bin\..\mods\food\init.lua
16:05:00: INFO: event_handler(): Ctrl+C, Close Event, Logoff Event or Shutdown Event, shutting down.
Looks like you have an outdated version of Minetest.

If you have 0.4.9, I recommend you get a newer build in one of the general discussion window build topic, or if you are on Linux, build it yourself.

Sometime in the future I will make it so it works with older versions.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: [Mod] Food [2.2 - diet mod support] [food]

by Calinou » Post

This is a bit offtopic, but on your screenshot, the iron checkers are poorly placed. ;)

They use facedir, so you should keep the same orientation while placing them, except if you want to create a specific effect using them.

RebelD
Member
Posts: 30
Joined: Mon Jul 07, 2014 21:34
In-game: Dielan

Re: [Mod] Food [2.2 - diet mod support] [food]

by RebelD » Post

I've added some pumkin juice, based on the pumpkins from farming_plus. Only thing I got problems with is the crafting...
Maybe I'll can finish it or maybe it could be added.

I'm a total noob and idiot, so doubt I got anything useful. But i'm trying to finish it anyways. But if I fail I wonder if you could add it anyways or so. You know, the craft. ^^

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

Re: [Mod] Food [2.2 - diet mod support] [food]

by rubenwardy » Post

For recipes use these:

Code: Select all

group:food_pumpkin
You need to add pumpkins to the support list like

Code: Select all

food.support("pumpkin", "farming_plus", "farming_plus:pumpkin_or_whatever_it_is_called")
You also need to add a fall back pumpkin, if farming_plus is not installed

Code: Select all

food.asupport("pumpkin", function()
    minetest.register_craftitem(....
    -- remember to include groups = {food_pumkin = 1}
end)
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

RebelD
Member
Posts: 30
Joined: Mon Jul 07, 2014 21:34
In-game: Dielan

Re: [Mod] Food [2.2 - diet mod support] [food]

by RebelD » Post

rubenwardy wrote:For recipes use these:

Code: Select all

group:food_pumpkin
You need to add pumpkins to the support list like

Code: Select all

food.support("pumpkin", "farming_plus", "farming_plus:pumpkin_or_whatever_it_is_called")
You also need to add a fall back pumpkin, if farming_plus is not installed

Code: Select all

food.asupport("pumpkin", function()
    minetest.register_craftitem(....
    -- remember to include groups = {food_pumkin = 1}
end)
Thanks. Found out that the pumpkin is actually in the basic farming... But it works now thanks to you :D
Thank you so much for your help :)

sortedaniel
New member
Posts: 1
Joined: Tue Jul 22, 2014 22:33
GitHub: sortedaniel
IRC: danielfodao
In-game: Danielfodao

Re: [Mod] Food [2.2 - diet mod support] [food]

by sortedaniel » Post

traduça esse comentario adiciona comidas : como salada e bife :) minha lingua e portugues então traduza

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

Re: [Mod] Food [2.2 - diet mod support] [food]

by rubenwardy » Post

See locale/template.txt

Each line is a translation

Code: Select all

Food name in English = translation in foreign language
Copy locale/template.txt to locales/pt.txt

Add translation to each line.


You need to install "localisation by kaeza". Set it up for Portuguese.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod] Food [2.3] [food] – restructuring

by Napiophelios » Post

This mod wont load unless the "Enable Damage" option is checked,
Is this on purpose? I dont remember version 2.1 being like this.

I am using minetest 0.4.10 MSVC dev 140802 by Krock on WindowsXP

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

Re: [Mod] Food [2.3] [food] – restructuring

by rubenwardy » Post

I will investigate. Weird.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

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

Re: [Mod] Food [2.3] [food] – restructuring

by rubenwardy » Post

I do not have that error. Please post a debug log and a list of your mods installed.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

mojuave
Member
Posts: 51
Joined: Wed Aug 13, 2014 16:43

Re: [Mod] Food [2.3] [food] – restructuring

by mojuave » Post

hello Ruben I really like this to create foods but I get an error I tried deleting and reinstall but I get the same and this one I don't understand

Food Mod - Version 2.1
20:00:15: ERROR[main]: ========== ERROR FROM LUA ===========
20:00:15: ERROR[main]: Failed to load and run script from
20:00:15: ERROR[main]: C:\Users\MIKE\Desktop\server\minetest-0.4.10\bin\..\mods\food\init.lua:
20:00:15: ERROR[main]: ...Desktop\server\minetest-0.4.10\bin\..\mods\food\init.lua:86: attempt to call field 'item_eat' (a nil value)
20:00:15: ERROR[main]: stack traceback:
20:00:15: ERROR[main]: ...Desktop\server\minetest-0.4.10\bin\..\mods\food\init.lua:86: in function 'item_eat'
20:00:15: ERROR[main]: ...Desktop\server\minetest-0.4.10\bin\..\mods\food\init.lua:248: in function 'add'
20:00:15: ERROR[main]: ...Desktop\server\minetest-0.4.10\bin\..\mods\food\init.lua:80: in function 'asupport'
20:00:15: ERROR[main]: ...Desktop\server\minetest-0.4.10\bin\..\mods\food\init.lua:243: in main chunk
20:00:15: ERROR[main]: ======= END OF ERROR FROM LUA ========
20:00:15: ERROR[main]: Server: Failed to load and run C:\Users\MIKE\Desktop\server\minetest-0.4.10\bin\..\mods\food\init.lua
20:00:15: ERROR[main]: ModError: ModError: Failed to load and run C:\Users\MIKE\Desktop\server\minetest-0.4.10\bin\..\mods\food\init.lua

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

Re: [Mod] Food [2.3] [food] – restructuring

by Inocudom » Post

viewtopic.php?f=11&t=9019
This magnificent farming mod by TenPlus1 would become more popular if your food mod supported it. Give it a chance.

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

Re: [Mod] Food [2.3] [food] – restructuring

by rubenwardy » Post

Farming redo is supported.

@mojuave: it looks like better HUD is not installed properly on your system. Or better HUD has changed something.

Also, the version in the mod store is out of date. I'll update it in the next hour. Until then you should get the mod from the download link.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
TenPlus1
Member
Posts: 3721
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Food [2.3] [food] – restructuring

by TenPlus1 » Post

Thanks for the Farming Redo support :) would it be possible to add Mobs Redo support as well since that has pork, milk, cheese, chicken, eggs, honey and so on added...

viewtopic.php?f=11&t=9917

You will need this:

Code: Select all

minetest.after(1.0, function()
	if minetest.get_modpath("mobs") then
		if mobs.mod and mobs.mod == "redo" then
			print ("MOBS REDO DETECTED")
		else
			print ("SIMPLE MOBS DETECTED")
		end
	end
end)

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

Re: [Mod] Food [2.3] [food] – restructuring

by rubenwardy » Post

Why can't I optionally depend on it?
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests