diff --git a/mods/decoblocks/nodes.lua b/mods/decoblocks/nodes.lua index c4f6f8a..36cb8ad 100644 --- a/mods/decoblocks/nodes.lua +++ b/mods/decoblocks/nodes.lua @@ -1246,6 +1246,29 @@ minetest.register_node("decoblocks:polar_bear_rug", { sounds = default.node_sound_stone_defaults(), }) +minetest.register_node("decoblocks:plank_walkway", { + description = "Wood Plank Walkway", + tiles = { + "decoblocks_wood_planks.png", + "decoblocks_wood_planks.png", + "default_wood.png", + }, + drawtype = "nodebox", + paramtype = "light", + paramtype2 = "facedir", + node_box = { + type = "fixed", + fixed = { + {-0.5, 0.4375, -0.5, -0.3125, 0.5, 0.5}, -- NodeBox1 + {-0.25, 0.4375, -0.4375, -0.0625, 0.5, 0.5}, -- NodeBox2 + {0, 0.4375, -0.5, 0.1875, 0.5, 0.5}, -- NodeBox3 + {0.25, 0.4375, -0.375, 0.4375, 0.5, 0.5}, -- NodeBox4 + } + }, + sounds = default.node_sound_wood_defaults(), + groups = {choppy=1,} +}) + --stained glass local colours = { @@ -1269,6 +1292,14 @@ local colours = { for _, row in ipairs(colours) do local colour = row[1] local desc = row[2] +minetest.register_node("decoblocks:"..colour.."_glass", { + description = ""..desc.." Stained Glass", + drawtype = "glasslike", + tiles = {"decoblocks_"..colour.."_glass.png"}, + use_texture_alpha = true, + sounds = default.node_sound_glass_defaults(), + groups = {cracky=1, oddly_breakable_by_hand=3, snappy=2} +}) xpanes.register_pane(""..colour.."_glass", { description = ""..desc.." Stained Glass Pane", textures = {"decoblocks_"..colour.."_glass.png","decoblocks_"..colour.."_glass.png","decoblocks_"..colour.."_glass.png"}, diff --git a/mods/decoblocks/textures/decoblocks_wood_planks.png b/mods/decoblocks/textures/decoblocks_wood_planks.png new file mode 100644 index 0000000..fac9533 Binary files /dev/null and b/mods/decoblocks/textures/decoblocks_wood_planks.png differ diff --git a/mods/simple_skins/textures/character_2.png b/mods/simple_skins/textures/character_2.png index 003e063..ca941fc 100644 Binary files a/mods/simple_skins/textures/character_2.png and b/mods/simple_skins/textures/character_2.png differ diff --git a/mods/stm_nodes/init.lua b/mods/stm_nodes/init.lua index daf7fae..49d4207 100644 --- a/mods/stm_nodes/init.lua +++ b/mods/stm_nodes/init.lua @@ -148,6 +148,52 @@ minetest.register_node("stm_nodes:hopper", { end }) +minetest.register_node("stm_nodes:chimney_cap", { + description = "Tin Chimney Cap", + tiles = { + "stm_nodes_chimney_cap.png", + "stm_nodes_chimney_top.png", + "stm_nodes_chimney_cap_side.png", + }, + drawtype = "nodebox", + paramtype = "light", + node_box = { + type = "fixed", + fixed = { + {-0.3125, -0.125, -0.3125, 0.3125, 0, 0.3125}, -- NodeBox0 + {-0.25, 0, -0.25, 0.25, 0.125, 0.25}, -- NodeBox1 + {-0.0625, 0.1875, -0.0625, 0.0625, 0.5, 0.0625}, -- NodeBox2 + {-0.1875, 0.125, -0.1875, 0.1875, 0.25, 0.1875}, -- NodeBox3 + {-0.125, 0.25, -0.125, 0.125, 0.375, 0.125}, -- NodeBox4 + } + }, + sounds = default.node_sound_metal_defaults(), + groups = {cracky=1} +}) + +minetest.register_node("stm_nodes:chimney_cap2", { + description = "Copper Chimney Cap", + tiles = { + "stm_nodes_chimney_cap2.png", + "stm_nodes_chimney_top2.png", + "stm_nodes_chimney_cap_side2.png", + }, + drawtype = "nodebox", + paramtype = "light", + node_box = { + type = "fixed", + fixed = { + {-0.3125, -0.125, -0.3125, 0.3125, 0, 0.3125}, -- NodeBox0 + {-0.25, 0, -0.25, 0.25, 0.125, 0.25}, -- NodeBox1 + {-0.0625, 0.1875, -0.0625, 0.0625, 0.5, 0.0625}, -- NodeBox2 + {-0.1875, 0.125, -0.1875, 0.1875, 0.25, 0.1875}, -- NodeBox3 + {-0.125, 0.25, -0.125, 0.125, 0.375, 0.125}, -- NodeBox4 + } + }, + sounds = default.node_sound_metal_defaults(), + groups = {cracky=1} +}) + minetest.register_node("stm_nodes:chimney", { description = "Tin Chimney", @@ -225,6 +271,45 @@ minetest.register_abm({ end }) +minetest.register_node("stm_nodes:porthole", { + description = "Porthole", + tiles = { + "stm_nodes_block.png", + "stm_nodes_block.png", + "stm_nodes_block.png", + "stm_nodes_block.png", + "stm_nodes_porthole.png", + "stm_nodes_porthole.png" + }, + drawtype = "nodebox", + paramtype = "light", + paramtype2 = "facedir", + node_box = { + type = "fixed", + fixed = { + {0.1875, -0.3125, 0.3125, 0.3125, 0.3125, 0.5}, -- NodeBox1 + {-0.3125, -0.3125, 0.3125, -0.1875, 0.3125, 0.5}, -- NodeBox2 + {-0.3125, 0.1875, 0.3125, 0.3125, 0.3125, 0.5}, -- NodeBox3 + {-0.3125, -0.3125, 0.3125, 0.3125, -0.1875, 0.5}, -- NodeBox4 + {-0.25, 0.3125, 0.3125, 0.25, 0.375, 0.5}, -- NodeBox5 + {0.3125, -0.25, 0.3125, 0.375, 0.25, 0.5}, -- NodeBox6 + {-0.375, -0.25, 0.3125, -0.3125, 0.25, 0.5}, -- NodeBox7 + {-0.25, -0.375, 0.3125, 0.25, -0.3125, 0.5}, -- NodeBox8 + {-0.1875, 0.125, 0.3125, -0.125, 0.1875, 0.5}, -- NodeBox9 + {0.125, 0.125, 0.3125, 0.1875, 0.1875, 0.5}, -- NodeBox10 + {-0.1875, -0.1875, 0.3125, -0.125, -0.125, 0.5}, -- NodeBox11 + {0.125, -0.1875, 0.3125, 0.1875, -0.125, 0.5}, -- NodeBox12 + {-0.5, -0.5, 0.5, -0.1875, 0.5, 0.5}, -- NodeBox14 + {-0.5, 0.25, 0.5, 0.5, 0.5, 0.5}, -- NodeBox15 + {0.25, -0.5, 0.5, 0.5, 0.5, 0.5}, -- NodeBox16 + {-0.5, -0.5, 0.5, 0.5, -0.25, 0.5}, -- NodeBox17 + {-0.1875, -0.1875, 0.375, 0.1875, 0.1875, 0.375}, -- NodeBox18 + } + }, + sounds = default.node_sound_metal_defaults, + groups = {cracky=1, snappy=1} +}) + minetest.register_node("stm_nodes:tank", { description = "Small Tin Boiler", tiles = { diff --git a/mods/stm_nodes/textures/stm_nodes_chimney_cap.png b/mods/stm_nodes/textures/stm_nodes_chimney_cap.png new file mode 100644 index 0000000..da5ad7d Binary files /dev/null and b/mods/stm_nodes/textures/stm_nodes_chimney_cap.png differ diff --git a/mods/stm_nodes/textures/stm_nodes_chimney_cap2.png b/mods/stm_nodes/textures/stm_nodes_chimney_cap2.png new file mode 100644 index 0000000..1066352 Binary files /dev/null and b/mods/stm_nodes/textures/stm_nodes_chimney_cap2.png differ diff --git a/mods/stm_nodes/textures/stm_nodes_chimney_cap_side.png b/mods/stm_nodes/textures/stm_nodes_chimney_cap_side.png new file mode 100644 index 0000000..896718d Binary files /dev/null and b/mods/stm_nodes/textures/stm_nodes_chimney_cap_side.png differ diff --git a/mods/stm_nodes/textures/stm_nodes_chimney_cap_side2.png b/mods/stm_nodes/textures/stm_nodes_chimney_cap_side2.png new file mode 100644 index 0000000..7b2b798 Binary files /dev/null and b/mods/stm_nodes/textures/stm_nodes_chimney_cap_side2.png differ diff --git a/mods/stm_nodes/textures/stm_nodes_porthole.png b/mods/stm_nodes/textures/stm_nodes_porthole.png new file mode 100644 index 0000000..b764d9b Binary files /dev/null and b/mods/stm_nodes/textures/stm_nodes_porthole.png differ diff --git a/mods/xpanes/init.lua b/mods/xpanes/init.lua index 39d67c1..fcfb328 100644 --- a/mods/xpanes/init.lua +++ b/mods/xpanes/init.lua @@ -126,6 +126,7 @@ function xpanes.register_pane(name, def) sunlight_propagates = true, description = def.description, tiles = {def.textures[3], def.textures[3], def.textures[1]}, + use_texture_alpha = true, groups = groups, drop = "xpanes:" .. name .. "_flat", sounds = def.sounds,