Add metal stairs

master
Wuzzy 2017-12-18 21:50:07 +01:00
parent fa45ef0f66
commit cf2b371eaf
4 changed files with 42 additions and 8 deletions

View File

@ -2005,20 +2005,18 @@ minetest.register_node("default:mossycobble", {
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("default:coalblock", {
description = "Coal Block",
tiles = {"default_coal_block.png"},
is_ground_content = true,
is_ground_content = false,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("default:steelblock", {
description = "Steel Block",
tiles = {"default_steel_block.png"},
is_ground_content = true,
is_ground_content = false,
groups = {cracky=1,level=2},
sounds = default.node_sound_heavy_metal_defaults(),
})
@ -2026,7 +2024,7 @@ minetest.register_node("default:steelblock", {
minetest.register_node("default:tinblock", {
description = "Tin Block",
tiles = {"default_tin_block.png"},
is_ground_content = true,
is_ground_content = false,
groups = {cracky=1,level=2},
sounds = default.node_sound_heavy_metal_defaults(),
})
@ -2034,7 +2032,7 @@ minetest.register_node("default:tinblock", {
minetest.register_node("default:copperblock", {
description = "Copper Block",
tiles = {"default_copper_block.png"},
is_ground_content = true,
is_ground_content = false,
groups = {cracky=1,level=2},
sounds = default.node_sound_heavy_metal_defaults(),
})
@ -2043,7 +2041,7 @@ minetest.register_node("default:copperblock", {
minetest.register_node("default:bronzeblock", {
description = "Bronze Block",
tiles = {"default_bronze_block.png"},
is_ground_content = true,
is_ground_content = false,
groups = {cracky=1,level=2},
sounds = default.node_sound_heavy_metal_defaults(),
})
@ -2062,7 +2060,7 @@ minetest.register_alias("default:mese_block", "default:mese")
minetest.register_node("default:goldblock", {
description = "Gold Block",
tiles = {"default_gold_block.png"},
is_ground_content = true,
is_ground_content = false,
groups = {cracky=1},
sounds = default.node_sound_heavy_metal_defaults(),
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -504,6 +504,42 @@ stairs.register_stair_and_slab("colwood_yellow", "default:colwood_yellow",
default.node_sound_wood_defaults())
--
stairs.register_stair_and_slab("steelblock", "default:steelblock",
{cracky=1,level=2},
{"default_steel_block.png"},
"Steel Block Stair",
"Outer Steel Block Stair",
"Inner Steel Block Stair",
"Steel Block Slab",
default.node_sound_metal_defaults())
stairs.register_stair_and_slab("copperblock", "default:copperblock",
{cracky=1,level=2},
{"default_copper_block.png"},
"Copper Block Stair",
"Outer Copper Block Stair",
"Inner Copper Block Stair",
"Copper Block Slab",
default.node_sound_metal_defaults())
stairs.register_stair_and_slab("bronzeblock", "default:bronzeblock",
{cracky=1,level=2},
{"default_bronze_block.png"},
"Bronze Block Stair",
"Outer Bronze Block Stair",
"Inner Bronze Block Stair",
"Bronze Block Slab",
default.node_sound_metal_defaults())
stairs.register_stair_and_slab("goldblock", "default:goldblock",
{cracky=1},
{"default_gold_block.png"},
"Gold Block Stair",
"Outer Gold Block Stair",
"Inner Gold Block Stair",
"Bronze Gold Slab",
default.node_sound_metal_defaults())
stairs.register_stair_and_slab("stone", "default:stone",
{cracky=3},
{"default_stone.png"},