From 904800abde586337bbb03e5dcbe48170677efbce Mon Sep 17 00:00:00 2001 From: Adrian Date: Sun, 26 Jan 2020 14:29:44 +0100 Subject: [PATCH] Add river water can (#527) --- technic/README.md | 5 ++++- technic/textures/technic_river_water_can.png | Bin 0 -> 346 bytes technic/tools/cans.lua | 18 ++++++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 technic/textures/technic_river_water_can.png diff --git a/technic/README.md b/technic/README.md index e5adf31..835b442 100644 --- a/technic/README.md +++ b/technic/README.md @@ -21,6 +21,9 @@ celeron55 (Perttu Ahola) modified by Zefram (CC BY-SA 3.0): sdzen (Elise Staudter) (CC BY-SA 3.0): * most of the older 16x16 textures +leftshift (CC BY-SA 3.0): + * technic_river_water_can.png + RealBadAngel: (WTFPL) * Everything else. @@ -32,4 +35,4 @@ veikk0 (Veikko Mäkelä) (CC BY-SA 4.0): * technic_hv_nuclear_reactor_siren_danger_loop.ogg * Derived from "Nuclear alarm.wav" by Freesound.org user rene___ from . Originally licensed under CC0 1.0 -CC BY-SA 4.0: \ No newline at end of file +CC BY-SA 4.0: diff --git a/technic/textures/technic_river_water_can.png b/technic/textures/technic_river_water_can.png new file mode 100644 index 0000000000000000000000000000000000000000..d4fd888a0c9020f6fb07cbf9eaa6a683fe0edf3d GIT binary patch literal 346 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbMfgaDrq*H9pXf#LuE|Gw$6T2?&% z>C*ZRe2$S)&QX$n36c^jERyM|QmV`fP4#-Vf_iqm23AalPQsQcCbo&%P7#vM5fVU^ zE|Fp`QIf6^Vy=-Qt}(K1;X-b4GVXEG?(x!INitr^GTy1OK50NC=bJ3)nzopr08mJ5rT_o{ literal 0 HcmV?d00001 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 @@ minetest.register_craft({ {'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'}, + } +})