Various changes, see changelog.txt.

This commit is contained in:
A.C.M 2019-07-14 17:40:39 +02:00
parent 1e12c10b9c
commit c745c9c093
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
default:blueberries added to group food_blueberry and food_blueberries.
bushes:blueberries added to group food_blueberries.
Function add_group is doing nothing if the item is unknown.
*** Version 2.3
Recipe for cotton added.
Mushroom_light added.

View File

@ -471,3 +471,6 @@ if minetest.get_modpath("petz") then
})
end
cucina_vegana.add_group("default:blueberries", {food_blueberry = 1, food_blueberries = 1})
cucina_vegana.add_group("bushes:blueberry", {food_blueberries = 1})

View File

@ -27,6 +27,9 @@ function cucina_vegana.add_group(node, entry)
elseif(minetest.registered_tools[node] ~= nil) then
newgroup = cucina_vegana.table_clone(minetest.registered_tools[node].groups)
else -- Node not found.
return
end -- if(minetest.registered_nodes