From 1a45ad19d4fa627e147bd385665e37942f6147fb Mon Sep 17 00:00:00 2001
From: Serhiy Zahoriya <serhiy.int@gmail.com>
Date: Sat, 11 Jan 2020 22:06:24 +0100
Subject: [PATCH] Alloy furnace: Accept only unique ItemStacks from tubes (#523)

---
 technic/machines/other/init.lua |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/technic/machines/other/init.lua b/technic/machines/other/init.lua
index 1499985..f4a82f0 100644
--- a/technic/machines/other/init.lua
+++ b/technic/machines/other/init.lua
@@ -3,6 +3,13 @@
 -- mesecons and tubes related
 dofile(path.."/injector.lua")
 dofile(path.."/constructor.lua")
-if minetest.get_modpath("mesecons_mvps") ~= nil then
+
+if technic.config:get_bool("enable_frames") and minetest.get_modpath("mesecons_mvps") ~= nil then
 	dofile(path.."/frames.lua")
 end
+
+-- Coal-powered machines
+dofile(path.."/coal_alloy_furnace.lua")
+dofile(path.."/coal_furnace.lua")
+
+dofile(path.."/anchor.lua")

--
Gitblit v1.8.0