From 66e20a9231b9fea823f9b683e495c57ef9a4ad41 Mon Sep 17 00:00:00 2001 From: sfence <sfence.software@gmail.com> Date: Fri, 04 Nov 2022 19:23:44 +0100 Subject: [PATCH] Add register_cable_tier API function (#612) --- technic/machines/other/init.lua | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/technic/machines/other/init.lua b/technic/machines/other/init.lua index 27a47d5..f4a82f0 100644 --- a/technic/machines/other/init.lua +++ b/technic/machines/other/init.lua @@ -3,7 +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