new boilers/chimneys and dirt with leaves fix

This commit is contained in:
D00Med 2017-02-19 09:54:37 +10:00
parent a107ac6940
commit 9b6a51d654
8 changed files with 58 additions and 5 deletions

View File

@ -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

View File

@ -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()
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B