From 47b6c25abed46d28ec6b3fddb74f9622029f79b4 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sat, 22 Jun 2013 17:51:57 -0400 Subject: minor tweaks to various dofile() calls, moved one from tubes.lua to init.lua --- init.lua | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'init.lua') 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") -- cgit v1.2.3