coil
2020-03-15 0e10e8360d6fa5aa6cbb86870b6244e8818d7dc8
technic/tools/mining_drill.lua
@@ -6,8 +6,8 @@
minetest.register_craft({
   output = 'technic:mining_drill',
   recipe = {
      {'moreores:tin_ingot',            'technic:diamond_drill_head', 'moreores:tin_ingot'},
      {'technic:stainless_steel_ingot', 'technic:motor',              'technic:stainless_steel_ingot'},
      {'default:tin_ingot',             'technic:diamond_drill_head', 'default:tin_ingot'},
      {'technic:stainless_steel_ingot', 'basic_materials:motor',              'technic:stainless_steel_ingot'},
      {'',                              'technic:red_energy_crystal', 'default:copper_ingot'},
   }
})
@@ -62,7 +62,7 @@
local function drill_dig_it1 (player)
   local dir=player:get_look_dir()
   if math.abs(dir.x)>math.abs(dir.z) then
   if math.abs(dir.x)>math.abs(dir.z) then
      if dir.x>0 then return 0 end
      return 1
   end