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