mirror of
https://github.com/minetest-mods/technic.git
synced 2025-03-28 07:30:28 +01:00
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.
21 lines
418 B
Lua
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")
|
|
|