[bushes_classic] Remove edible nodes from plantlife (except berries)

- Solves #13
master
LeMagnesium 2015-09-17 09:47:19 +02:00
parent aea51f5f98
commit 86bfb510a5
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ bushes_classic.bushes_descriptions = {
bushes_classic.spawn_list = {} bushes_classic.spawn_list = {}
local modpath = minetest.get_modpath('bushes_classic') local modpath = minetest.get_modpath('bushes_classic')
dofile(modpath..'/cooking.lua') -- dofile(modpath..'/cooking.lua')
dofile(modpath..'/nodes.lua') dofile(modpath..'/nodes.lua')
biome_lib:spawn_on_surfaces({ biome_lib:spawn_on_surfaces({

View File

@ -148,7 +148,7 @@ for i, bush_name in ipairs(bushes_classic.bushes) do
local desc = bushes_classic.bushes_descriptions[i] local desc = bushes_classic.bushes_descriptions[i]
minetest.register_node(":bushes:basket_"..bush_name, { --[[minetest.register_node(":bushes:basket_"..bush_name, {
description = S("Basket with "..desc.." Pies"), description = S("Basket with "..desc.." Pies"),
drawtype = "mesh", drawtype = "mesh",
mesh = "bushes_basket_full.obj", mesh = "bushes_basket_full.obj",
@ -160,7 +160,7 @@ for i, bush_name in ipairs(bushes_classic.bushes) do
paramtype2 = "facedir", paramtype2 = "facedir",
on_use = minetest.item_eat(18), on_use = minetest.item_eat(18),
groups = { dig_immediate = 3 }, groups = { dig_immediate = 3 },
}) })]]
local texture_top, texture_bottom local texture_top, texture_bottom