From b798cc236ea7a571156d8c78408586b09c34069d Mon Sep 17 00:00:00 2001 From: Wayward1 Date: Wed, 7 Jan 2015 22:05:47 -0500 Subject: [PATCH] Add stairs and slabs Add dungeon stone and castle pavement stairs and slabs, with crafts --- init.lua | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/init.lua b/init.lua index 9589ac1..29e87c4 100644 --- a/init.lua +++ b/init.lua @@ -387,3 +387,48 @@ minetest.register_craft({ } }) +stairs.register_stair_and_slab("dungeon_stone", "castle:dungeon_stone", + {cracky=3}, + {"castle_dungeon_stone.png"}, + "Dungeon Stone Stair", + "Dungeon Stone Slab", + default.node_sound_stone_defaults()) + +stairs.register_stair_and_slab("castle_pavement_brick", "castle:pavement_brick", + {cracky=3}, + {"castle_pavement_brick.png"}, + "Castle Pavement Stair", + "Castle Pavement Slab", + default.node_sound_stone_defaults()) + +minetest.register_craft({ + output = "stairs:slab_dungeon_stone 6", + recipe = { + {"castle:dungeon_stone","castle:dungeon_stone","castle:dungeon_stone"}, + } +}) + +minetest.register_craft({ + output = "stairs:slab_pavement_brick 6", + recipe = { + {"castle:pavement_brick","castle:pavement_brick","castle:pavement_brick"}, + } +}) + +minetest.register_craft({ + output = "stairs:stair_dungeon_stone 4", + recipe = { + {"","","castle:dungeon_stone"}, + {"","castle:dungeon_stone","castle:dungeon_stone"}, + {"castle:dungeon_stone","castle:dungeon_stone","castle:dungeon_stone"}, + } +}) + +minetest.register_craft({ + output = "stairs:stair_pavement_brick 4", + recipe = { + {"","","castle:pavement_brick"}, + {"","castle:pavement_brick","castle:pavement_brick"}, + {"castle:pavement_brick","castle:pavement_brick","castle:pavement_brick"}, + } +})