summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua19
1 files changed, 11 insertions, 8 deletions
diff --git a/init.lua b/init.lua
index 5165d8f..e662bc4 100644
--- a/init.lua
+++ b/init.lua
@@ -366,14 +366,17 @@ end
end
end
-dofile(minetest.get_modpath("pipeworks").."/tubes.lua")
-dofile(minetest.get_modpath("pipeworks").."/devices.lua")
-dofile(minetest.get_modpath("pipeworks").."/autoplace.lua")
-dofile(minetest.get_modpath("pipeworks").."/crafts.lua")
-dofile(minetest.get_modpath("pipeworks").."/flowing_logic.lua")
-dofile(minetest.get_modpath("pipeworks").."/compat.lua")
-dofile(minetest.get_modpath("pipeworks").."/item_transport.lua")
-dofile(minetest.get_modpath("pipeworks").."/autocrafter.lua")
+local modpath = minetest.get_modpath("pipeworks")
+
+dofile(modpath.."/tubes.lua")
+dofile(modpath.."/teleport_tube.lua")
+dofile(modpath.."/devices.lua")
+dofile(modpath.."/autoplace.lua")
+dofile(modpath.."/crafts.lua")
+dofile(modpath.."/flowing_logic.lua")
+dofile(modpath.."/compat.lua")
+dofile(modpath.."/item_transport.lua")
+dofile(modpath.."/autocrafter.lua")
minetest.register_alias("pipeworks:deployer_off", "technic:deployer_off")
minetest.register_alias("pipeworks:deployer_on", "technic:deployer_on")