jojoa1997 wrote:https://github.com/minetest/minetest_game/blob/master/mods/default/nodes.lua#L1152
Get the number for the on use and use that as the number. I mean instead of setting it manually you code to find the number and then replace it or what ever you do. That way new food can be used.
minetest.item_eat = hud.item_eat
hud
That looks awesome! Great work BlockMen.BlockMen wrote:Update! Version 1.1 released
Changelog:
- added support for stu's 3darmor mod (needs lastest version of armor mod)
- restructured and cleaned up code
- added support for poisen food (damages player, but does not kill)
Important:
New features will only be available for lastest dev/unstable builds of Minetest.
If you are using Minetest 0.4.7 stable use Version 0.9 of this mod. (no drowning, no armor support)
BlockMen wrote:Update! Version 1.1 released
Changelog:
- added support for stu's 3darmor mod (needs lastest version of armor mod)
- restructured and cleaned up code
- added support for poisen food (damages player, but does not kill)
Important:
New features will only be available for lastest dev/unstable builds of Minetest.
If you are using Minetest 0.4.7 stable use Version 0.9 of this mod. (no drowning, no armor support)
viv100 wrote:1,1 do not work can you help me
viv100 wrote:worldmods / hud / init.lua. 48
viv100 wrote:I'm on linux so after I do not know I'm not very good with computers
hoodedice wrote:Hey BlockMan.
Is it possible to overlay an image over the entire HUD? Plus it's custom, not costum.
nater6927 wrote:Hello, I would be very thankful if you added plantlife mod for compatible food because I made some pie and doesn't work.. just heals my hearts :(.
neron wrote:Are you planning on adding armor support?
Evergreen wrote:No, default minetest does. Just get the latest unstable build, and voila you have drowning.Johnyknowhow wrote:So MT+ does have the drowning bar,

gsmanners wrote:I've been playing with this mod for a few weeks and I thought I'd toss together a few themes for it.
http://i.imgur.com/a6UfbNI.jpg
Very nice mods, by the way.
linushsao wrote:With this MOD in my MT server(cloud hosted,archlinux,from AUR,ver 0.4.9),
Morn76 wrote:linushsao wrote:With this MOD in my MT server(cloud hosted,archlinux,from AUR,ver 0.4.9),
Are you running with LuaJIT enabled? If not, take a look at my AUR script at https://aur.archlinux.org/packages/minetest-git-leveldb/. LuaJIT and LevelDB solve so many lag-related MT issues compared to stock 0.4.9.
Users browsing this forum: No registered users and 10 guests