mushroom.lua 654 B

123456789101112131415161718192021222324252627
  1. local S = ethereal.intllib
  2. -- mushroom soup (Heals 1 heart)
  3. minetest.register_craftitem("ethereal:mushroom_soup", {
  4. description = S("Mushroom Soup"),
  5. inventory_image = "mushroom_soup.png",
  6. on_use = minetest.item_eat(5, "ethereal:bowl"),
  7. })
  8. minetest.register_craft({
  9. output = "ethereal:mushroom_soup",
  10. recipe = {
  11. {"flowers:mushroom_brown"},
  12. {"flowers:mushroom_brown"},
  13. {"group:food_bowl"},
  14. }
  15. })
  16. -- 4x red mushrooms make mushroom block
  17. minetest.register_craft({
  18. output = "ethereal:mushroom",
  19. recipe = {
  20. {"flowers:mushroom_red", "flowers:mushroom_red"},
  21. {"flowers:mushroom_red", "flowers:mushroom_red"},
  22. }
  23. })