From aaacd37c6f951c8ed0cb23ca1ea2577f0f52dbe5 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Thu, 31 Jan 2013 18:49:47 -0500 Subject: [PATCH] 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/ --- deployer.lua => attic/deployer.lua | 0 node_breaker.lua => attic/node_breaker.lua | 0 init.lua | 8 ++++++-- 3 files changed, 6 insertions(+), 2 deletions(-) rename deployer.lua => attic/deployer.lua (100%) rename node_breaker.lua => attic/node_breaker.lua (100%) diff --git a/deployer.lua b/attic/deployer.lua similarity index 100% rename from deployer.lua rename to attic/deployer.lua diff --git a/node_breaker.lua b/attic/node_breaker.lua similarity index 100% rename from node_breaker.lua rename to 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!") -- 2.30.2