1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-16 06:40:33 +02:00

use mesh nodes for bushes_classic baskets/baskets-with-pies.

This commit is contained in:
Vanessa Ezekowitz
2015-01-26 04:10:20 -05:00
parent d63e016b19
commit 117cab1474
19 changed files with 385 additions and 8 deletions

View File

@ -150,11 +150,13 @@ for i, bush_name in ipairs(bushes_classic.bushes) do
minetest.register_node(":bushes:basket_"..bush_name, {
description = S("Basket with "..desc.." Pies"),
drawtype = "mesh",
mesh = "bushes_basket_full.obj",
tiles = {
"bushes_basket_"..bush_name.."_top.png",
"bushes_basket_bottom.png",
"bushes_basket_side.png"
"bushes_basket_pie_"..bush_name..".png",
"bushes_basket.png"
},
paramtype = "light",
on_use = minetest.item_eat(18),
groups = { dig_immediate = 3 },
})
@ -200,11 +202,10 @@ end
minetest.register_node(":bushes:basket_empty", {
description = S("Basket"),
tiles = {
"bushes_basket_empty_top.png",
"bushes_basket_bottom.png",
"bushes_basket_side.png"
},
drawtype = "mesh",
mesh = "bushes_basket_empty.obj",
tiles = { "bushes_basket.png" },
paramtype = "light",
groups = { dig_immediate = 3 },
})