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

This commit is contained in:
Vanessa Ezekowitz 2012-10-03 18:53:17 -04:00
parent 701e5fdd52
commit ce59c7f130
10 changed files with 176 additions and 0 deletions

View File

@ -1094,6 +1094,22 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({
type = "shapeless",
output = "homedecor:glowlight_thick_yellow_wall",
recipe = {
"homedecor:glowlight_thick_yellow",
}
})
minetest.register_craft({
type = "shapeless",
output = "homedecor:glowlight_thick_yellow",
recipe = {
"homedecor:glowlight_thick_yellow_wall",
}
})
minetest.register_craft({ minetest.register_craft({
output = "homedecor:glowlight_thin_yellow 6", output = "homedecor:glowlight_thin_yellow 6",
recipe = { recipe = {
@ -1101,6 +1117,22 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({
type = "shapeless",
output = "homedecor:glowlight_thin_yellow_wall",
recipe = {
"homedecor:glowlight_thin_yellow",
}
})
minetest.register_craft({
type = "shapeless",
output = "homedecor:glowlight_thin_yellow",
recipe = {
"homedecor:glowlight_thin_yellow_wall",
}
})
minetest.register_craft({ minetest.register_craft({
output = "homedecor:glowlight_small_cube_yellow 8", output = "homedecor:glowlight_small_cube_yellow 8",
recipe = { recipe = {
@ -1145,6 +1177,22 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({
type = "shapeless",
output = "homedecor:glowlight_thick_white_wall",
recipe = {
"homedecor:glowlight_thick_white",
}
})
minetest.register_craft({
type = "shapeless",
output = "homedecor:glowlight_thick_white",
recipe = {
"homedecor:glowlight_thick_white_wall",
}
})
minetest.register_craft({ minetest.register_craft({
output = "homedecor:glowlight_thin_white 6", output = "homedecor:glowlight_thin_white 6",
recipe = { recipe = {
@ -1152,6 +1200,22 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({
type = "shapeless",
output = "homedecor:glowlight_thin_white_wall",
recipe = {
"homedecor:glowlight_thin_white",
}
})
minetest.register_craft({
type = "shapeless",
output = "homedecor:glowlight_thin_white",
recipe = {
"homedecor:glowlight_thin_white_wall",
}
})
minetest.register_craft({ minetest.register_craft({
output = "homedecor:glowlight_small_cube_white 8", output = "homedecor:glowlight_small_cube_white 8",
recipe = { recipe = {

View File

@ -31,6 +31,34 @@ minetest.register_node('homedecor:glowlight_thick_yellow', {
sounds = default.node_sound_leaves_defaults(), 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', { minetest.register_node('homedecor:glowlight_thin_yellow', {
description = "Yellow Glowlight (thin)", description = "Yellow Glowlight (thin)",
drawtype = "nodebox", drawtype = "nodebox",
@ -59,6 +87,34 @@ minetest.register_node('homedecor:glowlight_thin_yellow', {
sounds = default.node_sound_leaves_defaults(), 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', { minetest.register_node('homedecor:glowlight_small_cube_yellow', {
description = "Yellow Glowlight (small cube)", description = "Yellow Glowlight (small cube)",
drawtype = "nodebox", drawtype = "nodebox",
@ -145,6 +201,34 @@ minetest.register_node('homedecor:glowlight_thick_white', {
sounds = default.node_sound_leaves_defaults(), 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', { minetest.register_node('homedecor:glowlight_thin_white', {
description = "White Glowlight (thin)", description = "White Glowlight (thin)",
drawtype = "nodebox", drawtype = "nodebox",
@ -173,6 +257,34 @@ minetest.register_node('homedecor:glowlight_thin_white', {
sounds = default.node_sound_leaves_defaults(), 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', { minetest.register_node('homedecor:glowlight_small_cube_white', {
description = "White Glowlight (small cube)", description = "White Glowlight (small cube)",
drawtype = "nodebox", drawtype = "nodebox",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 B

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 252 B

After

Width:  |  Height:  |  Size: 336 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 B

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B