Clean up machines.lua and split to multiple files

This commit is contained in:
2023-11-11 17:42:05 +01:00
parent 748e5c9e29
commit 71480f6a62
15 changed files with 2302 additions and 1988 deletions

View File

@@ -31,7 +31,21 @@ industrialtest.random=PseudoRandom(os.time())
dofile(modpath.."/compatibility.lua")
dofile(modpath.."/api.lua")
dofile(modpath.."/minerals.lua")
dofile(modpath.."/machines.lua")
dofile(modpath.."/machines/common.lua")
dofile(modpath.."/machines/compressor.lua")
dofile(modpath.."/machines/electric_furnace.lua")
dofile(modpath.."/machines/extractor.lua")
dofile(modpath.."/machines/fluid_generator.lua")
dofile(modpath.."/machines/generator.lua")
dofile(modpath.."/machines/iron_furnace.lua")
dofile(modpath.."/machines/macerator.lua")
dofile(modpath.."/machines/power_storage.lua")
dofile(modpath.."/machines/recycler.lua")
dofile(modpath.."/machines/transformer.lua")
dofile(modpath.."/machines/solar_panel_generator.lua")
dofile(modpath.."/machines/wind_mill.lua")
dofile(modpath.."/craftitems.lua")
dofile(modpath.."/nodes.lua")
if industrialtest.developerMode then