summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--technic/config.lua1
-rw-r--r--technic/machines/other/init.lua4
2 files changed, 4 insertions, 1 deletions
diff --git a/technic/config.lua b/technic/config.lua
index e512bee..81a2224 100644
--- a/technic/config.lua
+++ b/technic/config.lua
@@ -7,6 +7,7 @@ local defaults = {
enable_mining_laser = "true",
enable_flashlight = "false",
enable_wind_mill = "false",
+ enable_frames = "false",
enable_corium_griefing = "true",
}
diff --git a/technic/machines/other/init.lua b/technic/machines/other/init.lua
index 27a47d5..a3640e3 100644
--- a/technic/machines/other/init.lua
+++ b/technic/machines/other/init.lua
@@ -3,7 +3,9 @@ local path = technic.modpath.."/machines/other"
-- 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
+
dofile(path.."/anchor.lua")