Add developer utility Power Storage Inspector

This commit is contained in:
2023-03-10 21:06:10 +01:00
parent b19512f8a3
commit bb77e19461
2 changed files with 82 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ industrialtest={}
-- Initial constants
industrialtest.updateDelay=1 -- Note: Make this value smaller to make machines update more frequently (it may make server more laggy)
industrialtest.developerMode=true -- Enables additional utils useful when developing mod
-- load other lua files
dofile(modpath.."/compatibility.lua")
@@ -30,3 +31,6 @@ dofile(modpath.."/minerals.lua")
dofile(modpath.."/machines.lua")
dofile(modpath.."/craftitems.lua")
dofile(modpath.."/nodes.lua")
if industrialtest.developerMode then
dofile(modpath.."/utils.lua")
end