forked from thunderdog1138/star_wars
27 lines
654 B
Lua
27 lines
654 B
Lua
|
|
local S = ethereal.intllib
|
|
|
|
-- mushroom soup (Heals 1 heart)
|
|
minetest.register_craftitem("ethereal:mushroom_soup", {
|
|
description = S("Mushroom Soup"),
|
|
inventory_image = "mushroom_soup.png",
|
|
on_use = minetest.item_eat(5, "ethereal:bowl"),
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "ethereal:mushroom_soup",
|
|
recipe = {
|
|
{"flowers:mushroom_brown"},
|
|
{"flowers:mushroom_brown"},
|
|
{"group:food_bowl"},
|
|
}
|
|
})
|
|
|
|
-- 4x red mushrooms make mushroom block
|
|
minetest.register_craft({
|
|
output = "ethereal:mushroom",
|
|
recipe = {
|
|
{"flowers:mushroom_red", "flowers:mushroom_red"},
|
|
{"flowers:mushroom_red", "flowers:mushroom_red"},
|
|
}
|
|
}) |