D00Med update 20/11/17
>added coloured glass blocks >fixed coloured glass panes >added decorative nodes for towers
@ -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"},
|
||||
|
BIN
mods/decoblocks/textures/decoblocks_wood_planks.png
Normal file
After Width: | Height: | Size: 754 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
@ -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 = {
|
||||
|
BIN
mods/stm_nodes/textures/stm_nodes_chimney_cap.png
Normal file
After Width: | Height: | Size: 375 B |
BIN
mods/stm_nodes/textures/stm_nodes_chimney_cap2.png
Normal file
After Width: | Height: | Size: 375 B |
BIN
mods/stm_nodes/textures/stm_nodes_chimney_cap_side.png
Normal file
After Width: | Height: | Size: 269 B |
BIN
mods/stm_nodes/textures/stm_nodes_chimney_cap_side2.png
Normal file
After Width: | Height: | Size: 273 B |
BIN
mods/stm_nodes/textures/stm_nodes_porthole.png
Normal file
After Width: | Height: | Size: 754 B |
@ -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,
|
||||
|