123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383 |
- -- Register default stairs and slabs
- --
- -- ICE! stairs and slabs. By MustTest
- stairs.register_stair_and_slab(
- "ice",
- "default:ice",
- {cracky = 3, puts_out_fire = 1, cold = 1, slippery = 1},
- {"default_ice.png"},
- "Ice",
- default.node_sound_glass_defaults()
- )
- stairs.register_stair_and_slab(
- "wood",
- "basictrees:tree_wood",
- {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
- {"default_wood.png"},
- "Wooden",
- default.node_sound_wood_defaults()
- )
- stairs.register_stair_and_slab(
- "junglewood",
- "basictrees:jungletree_wood",
- {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
- {"default_junglewood.png"},
- "Jungle Wood",
- default.node_sound_wood_defaults()
- )
- stairs.register_stair_and_slab(
- "pine_wood",
- "basictrees:pine_wood",
- {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
- {"default_pine_wood.png"},
- "Pine Wood",
- default.node_sound_wood_defaults()
- )
- stairs.register_stair_and_slab(
- "acacia_wood",
- "basictrees:acacia_wood",
- {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
- {"default_acacia_wood.png"},
- "Acacia Wood",
- default.node_sound_wood_defaults()
- )
- stairs.register_stair_and_slab(
- "aspen_wood",
- "basictrees:aspen_wood",
- {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
- {"default_aspen_wood.png"},
- "Aspen Wood",
- default.node_sound_wood_defaults()
- )
- stairs.register_stair_and_slab(
- "stone",
- "default:stone",
- {cracky = 3},
- {"default_stone.png"},
- "Stone",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "cobble",
- "default:cobble",
- {cracky = 3},
- {"default_cobble.png"},
- "Cobblestone",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "mossycobble",
- "default:mossycobble",
- {cracky = 3},
- {"default_mossycobble.png"},
- "Mossy Cobblestone",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "stonebrick",
- "default:stonebrick",
- {cracky = 2},
- {"default_stone_brick.png"},
- "Stone Brick",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "stone_block",
- "default:stone_block",
- {cracky = 2},
- {"default_stone_block.png"},
- "Stone Block",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "desert_stone",
- "default:desert_stone",
- {cracky = 3},
- {"default_desert_stone.png"},
- "Redstone",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "desert_cobble",
- "default:desert_cobble",
- {cracky = 3},
- {"default_desert_cobble.png"},
- "Chalked Cobble Redstone",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "desert_cobble2",
- "default:desert_cobble2",
- {cracky = 3},
- {"default_desert_cobble2.png"},
- "Cobble Redstone",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "desert_stonebrick",
- "default:desert_stonebrick",
- {cracky = 2},
- {"default_desert_stone_brick.png"},
- "Redstone Brick",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "desert_stone_block",
- "default:desert_stone_block",
- {cracky = 2},
- {"default_desert_stone_block.png"},
- "Redstone Block",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "sandstone",
- "default:sandstone",
- {cracky = 3},
- {"default_sandstone.png"},
- "Sandstone",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "sandstonebrick",
- "default:sandstonebrick",
- {cracky = 2},
- {"default_sandstone_brick.png"},
- "Sandstone Brick",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "sandstone_block",
- "default:sandstone_block",
- {cracky = 2},
- {"default_sandstone_block.png"},
- "Sandstone Block",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "desert_sandstone",
- "default:desert_sandstone",
- {cracky = 3},
- {"default_desert_sandstone.png"},
- "Desert Sandstone",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "desert_sandstonebrick",
- "default:desert_sandstone_brick",
- {cracky = 2},
- {"default_desert_sandstone_brick.png"},
- "Desert Sandstone Brick",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "desert_sandstone_block",
- "default:desert_sandstone_block",
- {cracky = 2},
- {"default_desert_sandstone_block.png"},
- "Desert Sandstone Block",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "silver_sandstone",
- "default:silver_sandstone",
- {cracky = 3},
- {"default_silver_sandstone.png"},
- "Silver Sandstone",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "silver_sandstonebrick",
- "default:silver_sandstone_brick",
- {cracky = 2},
- {"default_silver_sandstone_brick.png"},
- "Silver Sandstone Brick",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "silver_sandstone_block",
- "default:silver_sandstone_block",
- {cracky = 2},
- {"default_silver_sandstone_block.png"},
- "Silver Sandstone Block",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "obsidian",
- "default:obsidian",
- {cracky = 1, level = 2},
- {"default_obsidian.png"},
- "Obsidian",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "obsidianbrick",
- "default:obsidianbrick",
- {cracky = 1, level = 2},
- {"default_obsidian_brick.png"},
- "Obsidian Brick",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "obsidian_block",
- "default:obsidian_block",
- {cracky = 1, level = 2},
- {"default_obsidian_block.png"},
- "Obsidian Block",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "brick",
- "default:brick",
- {cracky = 3},
- {"default_brick.png"},
- "Brick",
- default.node_sound_stone_defaults()
- )
- stairs.register_stair_and_slab(
- "straw",
- "farming:straw",
- {snappy = 3, flammable = 4},
- {"farming_straw.png"},
- "Straw",
- default.node_sound_leaves_defaults()
- )
- stairs.register_stair_and_slab(
- "straw_weathered",
- "farming:straw_weathered",
- {snappy = 3, flammable = 4},
- {"farming_straw_weathered.png"},
- "Weathered Straw",
- default.node_sound_leaves_defaults()
- )
- stairs.register_stair_and_slab(
- "steelblock",
- "default:steelblock",
- {cracky = 1, level = 2},
- {"default_steel_block.png"},
- "Wrought Iron Block",
- default.node_sound_metal_defaults()
- )
- stairs.register_stair_and_slab(
- "copperblock",
- "default:copperblock",
- {cracky = 1, level = 2},
- {"default_copper_block.png"},
- "Copper Block",
- default.node_sound_metal_defaults()
- )
- stairs.register_stair_and_slab(
- "bronzeblock",
- "default:bronzeblock",
- {cracky = 1, level = 2},
- {"default_bronze_block.png"},
- "Bronze Block",
- default.node_sound_metal_defaults()
- )
- stairs.register_stair_and_slab(
- "goldblock",
- "default:goldblock",
- {cracky = 1},
- {"default_gold_block.png"},
- "Gold Block",
- default.node_sound_metal_defaults()
- )
- stairs.register_stair_and_slab(
- "snowblock",
- "default:snowblock",
- {
- level = 1,
- crumbly = 3,
- puts_out_fire = 1,
- snow = 1,
- snowy = 1,
- falling_node = 1,
- melts = 1,
- },
- {"default_snow.png"},
- "Snow Block",
- default.node_sound_snow_defaults()
- )
- stairs.register_stair_and_slab(
- "default_glass",
- "default:glass",
- {cracky = 3, oddly_breakable_by_hand = 3},
- {"default_glass.png"},
- "Glass",
- default.node_sound_glass_defaults()
- )
- minetest.override_item("stairs:slab_default_glass", {
- sunlight_propagates = true,
- })
- minetest.override_item("stairs:stair_default_glass", {
- sunlight_propagates = true,
- })
- stairs.register_stair_and_slab(
- "obsidian_glass",
- "default:obsidian_glass",
- {cracky = 3, oddly_breakable_by_hand = 3},
- {"default_obsidian_glass.png"},
- "Obsidian Glass",
- default.node_sound_glass_defaults()
- )
- minetest.override_item("stairs:slab_obsidian_glass", {
- sunlight_propagates = true,
- })
- minetest.override_item("stairs:stair_obsidian_glass", {
- sunlight_propagates = true,
- })
- stairs.register_stair_and_slab(
- "meselamp",
- "default:meselamp",
- {level = 2, cracky = 3},
- {"default_meselamp.png"},
- "Mese Lamp",
- default.node_sound_glass_defaults()
- )
- minetest.override_item("stairs:slab_meselamp", {
- sunlight_propagates = true,
- light_source = default.LIGHT_MAX-1,
- })
- minetest.override_item("stairs:stair_meselamp", {
- sunlight_propagates = true,
- light_source = default.LIGHT_MAX-1,
- })
|