From 137695ea67cf7096311c893de7cf139e6307b26b Mon Sep 17 00:00:00 2001 From: Tim <t4im@users.noreply.github.com> Date: Mon, 16 Mar 2015 23:58:41 +0100 Subject: [PATCH] allow activation/deactivation of frames/templates by config --- 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