| | |
| | | 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'}, |
| | | } |
| | | }) |
| | |
| | | |
| | | 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 |