diff --git a/crafts.lua b/crafts.lua index 90508495..f6e80076 100644 --- a/crafts.lua +++ b/crafts.lua @@ -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({ output = "homedecor:glowlight_thin_yellow 6", 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({ output = "homedecor:glowlight_small_cube_yellow 8", 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({ output = "homedecor:glowlight_thin_white 6", 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({ output = "homedecor:glowlight_small_cube_white 8", recipe = { diff --git a/lighting.lua b/lighting.lua index fa8997f9..79f7c424 100644 --- a/lighting.lua +++ b/lighting.lua @@ -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", diff --git a/textures/homedecor_glowlight_thick_white_sides.png b/textures/homedecor_glowlight_thick_white_sides.png index b3ed7966..e6578342 100644 Binary files a/textures/homedecor_glowlight_thick_white_sides.png and b/textures/homedecor_glowlight_thick_white_sides.png differ diff --git a/textures/homedecor_glowlight_thick_white_wall_sides.png b/textures/homedecor_glowlight_thick_white_wall_sides.png new file mode 100644 index 00000000..9e67c0c6 Binary files /dev/null and b/textures/homedecor_glowlight_thick_white_wall_sides.png differ diff --git a/textures/homedecor_glowlight_thick_yellow_sides.png b/textures/homedecor_glowlight_thick_yellow_sides.png index 8f98c76e..424a3195 100644 Binary files a/textures/homedecor_glowlight_thick_yellow_sides.png and b/textures/homedecor_glowlight_thick_yellow_sides.png differ diff --git a/textures/homedecor_glowlight_thick_yellow_wall_sides.png b/textures/homedecor_glowlight_thick_yellow_wall_sides.png new file mode 100644 index 00000000..65da3293 Binary files /dev/null and b/textures/homedecor_glowlight_thick_yellow_wall_sides.png differ diff --git a/textures/homedecor_glowlight_thin_white_sides.png b/textures/homedecor_glowlight_thin_white_sides.png index 4b41d05f..8389ebdb 100644 Binary files a/textures/homedecor_glowlight_thin_white_sides.png and b/textures/homedecor_glowlight_thin_white_sides.png differ diff --git a/textures/homedecor_glowlight_thin_white_wall_sides.png b/textures/homedecor_glowlight_thin_white_wall_sides.png new file mode 100644 index 00000000..dfebca20 Binary files /dev/null and b/textures/homedecor_glowlight_thin_white_wall_sides.png differ diff --git a/textures/homedecor_glowlight_thin_yellow_sides.png b/textures/homedecor_glowlight_thin_yellow_sides.png index 2746e53b..1dd5bd11 100644 Binary files a/textures/homedecor_glowlight_thin_yellow_sides.png and b/textures/homedecor_glowlight_thin_yellow_sides.png differ diff --git a/textures/homedecor_glowlight_thin_yellow_wall_sides.png b/textures/homedecor_glowlight_thin_yellow_wall_sides.png new file mode 100644 index 00000000..5bd3837c Binary files /dev/null and b/textures/homedecor_glowlight_thin_yellow_wall_sides.png differ