From 807c2cbf5ec05ab310987930c8e3a3af9e9f6dbc Mon Sep 17 00:00:00 2001 From: KaadmY Date: Wed, 10 May 2017 11:01:02 -0700 Subject: [PATCH] Use dirt group instead of the dirt node so different dirt types with for crafting; closes #23 --- mods/default/crafting.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mods/default/crafting.lua b/mods/default/crafting.lua index 0e1b2bd..5fb6b50 100644 --- a/mods/default/crafting.lua +++ b/mods/default/crafting.lua @@ -252,9 +252,9 @@ minetest.register_craft( { output = "default:brick", recipe = { - {"default:dirt", "default:gravel", "default:dirt"}, - {"default:gravel", "default:dirt", "default:gravel"}, - {"default:dirt", "default:gravel", "default:dirt"}, + {"group:soil", "default:gravel", "group:soil"}, + {"default:gravel", "group:soil", "default:gravel"}, + {"group:soil", "default:gravel", "group:soil"}, } }) minetest.register_craft( @@ -281,7 +281,7 @@ minetest.register_craft( { output = "default:dirt_path 8", recipe = { - {"default:dirt", "default:dirt", "default:dirt"}, + {"group:soil", "group:soil", "group:soil"}, {"default:gravel", "default:gravel", "default:gravel"}, {"default:gravel", "default:gravel", "default:gravel"}, } @@ -291,7 +291,7 @@ minetest.register_craft( { output = "default:path_slab 3", recipe = { - {"default:dirt_path", "default:dirt_path", "default:dirt_path"}, + {"group:soil_path", "group:soil_path", "group:soil_path"}, } }) @@ -299,7 +299,7 @@ minetest.register_craft( { output = "default:heated_dirt_path", recipe = { - {"default:dirt_path"}, + {"group:soil_path"}, {"default:ingot_steel"}, } }) @@ -821,4 +821,4 @@ minetest.register_craft( burntime = 270, }) -default.log("crafting", "loaded") \ No newline at end of file +default.log("crafting", "loaded")