Zefram
2014-07-07 5e4a87b92599aa0fc9a56081209c930d08a2c3bd
technic/tools/chainsaw.lua
@@ -289,9 +289,9 @@
      end
      local name = user:get_player_name()
      if minetest.is_protected(pos, name) then
         minetest.record_protection_violation(pos, name)
         return current_charge
      if minetest.is_protected(pointed_thing.under, name) then
         minetest.record_protection_violation(pointed_thing.under, name)
         return
      end
      -- Send current charge to digging function so that the
@@ -307,9 +307,9 @@
minetest.register_craft({
   output = "technic:chainsaw",
   recipe = {
      {"technic:stainless_steel_ingot", "technic:stainless_steel_ingot", "technic:battery"},
      {"technic:stainless_steel_ingot", "technic:motor",                 "technic:battery"},
      {"",                              "",                              "default:copper_ingot"},
      {"technic:stainless_steel_ingot", "mesecons_button:button_off", "technic:battery"},
      {"technic:fine_copper_wire",      "technic:motor",              "technic:battery"},
      {"",                              "",                           "technic:stainless_steel_ingot"},
   }
})