mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-22 05:42:33 +01:00
allow activation/deactivation of frames/templates by config
have them deactivated by default due to a larger collection of associated issues including but not limited to * #170 * #216 * item duplication involving templates * runaway machines * traversal loop issues with huge machines leading to lag-outs
This commit is contained in:
parent
b00e942824
commit
137695ea67
@ -7,6 +7,7 @@ local defaults = {
|
||||
enable_mining_laser = "true",
|
||||
enable_flashlight = "false",
|
||||
enable_wind_mill = "false",
|
||||
enable_frames = "false",
|
||||
enable_corium_griefing = "true",
|
||||
}
|
||||
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user