From 8d092c9ec89e9c8dc2b5f7badc1560734a046dd8 Mon Sep 17 00:00:00 2001 From: RealBadAngel <mk@realbadangel.pl> Date: Fri, 05 Apr 2013 22:05:54 +0200 Subject: [PATCH] fix grinding recipes and craft recipe for tool workshop --- technic/electric_furnace.lua | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/technic/electric_furnace.lua b/technic/electric_furnace.lua index 22e053b..e9d3236 100644 --- a/technic/electric_furnace.lua +++ b/technic/electric_furnace.lua @@ -145,12 +145,10 @@ end meta:set_string("src_time", 0) end - end + end end - - - + if srclist then cooked = minetest.get_craft_result({method = "cooking", width = 1, items = srclist}) if cooked.time>0 then @@ -162,12 +160,14 @@ end end - + hacky_swap_node(pos,"technic:electric_furnace") meta:set_string("infotext","Furnace inactive") meta:set_string("furnace_is_cookin",0) meta:set_string("src_time", 0) - - -end, + +end, }) + +register_LV_machine ("technic:electric_furnace","RE") +register_LV_machine ("technic:electric_furnace_active","RE") -- Gitblit v1.8.0