lucky_block.lua 884 B

1234567891011121314151617181920212223242526272829303132
  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. {"dro", {"mobs:glass_milk"}, 5},
  22. })
  23. if minetest.registered_nodes["default:nyancat"] then
  24. lucky_block:add_blocks({
  25. {"tro", "default:nyancat", "mobs_kitten", true},
  26. })
  27. end
  28. end