lucky_block.lua 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. -- add lucky blocks
  2. if minetest.get_modpath("lucky_block") then
  3. lucky_block:add_blocks({
  4. {"dro", "ethereal:etherium_dust", 1},
  5. {"nod", "etherium_stuff:crystal_water_source"},
  6. {"dro", {"etherium_stuff:bucket_crystal_water"}, 3},
  7. {"dro", {"etherium_stuff:crystal_glass"}, 3},
  8. {"dro", {"etherium_stuff:glass"}, 3},
  9. {"nod", "etherium_stuff:glass"},
  10. {"nod", "etherium_stuff:crystal_glass"},
  11. {"dro", {"etherium_stuff:sand"}, 10},
  12. {"dro", {"etherium_stuff:sandstone"}, 10},
  13. {"dro", {"etherium_stuff:sandstone_brick"}, 10},
  14. {"dro", {"etherium_stuff:sandstone_block"}, 10},
  15. {"dro", {"etherium_stuff:sandstone_light_block"}, 5},
  16. {"dro", {"etherium_stuff:torch"}, 8},
  17. {"fal", {"etherium_stuff:sand", "etherium_stuff:sand", "etherium_stuff:sand", "etherium_stuff:sand"}, 0, true, 6},
  18. {"fal", {"etherium_stuff:sand", "etherium_stuff:sand", "etherium_stuff:sand", "etherium_stuff:sand","etherium_stuff:sand","etherium_stuff:sand"}, 1},
  19. {"tro", "etherium_stuff:crystal_glass", "tnt_ignite", true},
  20. {"tro", "tnt:tnt_burning", "tnt_ignite", false},
  21. {"lig", "etherium_stuff:sand"},
  22. {"flo", 3, {"etherium_stuff:sand", "default:sand", "default:desert_sand", "default:silver_sand"}, 2},
  23. {"tel", 5, 50},
  24. {"tel", 5, 80},
  25. {"tel", 50, 50},
  26. {"exp", 9},
  27. {"sch", "acaciatree", 0, true, {{"default:acacia_tree", "etherium_stuff:sandstone"},{"default:acacia_leaves", "etherium_stuff:crystal_glass"} }},
  28. {"sch", "defpinetree", 0, true, {{"default:pine_tree", "etherium_stuff:sandstone"},{"default:pine_needles", "etherium_stuff:crystal_glass"} }},
  29. {"sch", "aspentree", 0, true, {{"default:aspen_tree", "lucky_block:lucky_block"},{"default:aspen_leaves", "lucky_block:super_lucky_block"} }},
  30. {"sch", "largecactus", 0, true, {{"default:cactus", "etherium_stuff:sandstone_brick"}}},
  31. {"sch", "sandtrap", 1, true, {{"default:sand", "etherium_stuff:sand"}} },
  32. {"fal", {"etherium_stuff:crystal_water_source", "etherium_stuff:crystal_water_source", "eetherium_stuff:crystal_water_source", "etherium_stuff:crystal_water_source","etherium_stuff:crystal_water_source","etherium_stuff:crystal_water_source"}, 4},
  33. })
  34. lucky_block:add_chest_items({
  35. {name = "ethereal:etherium_dust", max = 2, chance = 5},
  36. {name = "etherium_stuff:bucket_crystal_water", max = 1},
  37. {name = "etherium_stuff:crystal_glass", max = 3, chance = 4},
  38. {name = "etherium_stuff:glass", max = 3, chance = 3},
  39. {name = "etherium_stuff:sand", max = 4},
  40. {name = "etherium_stuff:sandstone", max = 4},
  41. {name = "etherium_stuff:sandstone_brick", max = 4},
  42. {name = "etherium_stuff:sandstone_block", max = 4},
  43. {name = "etherium_stuff:sandstone_light_block", max = 4},
  44. {name = "etherium_stuff:torch", max = 4},
  45. })
  46. end