forked from mtcontrib/farming
add glass of water and recipe to filter sea water into river
This commit is contained in:
parent
a5ea92bdd3
commit
95ba853872
28
food.lua
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
Normal file
BIN
textures/farming_water_glass.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 167 B |
Loading…
Reference in New Issue
Block a user