From 3aee04287e2b92b5a4335357ce0bb4b8290ec75d Mon Sep 17 00:00:00 2001 From: Tim Date: Mon, 19 Jan 2015 22:54:23 +0100 Subject: [PATCH] register adobe and roofing of building_blocks with the circular saw as well --- building_blocks/init.lua | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/building_blocks/init.lua b/building_blocks/init.lua index b0f30cd..b6c1753 100644 --- a/building_blocks/init.lua +++ b/building_blocks/init.lua @@ -328,6 +328,28 @@ if minetest.get_modpath("moreblocks") then sounds = default.node_sound_stone_defaults(), } ) + stairsplus:register_all( + "building_blocks", + "Adobe", + "building_blocks:Adobe", + { + description = "Adobe", + tiles = {"building_blocks_Adobe.png"}, + groups = {crumbly=3}, + sounds = default.node_sound_stone_defaults(), + } + ) + stairsplus:register_all( + "building_blocks", + "Roofing", + "building_blocks:Roofing", + { + description = "Roofing", + tiles = {"building_blocks_Roofing.png"}, + groups = {snappy=3}, + sounds = default.node_sound_stone_defaults(), + } + ) else bb_stairs = {} @@ -432,6 +454,18 @@ else "Grate Stair", "Grate Slab" ) + bb_stairs.register_stair_and_slab("Adobe", "building_blocks:Adobe", + {crumbly=3}, + {"building_blocks_Adobe.png"}, + "Adobe stair", + "Adobe slab" + ) + bb_stairs.register_stair_and_slab("Roofing", "building_blocks:Roofing", + {snappy=3}, + {"building_blocks_Roofing.png"}, + "Roofing stair", + "Roofing slab" + ) end