From ec73a8508fc8458e10be6a93bbc3be2eba26595f Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz <vanessaezekowitz@gmail.com> Date: Mon, 19 Jan 2015 19:37:46 +0100 Subject: [PATCH] add custom collision and selection box handling to CNC machine also clean up formatting of surrounding code --- technic/tools/init.lua | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/technic/tools/init.lua b/technic/tools/init.lua index 6bb551b..b8d9127 100644 --- a/technic/tools/init.lua +++ b/technic/tools/init.lua @@ -4,7 +4,7 @@ dofile(path.."/mining_drill.lua") end if technic.config:get_bool("enable_mining_laser") then - dofile(path.."/mining_laser_mk1.lua") + dofile(path.."/mining_lasers.lua") end if technic.config:get_bool("enable_flashlight") then dofile(path.."/flashlight.lua") @@ -13,4 +13,10 @@ dofile(path.."/chainsaw.lua") dofile(path.."/tree_tap.lua") dofile(path.."/sonic_screwdriver.lua") +dofile(path.."/prospector.lua") + +if minetest.get_modpath("screwdriver") then + -- compatibility alias + minetest.register_alias("technic:screwdriver", "screwdriver:screwdriver") +end -- Gitblit v1.8.0