uses unused available supply from nearby switching station to power machines like mover. to use it just place it under machine to be powered.
13 lines
654 B
Lua
13 lines
654 B
Lua
basic_machines = {};
|
|
dofile(minetest.get_modpath("basic_machines").."/mark.lua") -- used for markings, borrowed and adapted from worldedit mod
|
|
dofile(minetest.get_modpath("basic_machines").."/technic_power.lua") -- technic power for mover
|
|
dofile(minetest.get_modpath("basic_machines").."/mover.lua")
|
|
dofile(minetest.get_modpath("basic_machines").."/recycler.lua")
|
|
|
|
dofile(minetest.get_modpath("basic_machines").."/autocrafter.lua") -- borrowed from pipeworks mod
|
|
|
|
-- IF USING UNTERNULL GAME COMMENT THE FOLLOWING
|
|
minetest.after(1, function() -- if you want keypad to open doors
|
|
dofile(minetest.get_modpath("basic_machines").."/mesecon_doors.lua")
|
|
end)
|