Renamed textures, side branches a bit different
|
@ -15,12 +15,8 @@ for i in pairs(BushBranchCenter) do
|
||||||
description = "Bush Branches "..Num,
|
description = "Bush Branches "..Num,
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
tiles = {
|
tiles = {
|
||||||
"bush_leaves"..TexNum..".png",
|
"bushes_leaves_"..TexNum..".png",
|
||||||
"BushBranchesCenterLeaves"..TexNum..".png"--[[,
|
"bushes_branches_center_"..TexNum..".png"
|
||||||
"BushBranchesCenter.png",
|
|
||||||
"BushBranchesCenter.png",
|
|
||||||
"BushBranchesCenter.png",
|
|
||||||
"BushBranchesCenter.png"]]
|
|
||||||
},
|
},
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
@ -33,7 +29,7 @@ for i in pairs(BushBranchCenter) do
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-1/2, -1/2, -1/2, 1/2, 1/2, 1/2},
|
fixed = {-1/2, -1/2, -1/2, 1/2, 1/2, 1/2},
|
||||||
},
|
},
|
||||||
inventory_image = "BushBranchesCenterLeaves"..TexNum..".png",
|
inventory_image = "bushes_branches_center_"..TexNum..".png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
@ -55,26 +51,27 @@ for i in pairs(BushBranchSide) do
|
||||||
description = "Bush Branches "..Num,
|
description = "Bush Branches "..Num,
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
tiles = {
|
tiles = {
|
||||||
"bush_leaves"..TexNum..".png",
|
--[[top]] "bushes_leaves_"..TexNum..".png",
|
||||||
"BushBranchesCenterLeaves"..TexNum..".png",
|
--[[bottom]]"bushes_branches_center_"..TexNum..".png",
|
||||||
"BushBranchesSide1Leaves"..TexNum..".png",
|
--[[right]] "bushes_branches_left_"..TexNum..".png",
|
||||||
"BushBranchesSide1Leaves"..TexNum..".png",
|
--[[left]] "bushes_branches_right_"..TexNum..".png", -- MM: We could also mirror the previous here,
|
||||||
"BushBranchesSide2Leaves"..TexNum..".png", -- MM: We could also mirror the previous here,
|
--[[back]] "bushes_branches_center_"..TexNum..".png",-- unless U really want 'em 2 B different
|
||||||
"BushBranchesSide2Leaves"..TexNum..".png" -- unless U really want 'em 2 B different
|
--[[front]] "bushes_branches_right_"..TexNum..".png"
|
||||||
},
|
},
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
{0.137748,-0.491944,0.5,-0.125000,-0.179444,-0.007790}, --NodeBox 1
|
-- { left , bottom , front, right , top , back }
|
||||||
{0.262748,-0.185995,0.5,-0.237252,0.126505,-0.260269}, --NodeBox 2
|
{0.137748,-0.491944, 0.5 ,-0.125000,-0.179444,-0.007790}, --NodeBox 1
|
||||||
{0.500000,0.125000,0.500000,-0.500000,0.500000,-0.500000}, --NodeBox 3
|
{0.262748,-0.185995, 0.5 ,-0.237252, 0.126505,-0.260269}, --NodeBox 2
|
||||||
|
{0.500000, 0.125000, 0.5 ,-0.500000, 0.500000,-0.500000}, --NodeBox 3
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-1/2, -1/2, -1/2, 1/2, 1/2, 1/2},
|
fixed = {-1/2, -1/2, -1/2, 1/2, 1/2, 1/2},
|
||||||
},
|
},
|
||||||
inventory_image = "BushBranchesSide2Leaves"..TexNum..".png",
|
inventory_image = "bushes_branches_right_"..TexNum..".png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
@ -92,10 +89,10 @@ local BushLeafNode = { {1}, {2}}
|
||||||
for i in pairs(BushLeafNode) do
|
for i in pairs(BushLeafNode) do
|
||||||
local Num = BushLeafNode[i][1]
|
local Num = BushLeafNode[i][1]
|
||||||
minetest.register_node("bushes:BushLeaves"..Num, {
|
minetest.register_node("bushes:BushLeaves"..Num, {
|
||||||
description = "BushLeaves"..Num,
|
description = "Bush Leaves "..Num,
|
||||||
drawtype = "allfaces_optional",
|
drawtype = "allfaces_optional",
|
||||||
tiles = {"bush_leaves"..Num..".png"},
|
tiles = {"bushes_leaves_"..Num..".png"},
|
||||||
inventory_image = "bush_leaves"..Num..".png",
|
inventory_image = "bushes_leaves_"..Num..".png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
groups = { -- MM: Should we add leafdecay?
|
groups = { -- MM: Should we add leafdecay?
|
||||||
snappy=3,
|
snappy=3,
|
||||||
|
|
Before Width: | Height: | Size: 473 B After Width: | Height: | Size: 473 B |
Before Width: | Height: | Size: 487 B After Width: | Height: | Size: 487 B |
Before Width: | Height: | Size: 686 B After Width: | Height: | Size: 686 B |
Before Width: | Height: | Size: 689 B After Width: | Height: | Size: 689 B |
Before Width: | Height: | Size: 714 B After Width: | Height: | Size: 714 B |
Before Width: | Height: | Size: 719 B After Width: | Height: | Size: 719 B |
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 225 B |
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 225 B |
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 199 B |