lucky_block.lua 849 B

12345678910111213141516171819202122232425262728293031
  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. {"dro", {"mobs:chicken_raw", "mobs:chicken_cooked"}, 10},
  18. {"dro", {"mobs:pork_raw", "mobs:pork_cooked"}, 10},
  19. {"dro", {"mobs:mutton_raw", "mobs:mutton_cooked"}, 10},
  20. {"dro", {"mobs:meat_raw", "mobs:meat"}, 10},
  21. })
  22. if minetest.registered_nodes["default:nyancat"] then
  23. lucky_block:add_blocks({
  24. {"tro", "default:nyancat", "mobs_kitten", true},
  25. })
  26. end
  27. end