You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
895B

  1. if minetest.get_modpath("lucky_block") then
  2. local web = {name = "mobs:cobweb"}
  3. local web_trap = {
  4. size = {x = 3, y = 3, z = 3},
  5. data = {
  6. web, web, web,
  7. web, web, web,
  8. web, web, web,
  9. web, web, web,
  10. web, web, web,
  11. web, web, web,
  12. web, web, web,
  13. web, web, web,
  14. web, web, web,
  15. },
  16. }
  17. lucky_block:add_schematics({
  18. {"webtrap", web_trap, {x = 1, y = 0, z = 1}},
  19. })
  20. lucky_block:add_blocks({
  21. {"sch", "webtrap", 1, true},
  22. {"spw", "mobs:dungeon_master", 1, nil, nil, 3, "Billy"},
  23. {"spw", "mobs:sand_monster", 3},
  24. {"spw", "mobs:stone_monster", 3, nil, nil, 3, "Bob"},
  25. {"spw", "mobs:dirt_monster", 3},
  26. {"spw", "mobs:tree_monster", 3},
  27. {"spw", "mobs:oerkki", 3},
  28. {"exp"},
  29. {"spw", "mobs:spider", 5},
  30. {"spw", "mobs:mese_monster", 2},
  31. {"spw", "mobs:lava_flan", 3},
  32. {"nod", "default:chest", 0, {
  33. {name = "mobs:lava_orb", max = 1}}},
  34. })
  35. end