mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-15 15:00:45 +01:00
088eea1e3b
This fixes several issues: * More than one switching station could become active on large networks - Switching stations now semi-permanently become disabled if another is present - Power monitors have been added to replace the function of "slave" switching stations, to discourage overuse of switching stations * Networks did not reliably "split" when cutting a cable - I "may" have caused this issue, but I believe it is solved by this * Machines did not run without a player near the switching station - Active switching stations now forceload themselves, and free the forceloaded block if disabled, dug, or disconnected - Machines are only loaded to run them (as before), so only one mapblock (or two if the bottom edge of the switching station is a mapblock boundary) is loaded - Cables are still only loaded during a full network recalculation
16 lines
322 B
Lua
16 lines
322 B
Lua
local path = technic.modpath.."/machines"
|
|
|
|
dofile(path.."/register/init.lua")
|
|
|
|
-- Tiers
|
|
dofile(path.."/LV/init.lua")
|
|
dofile(path.."/MV/init.lua")
|
|
dofile(path.."/HV/init.lua")
|
|
|
|
dofile(path.."/switching_station.lua")
|
|
dofile(path.."/power_monitor.lua")
|
|
dofile(path.."/supply_converter.lua")
|
|
|
|
dofile(path.."/other/init.lua")
|
|
|