2012-10-02 01:22:54 +02:00
|
|
|
|
|
|
|
-- This file supplies glowlights
|
|
|
|
|
|
|
|
-- Yellow
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:glowlight_thick_yellow', {
|
|
|
|
description = "Yellow Glowlight (thick)",
|
|
|
|
drawtype = "nodebox",
|
|
|
|
tiles = {
|
|
|
|
'homedecor_glowlight_yellow_tb.png',
|
|
|
|
'homedecor_glowlight_yellow_tb.png',
|
|
|
|
'homedecor_glowlight_thick_yellow_sides.png',
|
|
|
|
'homedecor_glowlight_thick_yellow_sides.png',
|
|
|
|
'homedecor_glowlight_thick_yellow_sides.png',
|
|
|
|
'homedecor_glowlight_thick_yellow_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(),
|
|
|
|
})
|
|
|
|
|
2012-10-04 00:53:17 +02:00
|
|
|
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(),
|
|
|
|
})
|
|
|
|
|
2012-10-02 01:22:54 +02:00
|
|
|
minetest.register_node('homedecor:glowlight_thin_yellow', {
|
|
|
|
description = "Yellow Glowlight (thin)",
|
|
|
|
drawtype = "nodebox",
|
|
|
|
tiles = {
|
|
|
|
'homedecor_glowlight_yellow_tb.png',
|
|
|
|
'homedecor_glowlight_yellow_tb.png',
|
|
|
|
'homedecor_glowlight_thin_yellow_sides.png',
|
|
|
|
'homedecor_glowlight_thin_yellow_sides.png',
|
|
|
|
'homedecor_glowlight_thin_yellow_sides.png',
|
|
|
|
'homedecor_glowlight_thin_yellow_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(),
|
|
|
|
})
|
|
|
|
|
2012-10-04 00:53:17 +02:00
|
|
|
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(),
|
|
|
|
})
|
|
|
|
|
2012-10-02 01:22:54 +02:00
|
|
|
minetest.register_node('homedecor:glowlight_small_cube_yellow', {
|
|
|
|
description = "Yellow Glowlight (small cube)",
|
|
|
|
drawtype = "nodebox",
|
|
|
|
tiles = {
|
|
|
|
'homedecor_glowlight_cube_yellow_tb.png',
|
|
|
|
'homedecor_glowlight_cube_yellow_tb.png',
|
|
|
|
'homedecor_glowlight_cube_yellow_sides.png',
|
|
|
|
'homedecor_glowlight_cube_yellow_sides.png',
|
|
|
|
'homedecor_glowlight_cube_yellow_sides.png',
|
|
|
|
'homedecor_glowlight_cube_yellow_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(),
|
|
|
|
})
|
|
|
|
|
2012-10-02 03:06:10 +02:00
|
|
|
minetest.register_node('homedecor:glowlight_small_cube_yellow_ceiling', {
|
|
|
|
description = "Yellow Glowlight (small cube, on ceiling)",
|
|
|
|
drawtype = "nodebox",
|
|
|
|
tiles = {
|
|
|
|
'homedecor_glowlight_cube_yellow_tb.png',
|
|
|
|
'homedecor_glowlight_cube_yellow_tb.png',
|
|
|
|
'homedecor_glowlight_cube_yellow_sides_ceiling.png',
|
|
|
|
'homedecor_glowlight_cube_yellow_sides_ceiling.png',
|
|
|
|
'homedecor_glowlight_cube_yellow_sides_ceiling.png',
|
|
|
|
'homedecor_glowlight_cube_yellow_sides_ceiling.png'
|
|
|
|
},
|
|
|
|
selection_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = { -0.25, 0, -0.25, 0.25, 0.5, 0.25 }
|
|
|
|
},
|
|
|
|
node_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = { -0.25, 0, -0.25, 0.25, 0.5, 0.25 }
|
|
|
|
},
|
|
|
|
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
walkable = true,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
light_source = LIGHT_MAX-1,
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
2012-10-02 01:22:54 +02:00
|
|
|
-- White
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:glowlight_thick_white', {
|
|
|
|
description = "White Glowlight (thick)",
|
|
|
|
drawtype = "nodebox",
|
|
|
|
tiles = {
|
|
|
|
'homedecor_glowlight_white_tb.png',
|
|
|
|
'homedecor_glowlight_white_tb.png',
|
|
|
|
'homedecor_glowlight_thick_white_sides.png',
|
|
|
|
'homedecor_glowlight_thick_white_sides.png',
|
|
|
|
'homedecor_glowlight_thick_white_sides.png',
|
|
|
|
'homedecor_glowlight_thick_white_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(),
|
|
|
|
})
|
|
|
|
|
2012-10-04 00:53:17 +02:00
|
|
|
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(),
|
|
|
|
})
|
|
|
|
|
2012-10-02 01:22:54 +02:00
|
|
|
minetest.register_node('homedecor:glowlight_thin_white', {
|
|
|
|
description = "White Glowlight (thin)",
|
|
|
|
drawtype = "nodebox",
|
|
|
|
tiles = {
|
|
|
|
'homedecor_glowlight_white_tb.png',
|
|
|
|
'homedecor_glowlight_white_tb.png',
|
|
|
|
'homedecor_glowlight_thin_white_sides.png',
|
|
|
|
'homedecor_glowlight_thin_white_sides.png',
|
|
|
|
'homedecor_glowlight_thin_white_sides.png',
|
|
|
|
'homedecor_glowlight_thin_white_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(),
|
|
|
|
})
|
|
|
|
|
2012-10-04 00:53:17 +02:00
|
|
|
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(),
|
|
|
|
})
|
|
|
|
|
2012-10-02 01:22:54 +02:00
|
|
|
minetest.register_node('homedecor:glowlight_small_cube_white', {
|
|
|
|
description = "White Glowlight (small cube)",
|
|
|
|
drawtype = "nodebox",
|
|
|
|
tiles = {
|
|
|
|
'homedecor_glowlight_cube_white_tb.png',
|
|
|
|
'homedecor_glowlight_cube_white_tb.png',
|
|
|
|
'homedecor_glowlight_cube_white_sides.png',
|
|
|
|
'homedecor_glowlight_cube_white_sides.png',
|
|
|
|
'homedecor_glowlight_cube_white_sides.png',
|
|
|
|
'homedecor_glowlight_cube_white_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(),
|
|
|
|
})
|
2012-10-02 03:06:10 +02:00
|
|
|
|
|
|
|
minetest.register_node('homedecor:glowlight_small_cube_white_ceiling', {
|
|
|
|
description = "White Glowlight (small cube, on ceiling)",
|
|
|
|
drawtype = "nodebox",
|
|
|
|
tiles = {
|
|
|
|
'homedecor_glowlight_cube_white_tb.png',
|
|
|
|
'homedecor_glowlight_cube_white_tb.png',
|
|
|
|
'homedecor_glowlight_cube_white_sides_ceiling.png',
|
|
|
|
'homedecor_glowlight_cube_white_sides_ceiling.png',
|
|
|
|
'homedecor_glowlight_cube_white_sides_ceiling.png',
|
|
|
|
'homedecor_glowlight_cube_white_sides_ceiling.png'
|
|
|
|
},
|
|
|
|
selection_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = { -0.25, 0, -0.25, 0.25, 0.5, 0.25 }
|
|
|
|
},
|
|
|
|
node_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = { -0.25, 0, -0.25, 0.25, 0.5, 0.25 }
|
|
|
|
},
|
|
|
|
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
walkable = true,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
light_source = LIGHT_MAX-1,
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|