From 11bd39774affcff17fd0f63f419967ca1476bb4b Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 26 Jul 2017 19:34:47 +0200 Subject: [PATCH] Register horse armor smelting recipes elsewhere --- mods/ITEMS/mcl_core/crafting.lua | 14 ++++++++++++++ mods/ITEMS/mcl_mobitems/depends.txt | 1 - mods/ITEMS/mcl_mobitems/init.lua | 16 ---------------- 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/mods/ITEMS/mcl_core/crafting.lua b/mods/ITEMS/mcl_core/crafting.lua index 33e704042e..6f4443aed6 100644 --- a/mods/ITEMS/mcl_core/crafting.lua +++ b/mods/ITEMS/mcl_core/crafting.lua @@ -242,6 +242,20 @@ minetest.register_craft({ } }) +minetest.register_craft({ + type = "cooking", + output = 'mcl_core:iron_nugget', + recipe = 'mobs_mc:iron_horse_armor', + cooktime = 10, +}) + +minetest.register_craft({ + type = "cooking", + output = 'mcl_core:gold_nugget', + recipe = 'mobs_mc:gold_horse_armor', + cooktime = 10, +}) + minetest.register_craft({ output = 'mcl_core:sandstone', recipe = { diff --git a/mods/ITEMS/mcl_mobitems/depends.txt b/mods/ITEMS/mcl_mobitems/depends.txt index a1ecdb8932..73d023f657 100644 --- a/mods/ITEMS/mcl_mobitems/depends.txt +++ b/mods/ITEMS/mcl_mobitems/depends.txt @@ -1,3 +1,2 @@ mcl_core mcl_hunger -mobs_mc diff --git a/mods/ITEMS/mcl_mobitems/init.lua b/mods/ITEMS/mcl_mobitems/init.lua index ba2ac478d1..5b07112ff6 100644 --- a/mods/ITEMS/mcl_mobitems/init.lua +++ b/mods/ITEMS/mcl_mobitems/init.lua @@ -421,22 +421,6 @@ minetest.register_craft({ recipe = {{"mcl_core:slimeblock"}}, }) -minetest.register_craft({ - type = "cooking", - output = 'mcl_core:iron_nugget', - recipe = 'mobs_mc:iron_horse_armor', - cooktime = 10, -}) - -minetest.register_craft({ - type = "cooking", - output = 'mcl_core:gold_nugget', - recipe = 'mobs_mc:gold_horse_armor', - cooktime = 10, -}) - - - minetest.register_craft({ output = "mcl_core:slimeblock", recipe = {{"mcl_mobitems:slimeball","mcl_mobitems:slimeball","mcl_mobitems:slimeball",},