Update 'mods/ethereal/food.lua'

This commit is contained in:
thunderdog1138 2020-05-07 18:33:42 +00:00
parent fe12b653f8
commit 154eb09848
1 changed files with 19 additions and 11 deletions

View File

@ -29,23 +29,31 @@ minetest.register_node("ethereal:banana", {
end, end,
}) })
-- Banana Dough -- Ration Pack
minetest.register_craftitem("ethereal:banana_dough", { minetest.register_craftitem("ethereal:ration_pack", {
description = S("Banana Dough"), description = S("Ration Pack"),
inventory_image = "banana_dough.png", inventory_image = "ration_pack.png",
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "ethereal:banana_dough", output = "ethereal:polystarch_bread",
recipe = {"group:food_flour", "group:food_banana"} recipe = {
"ethereal:ration_pack",
"bucket:bucket_water",
},
replacements = {
{"bucket:bucket_water", "bucket:bucket_empty"},
},
}) })
minetest.register_craft({ -- Polystarch Bread (Heals 2 hearts when eaten)
type = "cooking", minetest.register_craftitem("ethereal:polystarch_bread", {
cooktime = 14, description = S("Polystarch Bread"),
output = "ethereal:banana_bread", inventory_image = "polystarch_bread.png",
recipe = "ethereal:banana_dough" wield_image = "polystarch_bread.png",
groups = {food_bread = 1, flammable = 3},
on_use = minetest.item_eat(4),
}) })
-- Orange (Heals 2 hearts when eaten) -- Orange (Heals 2 hearts when eaten)