add {drink=1} to cactus pulp and mushroom soup
parent
064ed0c453
commit
fc576d1c76
1
food.lua
1
food.lua
|
@ -194,6 +194,7 @@ minetest.register_craftitem("ethereal:bucket_cactus", {
|
||||||
inventory_image = "bucket_cactus.png",
|
inventory_image = "bucket_cactus.png",
|
||||||
wield_image = "bucket_cactus.png",
|
wield_image = "bucket_cactus.png",
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
|
groups = {vessel = 1, drink = 1},
|
||||||
on_use = minetest.item_eat(2, "bucket:bucket_empty"),
|
on_use = minetest.item_eat(2, "bucket:bucket_empty"),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
55
mushroom.lua
55
mushroom.lua
|
@ -1,27 +1,28 @@
|
||||||
|
|
||||||
local S = ethereal.intllib
|
local S = ethereal.intllib
|
||||||
|
|
||||||
-- mushroom soup (Heals 1 heart)
|
-- mushroom soup (Heals 1 heart)
|
||||||
minetest.register_craftitem("ethereal:mushroom_soup", {
|
minetest.register_craftitem("ethereal:mushroom_soup", {
|
||||||
description = S("Mushroom Soup"),
|
description = S("Mushroom Soup"),
|
||||||
inventory_image = "mushroom_soup.png",
|
inventory_image = "mushroom_soup.png",
|
||||||
on_use = minetest.item_eat(5, "ethereal:bowl"),
|
groups = {drink = 1},
|
||||||
})
|
on_use = minetest.item_eat(5, "ethereal:bowl"),
|
||||||
|
})
|
||||||
minetest.register_craft({
|
|
||||||
output = "ethereal:mushroom_soup",
|
minetest.register_craft({
|
||||||
recipe = {
|
output = "ethereal:mushroom_soup",
|
||||||
{"flowers:mushroom_brown"},
|
recipe = {
|
||||||
{"flowers:mushroom_brown"},
|
{"flowers:mushroom_brown"},
|
||||||
{"group:food_bowl"},
|
{"flowers:mushroom_brown"},
|
||||||
}
|
{"group:food_bowl"},
|
||||||
})
|
}
|
||||||
|
})
|
||||||
-- 4x red mushrooms make mushroom block
|
|
||||||
minetest.register_craft({
|
-- 4x red mushrooms make mushroom block
|
||||||
output = "ethereal:mushroom",
|
minetest.register_craft({
|
||||||
recipe = {
|
output = "ethereal:mushroom",
|
||||||
{"flowers:mushroom_red", "flowers:mushroom_red"},
|
recipe = {
|
||||||
{"flowers:mushroom_red", "flowers:mushroom_red"},
|
{"flowers:mushroom_red", "flowers:mushroom_red"},
|
||||||
}
|
{"flowers:mushroom_red", "flowers:mushroom_red"},
|
||||||
})
|
}
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in New Issue