Browse Source

Add river water can (#527)

master
Adrian 1 month ago
parent
commit
904800abde
3 changed files with 22 additions and 1 deletions
  1. +4
    -1
      technic/README.md
  2. BIN
      technic/textures/technic_river_water_can.png
  3. +18
    -0
      technic/tools/cans.lua

+ 4
- 1
technic/README.md View File

@@ -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 <https://freesound.org/people/rene___/sounds/56778/>. Originally licensed under CC0 1.0 <https://creativecommons.org/publicdomain/zero/1.0/>

CC BY-SA 4.0: <https://creativecommons.org/licenses/by-sa/4.0/>
CC BY-SA 4.0: <https://creativecommons.org/licenses/by-sa/4.0/>

BIN
technic/textures/technic_river_water_can.png View File

Before After
Width: 16  |  Height: 16  |  Size: 346B

+ 18
- 0
technic/tools/cans.lua View File

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

Loading…
Cancel
Save