diff --git a/mods/mapgen/mapgen.lua b/mods/mapgen/mapgen.lua index c5b435c..258b9b7 100644 --- a/mods/mapgen/mapgen.lua +++ b/mods/mapgen/mapgen.lua @@ -197,7 +197,7 @@ --dirt with leaves - minetest.register_ore({ + --[[minetest.register_ore({ ore_type = "blob", ore = "mapgen:dirt_with_leafygrass", wherein = {"default:dirt_with_grass"}, @@ -215,7 +215,7 @@ persist = 0.0 }, biomes = {"bamboo_forest",} - }) + })]] --coarse dirt diff --git a/mods/stm_nodes/init.lua b/mods/stm_nodes/init.lua index 06eaebe..bd65fb5 100644 --- a/mods/stm_nodes/init.lua +++ b/mods/stm_nodes/init.lua @@ -1,6 +1,6 @@ minetest.register_node("stm_nodes:chimney", { - description = "Chimney", + description = "Tin Chimney", tiles = { "stm_nodes_chimney_top.png", "stm_nodes_chimney_front.png", @@ -23,8 +23,33 @@ minetest.register_node("stm_nodes:chimney", { sounds = default.node_sound_metal_defaults() }) +minetest.register_node("stm_nodes:chimney2", { + description = "Copper Chimney", + tiles = { + "stm_nodes_chimney_top2.png", + "stm_nodes_chimney_front2.png", + "stm_nodes_chimney_side2.png", + "stm_nodes_chimney_side2.png^[transformFX", + "stm_nodes_chimney_front2.png", + "stm_nodes_chimney_front2.png" + }, + drawtype = "nodebox", + paramtype = "light", + paramtype2 = "facedir", + node_box = { + type = "fixed", + fixed = { + {-0.1875, -0.1875, -0.125, 0.1875, 0.1875, 0.5}, -- NodeBox1 + {-0.1875, -0.1875, -0.125, 0.1875, 1, 0.1875}, -- NodeBox2 + } + }, + groups = {cracky = 1, ventilation = 2}, + sounds = default.node_sound_metal_defaults() +}) + + minetest.register_abm({ - nodenames = {"stm_nodes:chimney"}, + nodenames = {"stm_nodes:chimney", "stm_nodes:chimney2"}, interval = 1.0, chance = 2, action = function(pos, node) @@ -51,7 +76,7 @@ minetest.register_abm({ }) minetest.register_node("stm_nodes:tank", { - description = "Small Boiler", + description = "Small Tin Boiler", tiles = { "stm_nodes_boiler_top.png", "stm_nodes_boiler.png", @@ -76,4 +101,32 @@ minetest.register_node("stm_nodes:tank", { }, groups = {cracky = 1, boiler = 1}, sounds = default:node_sound_metal_defaults() +}) + +minetest.register_node("stm_nodes:tank2", { + description = "Small Copper Boiler", + tiles = { + "stm_nodes_boiler_top2.png", + "stm_nodes_boiler2.png", + "stm_nodes_boiler2.png", + "stm_nodes_boiler2.png", + "stm_nodes_boiler2.png", + "stm_nodes_boiler_pipe2.png" + }, + drawtype = "nodebox", + paramtype = "light", + paramtype2 = "facedir", + node_box = { + type = "fixed", + fixed = { + {-0.1875, -0.5, -0.1875, 0.1875, -0.1875, 0.1875}, -- NodeBox1 + {-0.3125, -0.375, -0.25, 0.3125, 0.4375, 0.25}, -- NodeBox2 + {-0.25, -0.375, -0.3125, 0.25, 0.4375, 0.3125}, -- NodeBox3 + {-0.25, -0.4375, -0.25, 0.25, 0.5, 0.25}, -- NodeBox4 + {-0.0625, -0.5, -0.4375, 0.0625, 0.125, -0.3125}, -- NodeBox5 + {-0.0625, 0, -0.4375, 0.0625, 0.125, 0.0625}, -- NodeBox6 + } + }, + groups = {cracky = 1, boiler = 2}, + sounds = default:node_sound_metal_defaults() }) \ No newline at end of file diff --git a/mods/stm_nodes/textures/stm_nodes_boiler2.png b/mods/stm_nodes/textures/stm_nodes_boiler2.png new file mode 100644 index 0000000..bc5190b Binary files /dev/null and b/mods/stm_nodes/textures/stm_nodes_boiler2.png differ diff --git a/mods/stm_nodes/textures/stm_nodes_boiler_pipe2.png b/mods/stm_nodes/textures/stm_nodes_boiler_pipe2.png new file mode 100644 index 0000000..2b11872 Binary files /dev/null and b/mods/stm_nodes/textures/stm_nodes_boiler_pipe2.png differ diff --git a/mods/stm_nodes/textures/stm_nodes_boiler_top2.png b/mods/stm_nodes/textures/stm_nodes_boiler_top2.png new file mode 100644 index 0000000..302addd Binary files /dev/null and b/mods/stm_nodes/textures/stm_nodes_boiler_top2.png differ diff --git a/mods/stm_nodes/textures/stm_nodes_chimney_front2.png b/mods/stm_nodes/textures/stm_nodes_chimney_front2.png new file mode 100644 index 0000000..ccabbf3 Binary files /dev/null and b/mods/stm_nodes/textures/stm_nodes_chimney_front2.png differ diff --git a/mods/stm_nodes/textures/stm_nodes_chimney_side2.png b/mods/stm_nodes/textures/stm_nodes_chimney_side2.png new file mode 100644 index 0000000..aad64f6 Binary files /dev/null and b/mods/stm_nodes/textures/stm_nodes_chimney_side2.png differ diff --git a/mods/stm_nodes/textures/stm_nodes_chimney_top2.png b/mods/stm_nodes/textures/stm_nodes_chimney_top2.png new file mode 100644 index 0000000..3af40cc Binary files /dev/null and b/mods/stm_nodes/textures/stm_nodes_chimney_top2.png differ