summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-31 18:49:47 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-31 18:49:47 -0500
commitaaacd37c6f951c8ed0cb23ca1ea2577f0f52dbe5 (patch)
tree959556e140b20a30038dd5071750195a809af4d1
parent38b8d1a123e2c404e326ebf21c71908ba83f4a48 (diff)
downloadpipeworks-aaacd37c6f951c8ed0cb23ca1ea2577f0f52dbe5.tar
pipeworks-aaacd37c6f951c8ed0cb23ca1ea2577f0f52dbe5.tar.gz
pipeworks-aaacd37c6f951c8ed0cb23ca1ea2577f0f52dbe5.tar.bz2
pipeworks-aaacd37c6f951c8ed0cb23ca1ea2577f0f52dbe5.tar.xz
pipeworks-aaacd37c6f951c8ed0cb23ca1ea2577f0f52dbe5.zip
Removed node breaker and deployer. These belong in technic, not pipeworks.
Added aliases to avoid unknown nodes/map breakage. Old code has been moved into pipeworks/attic/
-rw-r--r--attic/deployer.lua (renamed from deployer.lua)0
-rw-r--r--attic/node_breaker.lua (renamed from node_breaker.lua)0
-rw-r--r--init.lua8
3 files changed, 6 insertions, 2 deletions
diff --git a/deployer.lua b/attic/deployer.lua
index a57a895..a57a895 100644
--- a/deployer.lua
+++ b/attic/deployer.lua
diff --git a/node_breaker.lua b/attic/node_breaker.lua
index 3af1902..3af1902 100644
--- a/node_breaker.lua
+++ b/attic/node_breaker.lua
diff --git a/init.lua b/init.lua
index ce6bc3c..731be19 100644
--- a/init.lua
+++ b/init.lua
@@ -329,6 +329,10 @@ 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")
-dofile(minetest.get_modpath("pipeworks").."/deployer.lua")
-dofile(minetest.get_modpath("pipeworks").."/node_breaker.lua")
+
+minetest.register_alias("pipeworks:deployer_off", "technic:deployer_off")
+minetest.register_alias("pipeworks:deployer_on", "technic:deployer_on")
+minetest.register_alias("pipeworks:nodebreaker_off", "technic:node_breaker_off")
+minetest.register_alias("pipeworks:nodebreaker_on", "technic:node_breaker_on")
+
print("Pipeworks loaded!")