2013-07-11 12:19:09 -04:00
|
|
|
local path = technic.modpath.."/tools"
|
|
|
|
|
2013-07-17 15:34:35 -04:00
|
|
|
if technic.config:get_bool("enable_mining_drill") then
|
2013-07-11 12:19:09 -04:00
|
|
|
dofile(path.."/mining_drill.lua")
|
|
|
|
end
|
2013-07-17 15:34:35 -04:00
|
|
|
if technic.config:get_bool("enable_mining_laser") then
|
2013-10-27 22:01:13 +01:00
|
|
|
dofile(path.."/mining_lasers.lua")
|
2013-07-11 12:19:09 -04:00
|
|
|
end
|
2013-07-17 15:34:35 -04:00
|
|
|
if technic.config:get_bool("enable_flashlight") then
|
2013-07-11 12:19:09 -04:00
|
|
|
dofile(path.."/flashlight.lua")
|
|
|
|
end
|
|
|
|
dofile(path.."/cans.lua")
|
|
|
|
dofile(path.."/chainsaw.lua")
|
|
|
|
dofile(path.."/tree_tap.lua")
|
|
|
|
dofile(path.."/sonic_screwdriver.lua")
|
2014-07-03 19:42:29 +01:00
|
|
|
dofile(path.."/prospector.lua")
|
2015-11-28 08:26:39 +01:00
|
|
|
dofile(path.."/vacuum.lua")
|
2013-07-11 12:19:09 -04:00
|
|
|
|
2014-04-21 20:24:01 +01:00
|
|
|
if minetest.get_modpath("screwdriver") then
|
|
|
|
-- compatibility alias
|
|
|
|
minetest.register_alias("technic:screwdriver", "screwdriver:screwdriver")
|
|
|
|
end
|
|
|
|
|