2013-07-11 18:19:09 +02:00
|
|
|
local path = technic.modpath.."/tools"
|
|
|
|
|
2013-07-17 21:34:35 +02:00
|
|
|
if technic.config:get_bool("enable_mining_drill") then
|
2013-07-11 18:19:09 +02:00
|
|
|
dofile(path.."/mining_drill.lua")
|
|
|
|
end
|
2013-07-17 21:34:35 +02: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 18:19:09 +02:00
|
|
|
end
|
2013-07-17 21:34:35 +02:00
|
|
|
if technic.config:get_bool("enable_flashlight") then
|
2013-07-11 18:19:09 +02: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 20:42:29 +02:00
|
|
|
dofile(path.."/prospector.lua")
|
2013-07-11 18:19:09 +02:00
|
|
|
|
2014-04-21 21:24:01 +02:00
|
|
|
if minetest.get_modpath("screwdriver") then
|
|
|
|
-- compatibility alias
|
|
|
|
minetest.register_alias("technic:screwdriver", "screwdriver:screwdriver")
|
|
|
|
end
|
|
|
|
|