Traitor/mods/plants/bushes.lua

54 lines
1.3 KiB
Lua

minetest.register_node('plants:topiary_01', {
description = 'Topiary Bush',
drawtype = 'mesh',
mesh = 'plants_topiary_01.obj',
paramtype = 'light',
paramtype2 = 'facedir',
tiles = {'plants_topiary_01.png'},
groups = {breakable=1},
selection_box = {
type = 'fixed',
fixed = {{-.4, -.5, -.4, .4, 1, .4}}
},
collision_box = {
type = 'fixed',
fixed = {{-.4, -.5, -.4, .4, 1, .4}}
},
})
minetest.register_node('plants:topiary_02', {
description = 'Topiary Bush',
drawtype = 'mesh',
mesh = 'plants_topiary_02.obj',
paramtype = 'light',
paramtype2 = 'facedir',
tiles = {'plants_topiary_02.png'},
groups = {breakable=1},
selection_box = {
type = 'fixed',
fixed = {{-.25, -.5, -.25, .25, 1, .25}}
},
collision_box = {
type = 'fixed',
fixed = {{-.25, -.5, -.25, .25, 1, .25}}
},
})
minetest.register_node('plants:topiary_03', {
description = 'Topiary Bush',
drawtype = 'mesh',
mesh = 'plants_topiary_03.obj',
paramtype = 'light',
paramtype2 = 'facedir',
tiles = {'plants_topiary_03.png'},
groups = {breakable=1},
selection_box = {
type = 'fixed',
fixed = {{-.25, -.5, -.25, .25, 1, .25}}
},
collision_box = {
type = 'fixed',
fixed = {{-.25, -.5, -.25, .25, 1, .25}}
},
})