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
parent 42db4772c0
commit fc9f44317c
4 changed files with 34 additions and 0 deletions

View File

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

View File

@ -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:  |  Size: 253 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B