cheapie a04bb906df Add "enable_producers" option
Defaults to true, but if set to false skips registering everything that produces energy. Intended for use in conjunction with creative mode but will work regardless.
2018-08-19 17:15:13 -05:00

21 lines
418 B
Lua

technic.register_tier("HV", "High Voltage")
local path = technic.modpath.."/machines/HV"
-- Wiring stuff
dofile(path.."/cables.lua")
dofile(path.."/battery_box.lua")
-- Generators
if technic.config:get_bool("enable_producers") then
dofile(path.."/solar_array.lua")
dofile(path.."/nuclear_reactor.lua")
dofile(path.."/generator.lua")
end
-- Machines
dofile(path.."/quarry.lua")
dofile(path.."/forcefield.lua")