1
0
Fork 0

Clean up slabs and stairs

objects
Wuzzy 2017-01-04 06:56:37 +01:00
parent 02133d3031
commit 0dc11b6564
1 changed files with 23 additions and 24 deletions

View File

@ -238,29 +238,29 @@ end
stairs.register_stair_and_slab("wood", "default:wood", stairs.register_stair_and_slab("wood", "default:wood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3}, {snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{"default_wood.png"}, {"default_wood.png"},
"Wooden Stair", "Oak Wood Stair",
"Wooden Slab", "Oak Wood Slab",
default.node_sound_wood_defaults()) default.node_sound_wood_defaults())
stairs.register_stair_and_slab("junglewood", "default:junglewood", stairs.register_stair_and_slab("junglewood", "default:junglewood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3}, {snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{"default_junglewood.png"}, {"default_junglewood.png"},
"Junglewood Stair", "Jungle Wood Stair",
"Junglewood Slab", "Jungle Wood Slab",
default.node_sound_wood_defaults()) default.node_sound_wood_defaults())
stairs.register_stair_and_slab("acaciawood", "default:acaciawood", stairs.register_stair_and_slab("acaciawood", "default:acaciawood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3}, {snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{"default_acaciawood.png"}, {"default_acaciawood.png"},
"Acaciawood Stair", "Acacia Wood Stair",
"Acaciawood Slab", "Acacia Wood Slab",
default.node_sound_wood_defaults()) default.node_sound_wood_defaults())
stairs.register_stair_and_slab("sprucewood", "default:sprucewood", stairs.register_stair_and_slab("sprucewood", "default:sprucewood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3}, {snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{"default_sprucewood.png"}, {"default_sprucewood.png"},
"Sprucewood Stair", "Spruce Wood Stair",
"Sprucewood Slab", "Spruce Wood Slab",
default.node_sound_wood_defaults()) default.node_sound_wood_defaults())
stairs.register_stair_and_slab("stone", "default:stone", stairs.register_stair_and_slab("stone", "default:stone",
@ -273,15 +273,15 @@ stairs.register_stair_and_slab("stone", "default:stone",
stairs.register_stair_and_slab("cobble", "default:cobble", stairs.register_stair_and_slab("cobble", "default:cobble",
{cracky=3}, {cracky=3},
{"default_cobble.png"}, {"default_cobble.png"},
"Cobble Stair", "Cobblestone Stair",
"Cobble Slab", "Cobblestone Slab",
default.node_sound_stone_defaults()) default.node_sound_stone_defaults())
stairs.register_stair_and_slab("brick", "default:brick", stairs.register_stair_and_slab("brick", "default:brick",
{cracky=3}, {cracky=3},
{"default_brick.png"}, {"default_brick.png"},
"Brick Stair", "Bricks Stair",
"Brick Slab", "Bricks Slab",
default.node_sound_stone_defaults()) default.node_sound_stone_defaults())
stairs.register_stair_and_slab("sandstone", "default:sandstone", stairs.register_stair_and_slab("sandstone", "default:sandstone",
@ -291,29 +291,28 @@ stairs.register_stair_and_slab("sandstone", "default:sandstone",
"Sandstone Slab", "Sandstone Slab",
default.node_sound_stone_defaults()) default.node_sound_stone_defaults())
stairs.register_stair_and_slab("redsandstone", "default:redsandstone",
{crumbly=2,cracky=2},
{"default_redsandstone_top.png", "default_redsandstone_bottom.png", "default_redsandstone_normal.png"},
"Red Sandstone Stair",
"Red Sandstone Slab",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("stonebrick", "default:stonebrick", stairs.register_stair_and_slab("stonebrick", "default:stonebrick",
{cracky=3}, {cracky=3},
{"default_stone_brick.png"}, {"default_stone_brick.png"},
"Stone Brick Stair", "Stone Bricks Stair",
"Stone Brick Slab", "Stone Bricks Slab",
default.node_sound_stone_defaults() default.node_sound_stone_defaults()
) )
stairs.register_stair_and_slab("quartzblock", "default:quartz_block", stairs.register_stair_and_slab("quartzblock", "default:quartz_block",
{snappy=1,bendy=2,cracky=1,level=2}, {snappy=1,bendy=2,cracky=1,level=2},
{"default_quartz_block_top.png", "default_quartz_block_bottom.png", "default_quartz_block_side.png"}, {"default_quartz_block_top.png", "default_quartz_block_bottom.png", "default_quartz_block_side.png"},
"Quartz stair", "Quartz Stair",
"Quartz slab", "Quartz Slab",
default.node_sound_stone_defaults() default.node_sound_stone_defaults()
) )
stairs.register_slab("quartzstair", "default:quartz_pillar",
{snappy=1,bendy=2,cracky=1,level=2},
{"default_quartz_pillar_top.png", "default_quartz_pillar_top.png", "default_quartz_pillar_side.png"},
"Quartz Pillar stair",
"Quartz Pillar slab",
default.node_sound_stone_defaults()
)
local time_to_load= os.clock() - init local time_to_load= os.clock() - init
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load)) print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))