added wall-mounted regular and thin glow lights in yellow and white.

此提交包含在:
Vanessa Ezekowitz
2012-10-03 18:53:17 -04:00
父節點 701e5fdd52
當前提交 ce59c7f130
共有 10 個檔案被更改,包括 176 行新增0 行删除

查看文件

@@ -31,6 +31,34 @@ minetest.register_node('homedecor:glowlight_thick_yellow', {
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node('homedecor:glowlight_thick_yellow_wall', {
description = "Yellow Glowlight (thick, on wall)",
drawtype = "nodebox",
tiles = {
'homedecor_glowlight_thick_yellow_sides.png',
'homedecor_glowlight_thick_yellow_sides.png',
'homedecor_glowlight_thick_yellow_wall_sides.png',
'homedecor_glowlight_thick_yellow_wall_sides.png',
'homedecor_glowlight_yellow_tb.png',
'homedecor_glowlight_yellow_tb.png'
},
selection_box = {
type = "fixed",
fixed = { -0.5, -0.5, 0, 0.5, 0.5, 0.5 }
},
node_box = {
type = "fixed",
fixed = { -0.5, -0.5, 0, 0.5, 0.5, 0.5 }
},
sunlight_propagates = false,
paramtype = "light",
paramtype2 = "facedir",
walkable = true,
groups = { snappy = 3 },
light_source = LIGHT_MAX,
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node('homedecor:glowlight_thin_yellow', {
description = "Yellow Glowlight (thin)",
drawtype = "nodebox",
@@ -59,6 +87,34 @@ minetest.register_node('homedecor:glowlight_thin_yellow', {
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node('homedecor:glowlight_thin_yellow_wall', {
description = "Yellow Glowlight (thin, on wall)",
drawtype = "nodebox",
tiles = {
'homedecor_glowlight_thin_yellow_sides.png',
'homedecor_glowlight_thin_yellow_sides.png',
'homedecor_glowlight_thin_yellow_wall_sides.png',
'homedecor_glowlight_thin_yellow_wall_sides.png',
'homedecor_glowlight_yellow_tb.png',
'homedecor_glowlight_yellow_tb.png'
},
selection_box = {
type = "fixed",
fixed = { -0.5, -0.5, 0.25, 0.5, 0.5, 0.5 }
},
node_box = {
type = "fixed",
fixed = { -0.5, -0.5, 0.25, 0.5, 0.5, 0.5 }
},
sunlight_propagates = false,
paramtype = "light",
paramtype2 = "facedir",
walkable = true,
groups = { snappy = 3 },
light_source = LIGHT_MAX-1,
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node('homedecor:glowlight_small_cube_yellow', {
description = "Yellow Glowlight (small cube)",
drawtype = "nodebox",
@@ -145,6 +201,34 @@ minetest.register_node('homedecor:glowlight_thick_white', {
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node('homedecor:glowlight_thick_white_wall', {
description = "White Glowlight (thick, on wall)",
drawtype = "nodebox",
tiles = {
'homedecor_glowlight_thick_white_sides.png',
'homedecor_glowlight_thick_white_sides.png',
'homedecor_glowlight_thick_white_wall_sides.png',
'homedecor_glowlight_thick_white_wall_sides.png',
'homedecor_glowlight_white_tb.png',
'homedecor_glowlight_white_tb.png'
},
selection_box = {
type = "fixed",
fixed = { -0.5, -0.5, 0, 0.5, 0.5, 0.5 }
},
node_box = {
type = "fixed",
fixed = { -0.5, -0.5, 0, 0.5, 0.5, 0.5 }
},
sunlight_propagates = false,
paramtype = "light",
paramtype2 = "facedir",
walkable = true,
groups = { snappy = 3 },
light_source = LIGHT_MAX,
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node('homedecor:glowlight_thin_white', {
description = "White Glowlight (thin)",
drawtype = "nodebox",
@@ -173,6 +257,34 @@ minetest.register_node('homedecor:glowlight_thin_white', {
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node('homedecor:glowlight_thin_white_wall', {
description = "White Glowlight (thin, on wall)",
drawtype = "nodebox",
tiles = {
'homedecor_glowlight_thin_white_sides.png',
'homedecor_glowlight_thin_white_sides.png',
'homedecor_glowlight_thin_white_wall_sides.png',
'homedecor_glowlight_thin_white_wall_sides.png',
'homedecor_glowlight_white_tb.png',
'homedecor_glowlight_white_tb.png'
},
selection_box = {
type = "fixed",
fixed = { -0.5, -0.5, 0.25, 0.5, 0.5, 0.5 }
},
node_box = {
type = "fixed",
fixed = { -0.5, -0.5, 0.25, 0.5, 0.5, 0.5 }
},
sunlight_propagates = false,
paramtype = "light",
paramtype2 = "facedir",
walkable = true,
groups = { snappy = 3 },
light_source = LIGHT_MAX-1,
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node('homedecor:glowlight_small_cube_white', {
description = "White Glowlight (small cube)",
drawtype = "nodebox",