lucky_block.lua 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. local epath = minetest.get_modpath("ethereal") .. "/schematics/"
  2. lucky_block:add_schematics({
  3. {"pinetree", ethereal.pinetree, {x = 3, y = 0, z = 3}},
  4. {"palmtree", ethereal.palmtree, {x = 4, y = 0, z = 4}},
  5. {"bananatree", ethereal.bananatree, {x = 3, y = 0, z = 3}},
  6. {"orangetree", ethereal.orangetree, {x = 2, y = 0, z = 2}},
  7. {"birchtree", ethereal.birchtree, {x = 2, y = 0, z = 2}}
  8. })
  9. lucky_block:add_blocks({
  10. {"dro", {"ethereal:firethorn"}, 3},
  11. {"dro", {"ethereal:firethorn_jelly"}, 3},
  12. {"nod", "ethereal:crystal_spike", 1},
  13. {"sch", "pinetree", 0, false},
  14. {"dro", {"ethereal:orange"}, 10},
  15. {"sch", "appletree", 0, false},
  16. {"dro", {"ethereal:strawberry"}, 10},
  17. {"sch", "bananatree", 0, false},
  18. {"sch", "orangetree", 0, false},
  19. {"dro", {"ethereal:banana"}, 10},
  20. {"sch", "acaciatree", 0, false},
  21. {"dro", {"ethereal:golden_apple"}, 3},
  22. {"sch", "palmtree", 0, false},
  23. {"dro", {"ethereal:tree_sapling"}, 5},
  24. {"dro", {"ethereal:orange_tree_sapling"}, 5},
  25. {"dro", {"ethereal:banana_tree_sapling"}, 5},
  26. {"dro", {"ethereal:willow_sapling"} ,5},
  27. {"dro", {"ethereal:mushroom_sapling"} ,5},
  28. {"dro", {"ethereal:palm_sapling"} ,5},
  29. {"dro", {"ethereal:flight_potion"}, 1},
  30. {"dro", {"ethereal:birch_sapling"} ,5},
  31. {"dro", {"ethereal:redwood_sapling"} ,1},
  32. {"dro", {"ethereal:prairie_dirt"}, 10},
  33. {"dro", {"ethereal:grove_dirt"}, 10},
  34. {"fal", {"default:lava_source", "default:lava_source", "default:lava_source",
  35. "default:lava_source", "default:lava_source"}, 1, true, 4},
  36. {"dro", {"ethereal:cold_dirt"}, 10},
  37. {"dro", {"ethereal:mushroom_dirt"}, 10},
  38. {"dro", {"ethereal:fiery_dirt"}, 10},
  39. {"dro", {"ethereal:axe_crystal"}},
  40. {"nod", "ethereal:fire_flower", 1},
  41. {"dro", {"ethereal:sword_crystal"}},
  42. {"dro", {"ethereal:pick_crystal"}},
  43. {"sch", "birchtree", 0, false},
  44. {"dro", {"ethereal:fish_raw"}},
  45. {"dro", {"ethereal:shovel_crystal"}},
  46. {"dro", {"ethereal:fishing_rod_baited"}},
  47. {"exp"},
  48. {"dro", {"ethereal:fire_dust"}, 2},
  49. {"exp", 4},
  50. {"dro", {"ethereal:crystal_gilly_staff"}},
  51. {"dro", {"ethereal:light_staff"}},
  52. {"nod", "default:chest", 0, {
  53. {name = "ethereal:birch_sapling", max = 10},
  54. {name = "ethereal:palm_sapling", max = 10},
  55. {name = "ethereal:orange_tree_sapling", max = 10},
  56. {name = "ethereal:redwood_sapling", max = 10},
  57. {name = "ethereal:bamboo_sprout", max = 10},
  58. {name = "ethereal:banana_tree_sapling", max = 10},
  59. {name = "ethereal:mushroom_sapling", max = 10},
  60. {name = "ethereal:frost_tree_sapling", max = 10},
  61. {name = "ethereal:sakura_sapling", max = 10},
  62. {name = "ethereal:willow_sapling", max = 10},
  63. {name = "ethereal:lemon_tree_sapling", max = 10},
  64. {name = "ethereal:olive_tree_sapling", max = 10}
  65. }},
  66. {"flo", 5, {"ethereal:blue_marble_tile"}, 2},
  67. {"dro", {"ethereal:blue_marble", "ethereal:blue_marble_tile"}, 8},
  68. {"dro", {"ethereal:etherium_ore"}, 5},
  69. {"nod", "default:chest", 0, {
  70. {name = "ethereal:fish_bluefin", max = 7},
  71. {name = "ethereal:fish_blueram", max = 7},
  72. {name = "ethereal:fish_catfish", max = 7},
  73. {name = "ethereal:fish_clownfish", max = 7},
  74. {name = "ethereal:fish_pike", max = 7},
  75. {name = "ethereal:fish_flathead", max = 7},
  76. {name = "ethereal:fish_plaice", max = 7},
  77. {name = "ethereal:fish_pufferfish", max = 5},
  78. {name = "ethereal:fish_salmon", max = 7},
  79. {name = "ethereal:fish_cichlid", max = 7},
  80. {name = "ethereal:fish_trout", max =7},
  81. {name = "ethereal:fish_angler", max = 7},
  82. {name = "ethereal:fish_piranha", max = 7},
  83. {name = "ethereal:fishing_rod", max = 1},
  84. {name = "ethereal:worm", max = 10}
  85. }},
  86. {"dro", {"ethereal:lemon"}, 9}
  87. })
  88. if minetest.get_modpath("3d_armor") then
  89. lucky_block:add_blocks({
  90. {"dro", {"3d_armor:helmet_crystal"}},
  91. {"dro", {"3d_armor:chestplate_crystal"}},
  92. {"dro", {"3d_armor:leggings_crystal"}},
  93. {"dro", {"3d_armor:boots_crystal"}},
  94. {"lig"}
  95. })
  96. end
  97. if minetest.get_modpath("shields") then
  98. lucky_block:add_blocks({
  99. {"dro", {"shields:shield_crystal"}},
  100. {"exp"}
  101. })
  102. end