forked from nalc/homedecor_modpack
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:
27
init.lua
27
init.lua
@ -952,6 +952,33 @@ minetest.register_node('homedecor:glowlight_thin', {
|
||||
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 = {
|
||||
|
Reference in New Issue
Block a user