technic/technic/tools/init.lua
Zefram 636b0f20df Handheld prospecting tool
The new tool will say whether a target block type is present in a
specified region, to allow for more targeted digging.  It is deliberately
quite weak, with several limitations: only stores enough charge for a
small number of shots; target can only be set by pointing at an example
node; range is limited; accuracy is less than 100%.  Some of these
limitations should probably be ameliorated, but not entirely eliminated,
in the future when we have a better idea of game balance.

The inventory image is only a placeholder.
2014-07-07 15:15:05 +02:00

23 lines
625 B
Lua

local path = technic.modpath.."/tools"
if technic.config:get_bool("enable_mining_drill") then
dofile(path.."/mining_drill.lua")
end
if technic.config:get_bool("enable_mining_laser") then
dofile(path.."/mining_lasers.lua")
end
if technic.config:get_bool("enable_flashlight") then
dofile(path.."/flashlight.lua")
end
dofile(path.."/cans.lua")
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