mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-22 16:10:18 +01:00
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:
parent
42db4772c0
commit
fc9f44317c
@ -1109,4 +1109,11 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:glowlight_small_cube 8",
|
||||
recipe = {
|
||||
{"default:stick" },
|
||||
{"moreblocks:superglowglass" },
|
||||
}
|
||||
})
|
||||
|
||||
|
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 = {
|
||||
|
BIN
textures/homedecor_glowlight_cube_sides.png
Normal file
BIN
textures/homedecor_glowlight_cube_sides.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 253 B |
BIN
textures/homedecor_glowlight_cube_tb.png
Normal file
BIN
textures/homedecor_glowlight_cube_tb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 255 B |
Loading…
Reference in New Issue
Block a user