From 63cc81ea677322ac3a97180f3920cc6d8e3eb954 Mon Sep 17 00:00:00 2001 From: kpoppel <poulsen.kim@gmail.com> Date: Tue, 04 Jun 2013 23:39:24 +0200 Subject: [PATCH] Merge pull request #22 from kpoppel/master --- 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