Browse Source

add glass of water and recipe to filter sea water into river

master
tenplus1 10 months ago
parent
commit
95ba853872
  1. 28
      food.lua
  2. BIN
      textures/farming_water_glass.png

28
food.lua

@ -1,6 +1,34 @@
local S = farming.intllib
--= filter sea water into river water
minetest.register_craft({
output = "bucket:bucket_river_water",
recipe = {
{"farming:hemp_fibre"},
{"farming:hemp_fibre"},
{"bucket:bucket_water"}
}
})
--= glass of water
minetest.register_craftitem("farming:glass_water", {
description = S("Glass of Water"),
inventory_image = "farming_water_glass.png",
groups = {food_water_glass = 1, flammable = 3, vessel = 1}
})
minetest.register_craft({
output = "farming:glass_water 4",
recipe = {
{"vessels:drinking_glass", "vessels:drinking_glass"},
{"vessels:drinking_glass", "vessels:drinking_glass"},
{"bucket:bucket_river_water", ""}
},
replacements = {{"bucket:bucket_river_water", "bucket:bucket_empty"}}
})
--= Sugar
minetest.register_craftitem("farming:sugar", {

BIN
textures/farming_water_glass.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Loading…
Cancel
Save