forked from mtcontrib/plantlife_modpack
don't use inventory/wield image on youngtrees:bamboo.
let the engine show the nodebox instead.
This commit is contained in:
parent
bc48ee59e3
commit
809a91e619
@ -1,41 +1,33 @@
|
|||||||
abstract_youngtrees = {}
|
abstract_youngtrees = {}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
minetest.register_node("youngtrees:bamboo", {
|
minetest.register_node("youngtrees:bamboo", {
|
||||||
description = "Young Bamboo Tree",
|
description = "Young Bamboo Tree",
|
||||||
drawtype="nodebox",
|
drawtype="nodebox",
|
||||||
tiles = {"bamboo.png"},
|
tiles = {"bamboo.png"},
|
||||||
inventory_image = "bamboo.png",
|
paramtype = "light",
|
||||||
wield_image = "bamboo.png",
|
|
||||||
paramtype = "light",
|
|
||||||
walkable = false,
|
walkable = false,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
{-0.058251,-0.500000,-0.413681,0.066749,0.500000,-0.282500}, --NodeBox 1
|
{-0.058251,-0.500000,-0.413681,0.066749,0.500000,-0.282500}, --NodeBox 1
|
||||||
{-0.058251,-0.500000,-0.103123,0.066749,0.500000,0.038672}, --NodeBox 2
|
{-0.058251,-0.500000,-0.103123,0.066749,0.500000,0.038672}, --NodeBox 2
|
||||||
{-0.058251,-0.500000,0.181227,0.066749,0.500000,0.342500}, --NodeBox 3
|
{-0.058251,-0.500000,0.181227,0.066749,0.500000,0.342500}, --NodeBox 3
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {snappy=3,flammable=2},
|
groups = {snappy=3,flammable=2},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
drop = 'trunks:twig_1'
|
drop = 'trunks:twig_1'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
minetest.register_node("youngtrees:youngtree2_middle",{
|
minetest.register_node("youngtrees:youngtree2_middle",{
|
||||||
description = "Young Tree 2 (middle)",
|
description = "Young Tree 2 (middle)",
|
||||||
drawtype="nodebox",
|
drawtype="nodebox",
|
||||||
tiles = {"youngtree2branch.png"},
|
tiles = {"youngtree2branch.png"},
|
||||||
inventory_image = "youngtree2branch.png",
|
inventory_image = "youngtree2branch.png",
|
||||||
wield_image = "youngtree2branch.png",
|
wield_image = "youngtree2branch.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
Loading…
Reference in New Issue
Block a user