diff --git a/mods/default/crafting.lua b/mods/default/crafting.lua index bc436fc5..520ea6de 100644 --- a/mods/default/crafting.lua +++ b/mods/default/crafting.lua @@ -305,7 +305,43 @@ minetest.register_craft({ recipe = { {"", "default:glass", ""}, {"default:mese_crystal", "default:mese_crystal", "default:mese_crystal"}, - {"", "group:wood", ""}, + {"", "default:wood", ""}, + } +}) + +minetest.register_craft({ + output = "default:mese_post_light_acaciawood 3", + recipe = { + {"", "default:glass", ""}, + {"default:mese_crystal", "default:mese_crystal", "default:mese_crystal"}, + {"", "default:acacia_wood", ""}, + } +}) + +minetest.register_craft({ + output = "default:mese_post_light_junglewood 3", + recipe = { + {"", "default:glass", ""}, + {"default:mese_crystal", "default:mese_crystal", "default:mese_crystal"}, + {"", "default:junglewood", ""}, + } +}) + +minetest.register_craft({ + output = "default:mese_post_light_pine_wood 3", + recipe = { + {"", "default:glass", ""}, + {"default:mese_crystal", "default:mese_crystal", "default:mese_crystal"}, + {"", "default:pine_wood", ""}, + } +}) + +minetest.register_craft({ + output = "default:mese_post_light_aspen_wood 3", + recipe = { + {"", "default:glass", ""}, + {"default:mese_crystal", "default:mese_crystal", "default:mese_crystal"}, + {"", "default:aspen_wood", ""}, } }) diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index cd465934..f78bea50 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -221,6 +221,10 @@ default:brick default:meselamp default:mese_post_light +default:mese_post_light_acacia_wood +default:mese_post_light_junglewood +default:mese_post_light_pine_wood +default:mese_post_light_aspen_wood Misc ---- @@ -2836,10 +2840,109 @@ minetest.register_node("default:meselamp", { }) minetest.register_node("default:mese_post_light", { - description = S("Mese Post Light"), - tiles = {"default_mese_post_light_top.png", "default_mese_post_light_top.png", - "default_mese_post_light_side_dark.png", "default_mese_post_light_side_dark.png", - "default_mese_post_light_side.png", "default_mese_post_light_side.png"}, + description = S("Apple Wood Mese Post Light"), + tiles = {"default_wood.png", "default_wood.png", + "default_wood.png^default_mese_post_light_side_dark.png", + "default_wood.png^default_mese_post_light_side_dark.png", + "default_wood.png^default_mese_post_light_side.png", + "default_wood.png^default_mese_post_light_side.png" + }, + wield_image = "default_mese_post_light_side.png", + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = { + {-2 / 16, -8 / 16, -2 / 16, 2 / 16, 8 / 16, 2 / 16}, + }, + }, + paramtype = "light", + light_source = default.LIGHT_MAX, + sunlight_propagates = true, + is_ground_content = false, + groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_node("default:mese_post_light_acaciawood", { + description = S("Acacia Wood Mese Post Light"), + tiles = {"default_acacia_wood.png", "default_acacia_wood.png", + "default_acacia_wood.png^default_mese_post_light_side_dark.png", + "default_acacia_wood.png^default_mese_post_light_side_dark.png", + "default_acacia_wood.png^default_mese_post_light_side.png", + "default_acacia_wood.png^default_mese_post_light_side.png" + }, + wield_image = "default_mese_post_light_side.png", + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = { + {-2 / 16, -8 / 16, -2 / 16, 2 / 16, 8 / 16, 2 / 16}, + }, + }, + paramtype = "light", + light_source = default.LIGHT_MAX, + sunlight_propagates = true, + is_ground_content = false, + groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_node("default:mese_post_light_junglewood", { + description = S("Jungle Wood Mese Post Light"), + tiles = {"default_junglewood.png", "default_junglewood.png", + "default_junglewood.png^default_mese_post_light_side_dark.png", + "default_junglewood.png^default_mese_post_light_side_dark.png", + "default_junglewood.png^default_mese_post_light_side.png", + "default_junglewood.png^default_mese_post_light_side.png" + }, + wield_image = "default_mese_post_light_side.png", + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = { + {-2 / 16, -8 / 16, -2 / 16, 2 / 16, 8 / 16, 2 / 16}, + }, + }, + paramtype = "light", + light_source = default.LIGHT_MAX, + sunlight_propagates = true, + is_ground_content = false, + groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_node("default:mese_post_light_pine_wood", { + description = S("Pine Wood Mese Post Light"), + tiles = {"default_pine_wood.png", "default_pine_wood.png", + "default_pine_wood.png^default_mese_post_light_side_dark.png", + "default_pine_wood.png^default_mese_post_light_side_dark.png", + "default_pine_wood.png^default_mese_post_light_side.png", + "default_pine_wood.png^default_mese_post_light_side.png" + }, + wield_image = "default_mese_post_light_side.png", + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = { + {-2 / 16, -8 / 16, -2 / 16, 2 / 16, 8 / 16, 2 / 16}, + }, + }, + paramtype = "light", + light_source = default.LIGHT_MAX, + sunlight_propagates = true, + is_ground_content = false, + groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_node("default:mese_post_light_aspen_wood", { + description = S("Aspen Wood Mese Post Light"), + tiles = {"default_aspen_wood.png", "default_aspen_wood.png", + "default_aspen_wood.png^default_mese_post_light_side_dark.png", + "default_aspen_wood.png^default_mese_post_light_side_dark.png", + "default_aspen_wood.png^default_mese_post_light_side.png", + "default_aspen_wood.png^default_mese_post_light_side.png" + }, wield_image = "default_mese_post_light_side.png", drawtype = "nodebox", node_box = { diff --git a/mods/default/textures/default_mese_post_light_side.png b/mods/default/textures/default_mese_post_light_side.png index c23b551a..0e169fec 100644 Binary files a/mods/default/textures/default_mese_post_light_side.png and b/mods/default/textures/default_mese_post_light_side.png differ diff --git a/mods/default/textures/default_mese_post_light_side_dark.png b/mods/default/textures/default_mese_post_light_side_dark.png index c4fc7cea..68ebb687 100644 Binary files a/mods/default/textures/default_mese_post_light_side_dark.png and b/mods/default/textures/default_mese_post_light_side_dark.png differ diff --git a/mods/default/textures/default_mese_post_light_top.png b/mods/default/textures/default_mese_post_light_top.png deleted file mode 100644 index 365c1a78..00000000 Binary files a/mods/default/textures/default_mese_post_light_top.png and /dev/null differ