| | |
| | | output = 'technic:water_can 1', |
| | | recipe = { |
| | | {'technic:zinc_ingot', 'technic:rubber','technic:zinc_ingot'}, |
| | | {'default:steel_ingot', '', 'default:steel_ingot'}, |
| | | {'technic:zinc_ingot', 'default:steel_ingot', 'technic:zinc_ingot'}, |
| | | {'technic:carbon_steel_ingot', '', 'technic:carbon_steel_ingot'}, |
| | | {'technic:zinc_ingot', 'technic:carbon_steel_ingot', 'technic:zinc_ingot'}, |
| | | } |
| | | }) |
| | | |
| | |
| | | return itemstack |
| | | end |
| | | end, |
| | | on_refill = function(stack) |
| | | stack:set_metadata(tostring(water_can_max_load)) |
| | | set_can_wear(stack, water_can_max_load, water_can_max_load) |
| | | return stack |
| | | end, |
| | | }) |
| | | |
| | | minetest.register_tool("technic:lava_can", { |
| | |
| | | return itemstack |
| | | end |
| | | end, |
| | | on_refill = function(stack) |
| | | stack:set_metadata(tostring(lava_can_max_load)) |
| | | set_can_wear(stack, lava_can_max_load, lava_can_max_load) |
| | | return stack |
| | | end, |
| | | }) |
| | | |