From b8d77627a4d28c624e63423eef317dd09c68e533 Mon Sep 17 00:00:00 2001 From: RealBadAngel <mk@realbadangel.pl> Date: Thu, 13 Dec 2012 01:49:02 +0100 Subject: [PATCH] update the mod --- technic/technic/alloy_furnace.lua | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/alloy_furnace.lua b/technic/technic/alloy_furnace.lua similarity index 97% rename from alloy_furnace.lua rename to technic/technic/alloy_furnace.lua index fd0bc70..83496e1 100644 --- a/alloy_furnace.lua +++ b/technic/technic/alloy_furnace.lua @@ -19,6 +19,16 @@ alloy_recipes[registered_recipes_count].dst_name=string3 alloy_recipes[registered_recipes_count].dst_count=count3 registered_recipes_count=registered_recipes_count+1 +if UI_recipes_hook then + minetest.register_craft({ + type = "alloy", + output = string3.." "..count3, + recipe = { + {string1.." "..count1}, + {string2.." "..count2}, + } + }) + end end register_alloy_recipe ("technic:copper_dust",3, "technic:tin_dust",1, "technic:bronze_dust",4) @@ -26,7 +36,7 @@ register_alloy_recipe ("technic:iron_dust",3, "technic:chromium_dust",1, "technic:stainless_steel_dust",4) register_alloy_recipe ("default:steel_ingot",3, "technic:chromium_ingot",1, "technic:stainless_steel_ingot",4) register_alloy_recipe ("technic:copper_dust",2, "technic:zinc_dust",1, "technic:brass_dust",3) -register_alloy_recipe ("technic:copper_ingot",2, "technic:zinc_ingot",1, "technic:brass_ingot",3) +register_alloy_recipe ("moreores:copper_ingot",2, "technic:zinc_ingot",1, "technic:brass_ingot",3) register_alloy_recipe ("default:sand",2, "technic:coal_dust",2, "technic:silicon_wafer",1) register_alloy_recipe ("technic:silicon_wafer",1, "technic:mithril_dust",1, "technic:doped_silicon_wafer",1) @@ -421,4 +431,4 @@ inv:set_stack("fuel", 1, stack) end, -}) \ No newline at end of file +}) -- Gitblit v1.8.0