experimenting with larger young trees

master
Glenn Engelbart 2013-10-20 11:02:16 -05:00
parent 7f584dea85
commit 31cc722f50
4 changed files with 66 additions and 0 deletions

View File

@ -1,4 +1,70 @@
abstract_youngtrees = {}
minetest.register_node("youngtrees:bamboo", {
description = "youngtreeBamboo",
drawtype="nodebox",
tiles = {"bamboo.png"},
inventory_image = "bamboo.png",
wield_image = "bamboo.png",
paramtype = "light",
walkable = false,
is_ground_content = true,
node_box = {
type = "fixed",
fixed = {
{-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.181227,0.066749,0.500000,0.342500}, --NodeBox 3
}
},
groups = {snappy=3,flammable=2},
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node("youngtrees:youngtree2_bottom", {
description = "youngtree2Bottom",
drawtype="nodebox",
tiles = {"youngtree2trunk.png"},
inventory_image = "youngtree2trunk.png",
wield_image = "youngtree2trunk.png",
paramtype = "light",
walkable = false,
is_ground_content = true,
node_box = {
type = "fixed",
fixed = {
{0.375000,-0.500000,-0.500000,0.500000,0.500000,-0.375000}, --NodeBox 1
}
},
groups = {snappy=3,flammable=2},
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node("youngtrees:youngtree2_middle",{
description = "youngtree2Middle",
drawtype="nodebox",
tiles = {"youngtree2branch.png"},
inventory_image = "youngtree2branch.png",
wield_image = "youngtree2branch.png",
paramtype = "light",
walkable = false,
is_ground_content = true,
node_box = {
type = "fixed",
fixed = {
{0.125000,-0.500000,-0.500000,0.500000,-0.187500,-0.125000}, --NodeBox 1
{-0.187500,-0.187500,-0.500000,0.500000,0.125000,0.250000}, --NodeBox 2
{-0.500000,0.125000,-0.500000,0.500000,0.500000,0.500000}, --NodeBox 3
}
},
groups = {snappy=3,flammable=2},
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node("youngtrees:youngtree_top", {
description = "youngtreeTop",
drawtype = "plantlike",

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB