1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-01 06:10:25 +02:00

Changed nodename of yellow lighting to clearly specify that (recipes are still

the same).  Added white lighting.
This commit is contained in:
Vanessa Ezekowitz
2012-10-01 19:22:54 -04:00
parent da69aa2534
commit 05e7b9f8e3
13 changed files with 225 additions and 90 deletions

View File

@ -11,6 +11,7 @@
-- License: LGPL
--
dofile(minetest.get_modpath("homedecor").."/lighting.lua")
dofile(minetest.get_modpath("homedecor").."/fences.lua")
dofile(minetest.get_modpath("homedecor").."/kitchen_cabinet.lua")
dofile(minetest.get_modpath("homedecor").."/refrigerator.lua")
@ -779,12 +780,14 @@ minetest.register_node('homedecor:speaker', {
minetest.register_node('homedecor:speaker_small', {
description = "Small Surround Speaker",
drawtype = "nodebox",
tiles = { 'homedecor_speaker_top.png',
'homedecor_speaker_bottom.png',
'homedecor_speaker_right.png',
'homedecor_speaker_left.png',
'homedecor_speaker_back.png',
'homedecor_speaker_front.png'},
tiles = {
'homedecor_speaker_top.png',
'homedecor_speaker_bottom.png',
'homedecor_speaker_right.png',
'homedecor_speaker_left.png',
'homedecor_speaker_back.png',
'homedecor_speaker_front.png'
},
selection_box = {
type = "fixed",
fixed = { -0.2, -0.5, 0, 0.2, 0, 0.4 }
@ -802,85 +805,6 @@ minetest.register_node('homedecor:speaker_small', {
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node('homedecor:glowlight_thick', {
description = "Glowlight (thick)",
drawtype = "nodebox",
tiles = { 'homedecor_glowlight_tb.png',
'homedecor_glowlight_tb.png',
'homedecor_glowlight_thick_sides.png',
'homedecor_glowlight_thick_sides.png',
'homedecor_glowlight_thick_sides.png',
'homedecor_glowlight_thick_sides.png'},
selection_box = {
type = "fixed",
fixed = { -0.5, 0, -0.5, 0.5, 0.5, 0.5 }
},
node_box = {
type = "fixed",
fixed = { -0.5, 0, -0.5, 0.5, 0.5, 0.5 }
},
sunlight_propagates = false,
paramtype = "light",
walkable = true,
groups = { snappy = 3 },
light_source = LIGHT_MAX,
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node('homedecor:glowlight_thin', {
description = "Glowlight (thin)",
drawtype = "nodebox",
tiles = { 'homedecor_glowlight_tb.png',
'homedecor_glowlight_tb.png',
'homedecor_glowlight_thin_sides.png',
'homedecor_glowlight_thin_sides.png',
'homedecor_glowlight_thin_sides.png',
'homedecor_glowlight_thin_sides.png'},
selection_box = {
type = "fixed",
fixed = { -0.5, 0.25, -0.5, 0.5, 0.5, 0.5 }
},
node_box = {
type = "fixed",
fixed = { -0.5, 0.25, -0.5, 0.5, 0.5, 0.5 }
},
sunlight_propagates = false,
paramtype = "light",
walkable = true,
groups = { snappy = 3 },
light_source = LIGHT_MAX-1,
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 = {