lucky_block.lua 630 B

123456789101112131415161718192021222324252627
  1. if minetest.get_modpath("lucky_block") then
  2. lucky_block:add_blocks({
  3. {"spw", "mobs:sheep", 5},
  4. {"spw", "mobs:rat", 5},
  5. {"dro", {"mobs:rat_cooked"}, 5},
  6. {"spw", "mobs:bunny", 3},
  7. {"nod", "mobs:honey_block", 0},
  8. {"spw", "mobs:pumba", 5},
  9. {"nod", "mobs:cheeseblock", 0},
  10. {"spw", "mobs:chicken", 5},
  11. {"dro", {"mobs:egg"}, 5},
  12. {"spw", "mobs:cow", 5},
  13. {"dro", {"mobs:bucket_milk"}, 8},
  14. {"spw", "mobs:kitten", 2},
  15. {"exp"},
  16. {"dro", {"mobs:hairball"}, 3},
  17. })
  18. if minetest.registered_nodes["default:nyancat"] then
  19. lucky_block:add_blocks({
  20. {"tro", "default:nyancat", "mobs_kitten", true},
  21. })
  22. end
  23. end