flowers fix

master
Victor Hackeridze 2012-03-14 16:14:10 +06:00
parent d8007c5301
commit 140fd8c195
1 changed files with 9 additions and 1 deletions

View File

@ -89,7 +89,7 @@ for _, color in ipairs(FLOWERS) do
minetest.register_node('flowers:' .. fname, {
drawtype = 'plantlike',
visual_scale = 1.0,
visual_scale = FLOWERS_VISUAL_SCALE,
tile_images = { fname .. '.png' },
inventory_image = fname .. '.png',
sunlight_propagates = true,
@ -97,6 +97,10 @@ for _, color in ipairs(FLOWERS) do
walkable = false,
material = minetest.digprop_constanttime(0.0),
furnace_burntime = 1,
selection_box = {
type = "fixed",
fixed = {-1/5-0.1, -1/2, -1/5-0.1, 1/5+0.1, 1/5+0.1, 1/5+0.1},
},
})
end
@ -108,6 +112,10 @@ minetest.register_node('flowers:flower_waterlily', {
paramtype = 'light',
walkable = false,
material = minetest.digprop_constanttime(0.0),
selection_box = {
type = "fixed",
fixed = {-1/2, -1/2, -1/2, 1/2, -0.52, 1/2},
},
})
-- Items