added small glowing cube for use on top of short lampposts (e.g. yard lights).

Made using one stick above one moreblocks super glow glass (same sort of recipe
used for other microblocks, but this one's centered on the bottom face of the
node).
This commit is contained in:
Vanessa Ezekowitz
2012-09-30 04:59:14 -04:00
父節點 42db4772c0
當前提交 fc9f44317c
共有 4 個文件被更改,包括 34 次插入0 次删除

查看文件

@@ -1109,4 +1109,11 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({
output = "homedecor:glowlight_small_cube 8",
recipe = {
{"default:stick" },
{"moreblocks:superglowglass" },
}
})

查看文件

@@ -952,6 +952,33 @@ minetest.register_node('homedecor:glowlight_thin', {
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
}) })
minetest.register_node('homedecor:glowlight_small_cube', {
description = "Glowlight (small cube)",
drawtype = "nodebox",
tiles = {'homedecor_glowlight_cube_tb.png',
'homedecor_glowlight_cube_tb.png',
'homedecor_glowlight_cube_sides.png',
'homedecor_glowlight_cube_sides.png',
'homedecor_glowlight_cube_sides.png',
'homedecor_glowlight_cube_sides.png'
},
selection_box = {
type = "fixed",
fixed = { -0.25, -0.5, -0.25, 0.25, 0, 0.25 }
},
node_box = {
type = "fixed",
fixed = { -0.25, -0.5, -0.25, 0.25, 0, 0.25 }
},
sunlight_propagates = false,
paramtype = "light",
walkable = true,
groups = { snappy = 3 },
light_source = LIGHT_MAX-1,
sounds = default.node_sound_leaves_defaults(),
})
-- --
local curtaincolors = { local curtaincolors = {

Binary file not shown.

After

Width:  |  Height:  |  大小: 253 B

Binary file not shown.

After

Width:  |  Height:  |  大小: 255 B