projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efd0902
)
Add food groups to blueberries (#2335)
author
tenplus1
<tenplus1@users.noreply.github.com>
Fri, 22 Mar 2019 19:20:36 +0000
(19:20 +0000)
committer
sfan5
<sfan5@live.de>
Sun, 31 Mar 2019 20:20:47 +0000
(22:20 +0200)
mods/default/craftitems.lua
patch
|
blob
|
history
diff --git
a/mods/default/craftitems.lua
b/mods/default/craftitems.lua
index 6a1b57064c4113d20ed392169a096ca1c8063ad6..711e5c1dbcd8ee843cd4bc993af6a4b2b73f18dd 100644
(file)
--- a/
mods/default/craftitems.lua
+++ b/
mods/default/craftitems.lua
@@
-343,5
+343,6
@@
minetest.register_craftitem("default:flint", {
minetest.register_craftitem("default:blueberries", {
description = "Blueberries",
inventory_image = "default_blueberries.png",
+ groups = {food_blueberries = 1, food_berry = 1},
on_use = minetest.item_eat(2),
})