From 718a5beda197cd0a775fd41aedfb5b1bbd5d1d8b Mon Sep 17 00:00:00 2001 From: ZettaScript <contact@zettascript.org> Date: Thu, 20 Oct 2022 17:56:10 +0200 Subject: [PATCH] Supply converter: demany only the needed power (#577) --- technic/machines/other/init.lua | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/technic/machines/other/init.lua b/technic/machines/other/init.lua index e9d30a4..f4a82f0 100644 --- a/technic/machines/other/init.lua +++ b/technic/machines/other/init.lua @@ -3,4 +3,13 @@ -- mesecons and tubes related dofile(path.."/injector.lua") dofile(path.."/constructor.lua") -dofile(path.."/frames.lua") + +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