From 904800abde586337bbb03e5dcbe48170677efbce Mon Sep 17 00:00:00 2001
From: Adrian <github@ardy.io>
Date: Sun, 26 Jan 2020 14:29:44 +0100
Subject: [PATCH] Add river water can (#527)

---
 technic/tools/cans.lua |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/technic/tools/cans.lua b/technic/tools/cans.lua
index f12ec93..369259e 100644
--- a/technic/tools/cans.lua
+++ b/technic/tools/cans.lua
@@ -112,3 +112,21 @@
 		{'technic:zinc_ingot', 'technic:stainless_steel_ingot', 'technic:zinc_ingot'},
 	}
 })
+
+technic.register_can({
+	can_name = 'technic:river_water_can',
+	can_description = S("River Water Can"),
+	can_inventory_image = "technic_river_water_can.png",
+	can_capacity = 16,
+	liquid_source_name = "default:river_water_source",
+	liquid_flowing_name = "default:river_water_flowing",
+})
+
+minetest.register_craft({
+	output = 'technic:river_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'},
+	}
+})

--
Gitblit v1.8.0