2016-03-23 14:23:05 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- Stairs Redo
|
|
|
|
if stairs and stairs.mod and stairs.mod == "redo" then
|
2016-03-23 14:23:05 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
stairs.register_all("crystal_block", "ethereal:crystal_block",
|
2016-03-23 14:23:05 +03:00
|
|
|
{cracky = 1, level = 2},
|
2014-11-09 22:17:41 +03:00
|
|
|
{"crystal_block.png"},
|
|
|
|
"Crystal Block Stair",
|
|
|
|
"Crystal Block Slab",
|
|
|
|
default.node_sound_glass_defaults())
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
stairs.register_all("icebrick", "ethereal:icebrick",
|
2016-03-23 14:23:05 +03:00
|
|
|
{crumbly = 3, melts = 1},
|
2014-11-09 22:17:41 +03:00
|
|
|
{"brick_ice.png"},
|
|
|
|
"Ice Brick Stair",
|
|
|
|
"Ice Brick Slab",
|
|
|
|
default.node_sound_glass_defaults())
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
stairs.register_all("snowbrick", "ethereal:snowbrick",
|
2016-03-23 14:23:05 +03:00
|
|
|
{crumbly = 3, melts = 1},
|
2014-11-09 22:17:41 +03:00
|
|
|
{"brick_snow.png"},
|
|
|
|
"Snow Brick Stair",
|
|
|
|
"Snow Brick Slab",
|
|
|
|
default.node_sound_dirt_defaults({
|
2015-07-04 14:22:39 +03:00
|
|
|
footstep = {name = "default_snow_footstep", gain = 0.25},
|
|
|
|
dug = {name = "default_snow_footstep", gain = 0.75},
|
2014-11-09 22:17:41 +03:00
|
|
|
}))
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
stairs.register_all("dry_dirt", "ethereal:dry_dirt",
|
2016-03-23 14:23:05 +03:00
|
|
|
{crumbly = 3},
|
2014-11-09 22:17:41 +03:00
|
|
|
{"ethereal_dry_dirt.png"},
|
|
|
|
"Dry Dirt Stair",
|
|
|
|
"Dry Dirt Slab",
|
|
|
|
default.node_sound_dirt_defaults())
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
stairs.register_all("mushroom_trunk", "ethereal:mushroom_trunk",
|
2016-03-23 14:23:05 +03:00
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
2014-11-09 22:17:41 +03:00
|
|
|
{"mushroom_trunk.png"},
|
|
|
|
"Mushroom Trunk Stair",
|
|
|
|
"Mushroom Trunk Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
stairs.register_all("mushroom", "ethereal:mushroom",
|
2016-03-23 14:23:05 +03:00
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
2014-11-09 22:17:41 +03:00
|
|
|
{"mushroom_block.png"},
|
|
|
|
"Mushroom Top Stair",
|
|
|
|
"Mushroom Top Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
stairs.register_all("frost_wood", "ethereal:frost_wood",
|
2016-03-23 14:23:05 +03:00
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, put_out_fire = 1},
|
2014-11-09 22:17:41 +03:00
|
|
|
{"frost_wood.png"},
|
|
|
|
"Frost Wood Stair",
|
|
|
|
"Frost Wood Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
stairs.register_all("yellow_wood", "ethereal:yellow_wood",
|
2016-03-23 14:23:05 +03:00
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, put_out_fire = 1},
|
2014-11-09 22:17:41 +03:00
|
|
|
{"yellow_wood.png"},
|
|
|
|
"Healing Wood Stair",
|
|
|
|
"Healing Wood Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
stairs.register_all("palm_wood", "ethereal:palm_wood",
|
2016-03-23 14:23:05 +03:00
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
2014-11-09 22:17:41 +03:00
|
|
|
{"moretrees_palm_wood.png"},
|
|
|
|
"Palm Wood Stair",
|
|
|
|
"Palm Wood Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
stairs.register_all("birch_wood", "ethereal:birch_wood",
|
2016-03-23 14:23:05 +03:00
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
2015-11-14 13:21:06 +03:00
|
|
|
{"moretrees_birch_wood.png"},
|
|
|
|
"Birch Wood Stair",
|
|
|
|
"Birch Wood Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
stairs.register_all("banana_wood", "ethereal:banana_wood",
|
2016-03-23 14:23:05 +03:00
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
2014-11-09 22:17:41 +03:00
|
|
|
{"banana_wood.png"},
|
|
|
|
"Banana Wood Stair",
|
|
|
|
"Banana Wood Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
stairs.register_all("willow_wood", "ethereal:willow_wood",
|
2016-03-23 14:23:05 +03:00
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
2014-11-09 22:17:41 +03:00
|
|
|
{"willow_wood.png"},
|
|
|
|
"Willow Wood Stair",
|
|
|
|
"Willow Wood Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
stairs.register_all("redwood_wood", "ethereal:redwood_wood",
|
2016-03-23 14:23:05 +03:00
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
2014-11-09 22:17:41 +03:00
|
|
|
{"redwood_wood.png"},
|
|
|
|
"Redwood stair",
|
|
|
|
"Redwood Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
2016-03-23 14:23:05 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
stairs.register_all("bamboo_wood", "ethereal:bamboo_floor",
|
|
|
|
{snappy = 3, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
|
|
|
{"bamboo_floor.png"},
|
|
|
|
"Bamboo stair",
|
|
|
|
"Bamboo Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
2016-03-23 14:23:05 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- Stairs Plus (in More Blocks)
|
|
|
|
elseif minetest.global_exists("stairsplus") then
|
2016-03-23 14:23:05 +03:00
|
|
|
|
|
|
|
stairsplus:register_all("ethereal", "crystal_block", "ethereal:crystal_block", {
|
|
|
|
description = "Crystal block",
|
|
|
|
tiles = {"crystal_block.png"},
|
|
|
|
groups = {cracky = 1, falling_node = 1, puts_out_fire = 1},
|
|
|
|
sounds = default.node_sound_glass_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("ethereal", "icebrick", "ethereal:icebrick", {
|
|
|
|
description = "Ice Brick",
|
|
|
|
tiles = {"brick_ice.png"},
|
|
|
|
groups = {crumbly = 3, melts = 1},
|
|
|
|
sounds = default.node_sound_glass_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("ethereal", "snowbrick", "ethereal:snowbrick", {
|
|
|
|
description = "Snow Brick",
|
|
|
|
tiles = {"brick_snow.png"},
|
|
|
|
groups = {crumbly = 3, melts = 1},
|
|
|
|
sounds = default.node_sound_dirt_defaults({
|
|
|
|
footstep = {name = "default_snow_footstep", gain = 0.25},
|
|
|
|
dug = {name = "default_snow_footstep", gain = 0.75},
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("ethereal", "dry_dirt", "ethereal:dry_dirt", {
|
|
|
|
description = "Dry Dirt",
|
|
|
|
tiles = {"ethereal_dry_dirt.png"},
|
|
|
|
groups = {crumbly = 3},
|
|
|
|
sounds = default.node_sound_dirt_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("ethereal", "mushroom_trunk", "ethereal:mushroom_trunk", {
|
|
|
|
description = "Mushroom Trunk",
|
|
|
|
tiles = {"mushroom_trunk.png"},
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("ethereal", "mushroom", "ethereal:mushroom", {
|
|
|
|
description = "Mushroom Top",
|
|
|
|
tiles = {"mushroom_block.png"},
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("ethereal", "frost_wood", "ethereal:frost_wood", {
|
|
|
|
description = "Frost Wood",
|
|
|
|
tiles = {"frost_wood.png"},
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 1, put_out_fire = 1},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("ethereal", "yellow_wood", "ethereal:yellow_wood", {
|
|
|
|
description = "Healing Wood",
|
|
|
|
tiles = {"yellow_wood.png"},
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 1, put_out_fire = 1},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("ethereal", "palm_wood", "ethereal:palm_wood", {
|
|
|
|
description = "Palm Wood",
|
|
|
|
tiles = {"moretrees_palm_wood.png"},
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("ethereal", "birch_wood", "ethereal:birch_wood", {
|
|
|
|
description = "Birch Wood",
|
|
|
|
tiles = {"moretrees_birch_wood.png"},
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("ethereal", "banana_wood", "ethereal:banana_wood", {
|
|
|
|
description = "Banana Wood",
|
|
|
|
tiles = {"banana_wood.png"},
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("ethereal", "willow_wood", "ethereal:willow_wood", {
|
|
|
|
description = "Willow Wood",
|
|
|
|
tiles = {"willow_wood.png"},
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("ethereal", "redwood_wood", "ethereal:redwood_wood", {
|
|
|
|
description = "Redwood",
|
|
|
|
tiles = {"redwood_wood.png"},
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
stairsplus:register_all("ethereal", "bamboo_wood", "ethereal:bamboo_floor", {
|
|
|
|
description = "Bamboo",
|
|
|
|
tiles = {"bamboo_floor.png"},
|
|
|
|
groups = {snappy = 3, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Default Stairs
|
|
|
|
else
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("crystal_block", "ethereal:crystal_block",
|
|
|
|
{cracky = 1, level = 2},
|
|
|
|
{"crystal_block.png"},
|
|
|
|
"Crystal Block Stair",
|
|
|
|
"Crystal Block Slab",
|
|
|
|
default.node_sound_glass_defaults())
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("icebrick", "ethereal:icebrick",
|
|
|
|
{crumbly = 3, melts = 1},
|
|
|
|
{"brick_ice.png"},
|
|
|
|
"Ice Brick Stair",
|
|
|
|
"Ice Brick Slab",
|
|
|
|
default.node_sound_glass_defaults())
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("snowbrick", "ethereal:snowbrick",
|
|
|
|
{crumbly = 3, melts = 1},
|
|
|
|
{"brick_snow.png"},
|
|
|
|
"Snow Brick Stair",
|
|
|
|
"Snow Brick Slab",
|
|
|
|
default.node_sound_dirt_defaults({
|
|
|
|
footstep = {name = "default_snow_footstep", gain = 0.25},
|
|
|
|
dug = {name = "default_snow_footstep", gain = 0.75},
|
|
|
|
}))
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("dry_dirt", "ethereal:dry_dirt",
|
|
|
|
{crumbly = 3},
|
|
|
|
{"ethereal_dry_dirt.png"},
|
|
|
|
"Dry Dirt Stair",
|
|
|
|
"Dry Dirt Slab",
|
|
|
|
default.node_sound_dirt_defaults())
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("mushroom_trunk", "ethereal:mushroom_trunk",
|
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
|
|
|
{"mushroom_trunk.png"},
|
|
|
|
"Mushroom Trunk Stair",
|
|
|
|
"Mushroom Trunk Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("mushroom", "ethereal:mushroom",
|
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
|
|
|
{"mushroom_block.png"},
|
|
|
|
"Mushroom Top Stair",
|
|
|
|
"Mushroom Top Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("frost_wood", "ethereal:frost_wood",
|
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, put_out_fire = 1},
|
|
|
|
{"frost_wood.png"},
|
|
|
|
"Frost Wood Stair",
|
|
|
|
"Frost Wood Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("yellow_wood", "ethereal:yellow_wood",
|
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, put_out_fire = 1},
|
|
|
|
{"yellow_wood.png"},
|
|
|
|
"Healing Wood Stair",
|
|
|
|
"Healing Wood Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("palm_wood", "ethereal:palm_wood",
|
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
|
|
|
{"moretrees_palm_wood.png"},
|
|
|
|
"Palm Wood Stair",
|
|
|
|
"Palm Wood Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("birch_wood", "ethereal:birch_wood",
|
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
|
|
|
{"moretrees_birch_wood.png"},
|
|
|
|
"Birch Wood Stair",
|
|
|
|
"Birch Wood Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("banana_wood", "ethereal:banana_wood",
|
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
|
|
|
{"banana_wood.png"},
|
|
|
|
"Banana Wood Stair",
|
|
|
|
"Banana Wood Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("willow_wood", "ethereal:willow_wood",
|
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
|
|
|
{"willow_wood.png"},
|
|
|
|
"Willow Wood Stair",
|
|
|
|
"Willow Wood Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("redwood_wood", "ethereal:redwood_wood",
|
|
|
|
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
|
|
|
{"redwood_wood.png"},
|
|
|
|
"Redwood stair",
|
|
|
|
"Redwood Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("bamboo_wood", "ethereal:bamboo_floor",
|
|
|
|
{snappy = 3, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
|
|
|
{"bamboo_floor.png"},
|
|
|
|
"Bamboo stair",
|
|
|
|
"Bamboo Slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
|
|
|
end
|