mushroom.lua 652 B

1234567891011121314151617181920212223242526272829
  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 = "ethereal_mushroom_soup.png",
  6. groups = {drink = 1},
  7. on_use = minetest.item_eat(5, "ethereal:bowl")
  8. })
  9. minetest.register_craft({
  10. output = "ethereal:mushroom_soup",
  11. recipe = {
  12. {"group:food_mushroom"},
  13. {"group:food_mushroom"},
  14. {"group:food_bowl"}
  15. }
  16. })
  17. -- 4x red mushrooms make mushroom block
  18. minetest.register_craft({
  19. output = "ethereal:mushroom",
  20. recipe = {
  21. {"flowers:mushroom_red", "flowers:mushroom_red"},
  22. {"flowers:mushroom_red", "flowers:mushroom_red"}
  23. }
  24. })