From 5547acf2fd53a155892cab90a45bb6bfe8d4b0f9 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 5 Jan 2017 03:09:19 +0100 Subject: [PATCH] Update sandstone recipes --- mods/default/crafting.lua | 28 ++++++++++++++++++++++++++-- mods/stairs/init.lua | 16 ++++++++++++++++ 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/mods/default/crafting.lua b/mods/default/crafting.lua index 66a0f339e1..9c03a0afe7 100644 --- a/mods/default/crafting.lua +++ b/mods/default/crafting.lua @@ -56,6 +56,22 @@ minetest.register_craft({ } }) +minetest.register_craft({ + output = 'default:sandstonesmooth 4', + recipe = { + {'default:sandstone','default:sandstone'}, + {'default:sandstone','default:sandstone'}, + } +}) + +minetest.register_craft({ + output = 'default:redsandstonesmooth 4', + recipe = { + {'default:redsandstone','default:redsandstone'}, + {'default:redsandstone','default:redsandstone'}, + } +}) + minetest.register_craft({ output = 'default:stick 4', recipe = { @@ -417,8 +433,16 @@ minetest.register_craft({ minetest.register_craft({ output = 'default:sandstone', recipe = { - {'group:sand', 'group:sand'}, - {'group:sand', 'group:sand'}, + {'default:sand', 'default:sand'}, + {'default:sand', 'default:sand'}, + } +}) + +minetest.register_craft({ + output = 'default:redsandstone', + recipe = { + {'default:redsand', 'default:redsand'}, + {'default:redsand', 'default:redsand'}, } }) diff --git a/mods/stairs/init.lua b/mods/stairs/init.lua index e324d0775f..2634a31444 100644 --- a/mods/stairs/init.lua +++ b/mods/stairs/init.lua @@ -314,5 +314,21 @@ stairs.register_stair_and_slab("quartzblock", "default:quartz_block", default.node_sound_stone_defaults() ) +minetest.register_craft({ + output = 'default:sandstonecarved', + recipe = { + {'stairs:slab_sandstone'}, + {'stairs:slab_sandstone'} + } +}) + +minetest.register_craft({ + output = 'default:redsandstonecarved', + recipe = { + {'stairs:slab_redsandstone'}, + {'stairs:slab_redsandstone'} + } +}) + local time_to_load= os.clock() - init print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))