lb_other.lua 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. -- extra doors mod
  2. if minetest.get_modpath("extra_doors") then
  3. lucky_block:add_blocks({
  4. {"dro", {"default:steel_rod"}, 10},
  5. {"dro", {"extra_doors:door_woodpanel1"}, 1},
  6. {"dro", {"extra_doors:door_woodglass1"}, 1},
  7. {"dro", {"extra_doors:door_woodglass2"}, 1},
  8. {"dro", {"extra_doors:door_door_japanese"}, 1},
  9. {"dro", {"extra_doors:door_door_french"}, 1},
  10. {"dro", {"extra_doors:door_door_cottage1"}, 1},
  11. {"dro", {"extra_doors:door_door_cottage2"}, 1},
  12. {"dro", {"extra_doors:door_door_barn1"}, 1},
  13. {"lig"},
  14. {"dro", {"extra_doors:door_door_barn2"}, 1},
  15. {"dro", {"extra_doors:door_door_castle1"}, 1},
  16. {"dro", {"extra_doors:door_door_castle2"}, 1},
  17. {"dro", {"extra_doors:door_door_mansion1"}, 1},
  18. {"dro", {"extra_doors:door_door_mansion2"}, 1},
  19. {"dro", {"extra_doors:door_door_dungeon1"}, 1},
  20. {"dro", {"extra_doors:door_door_dungeon2"}, 1},
  21. {"dro", {"extra_doors:door_door_steelpanel1"}, 1},
  22. {"dro", {"extra_doors:door_door_steelglass1"}, 1},
  23. {"dro", {"extra_doors:door_door_steelglass2"}, 1}
  24. })
  25. end
  26. -- Home Decor mod
  27. if minetest.get_modpath("homedecor") then
  28. lucky_block:add_blocks({
  29. {"nod", "homedecor:toilet", 0},
  30. {"nod", "homedecor:table", 0},
  31. {"nod", "homedecor:chair", 0},
  32. {"nod", "homedecor:table_lamp_off", 0},
  33. {"dro", {"homedecor:plastic_sheeting", "homedecor:plastic_base"}, 15},
  34. {"dro", {"homedecor:roof_tile_terracotta"}, 20},
  35. {"dro", {"homedecor:shutter_oak"}, 5},
  36. {"dro", {"homedecor:shutter_black"}, 5},
  37. {"dro", {"homedecor:shutter_dark_grey"}, 5},
  38. {"dro", {"homedecor:shutter_grey"}, 5},
  39. {"dro", {"homedecor:shutter_white"}, 5},
  40. {"dro", {"homedecor:shutter_mahogany"}, 5},
  41. {"dro", {"homedecor:shutter_yellow"}, 5},
  42. {"dro", {"homedecor:shutter_forest_green"}, 5},
  43. {"dro", {"homedecor:shutter_light_blue"}, 5},
  44. {"dro", {"homedecor:shutter_violet"}, 5},
  45. {"dro", {"homedecor:table_legs_wrought_iron", "homedecor:utility_table_legs"}, 5},
  46. {"dro", {"homedecor:pole_wrought_iron"}, 10},
  47. {"dro", {"homedecor:fence_picket_white"}, 20}
  48. })
  49. end
  50. -- Caverealms
  51. if minetest.get_modpath("caverealms") then
  52. lucky_block:add_blocks({
  53. {"sch", "sandtrap", 1, true, {{"default:sand", "caverealms:coal_dust"}} },
  54. {"sch", "obsidiantrap", 1, true, {{"default:obsidian",
  55. "caverealms:glow_obsidian_brick_2"}} },
  56. {"flo", 5, {"caverealms:stone_with_moss"}, 2},
  57. {"flo", 5, {"caverealms:stone_with_lichen"}, 2},
  58. {"flo", 5, {"caverealms:stone_with_algae"}, 2},
  59. })
  60. end
  61. -- Moreblocks mod
  62. if minetest.get_modpath("moreblocks") then
  63. local p = "moreblocks:"
  64. local lav = {name = "default:lava_source"}
  65. local air = {name = "air"}
  66. local trs = {name = p .. "trap_stone"}
  67. local trg = {name = p .. "trap_glow_glass"}
  68. local trapstone_trap = {
  69. size = {x = 3, y = 6, z = 3},
  70. data = {
  71. lav, lav, lav, air, air, air, air, air, air,
  72. air, air, air, air, air, air, trs, trs, trs,
  73. lav, lav, lav, air, air, air, air, air, air,
  74. air, air, air, air, trg, air, trs, air, trs,
  75. lav, lav, lav, air, air, air, air, air, air,
  76. air, air, air, air, air, air, trs, trs, trs
  77. }
  78. }
  79. lucky_block:add_schematics({
  80. {"trapstonetrap", trapstone_trap, {x = 1, y = 6, z = 1}}
  81. })
  82. lucky_block:add_blocks({
  83. {"dro", {p.."wood_tile"}, 10},
  84. {"dro", {p.."wood_tile_center"}, 10},
  85. {"dro", {p.."wood_tile_full"}, 10},
  86. {"dro", {p.."wood_tile_offset"}, 10},
  87. {"dro", {p.."circle_stone_bricks"}, 20},
  88. {"dro", {p.."grey_bricks"}, 20},
  89. {"dro", {p.."stone_tile"}, 10},
  90. {"dro", {p.."split_stone_tile"}, 10},
  91. {"dro", {p.."split_stone_tile_alt"}, 10},
  92. {"flo", 5, {"moreblocks:stone_tile", "moreblocks:split_stone_tile"}, 2},
  93. {"dro", {p.."tar", p.."cobble_compressed"}, 10},
  94. {"dro", {p.."cactus_brick"}, 10},
  95. {"dro", {p.."cactus_checker"}, 10},
  96. {"nod", {p.."empty_bookshelf"}, 0},
  97. {"dro", {p.."coal_stone"}, 10},
  98. {"dro", {p.."coal_checker"}, 10},
  99. {"dro", {p.."coal_stone_bricks"}, 10},
  100. {"dro", {p.."coal_glass"}, 10},
  101. {"exp", 3},
  102. {"dro", {p.."iron_stone"}, 10},
  103. {"dro", {p.."iron_checker"}, 10},
  104. {"dro", {p.."iron_stone_bricks"}, 10},
  105. {"dro", {p.."iron_glass"}, 10},
  106. {"dro", {p.."trap_obsidian"}, 10},
  107. {"dro", {p.."trap_sandstone"}, 10},
  108. {"dro", {p.."trap_desert_stone"}, 10},
  109. {"dro", {p.."trap_stone"}, 10},
  110. {"dro", {p.."trap_glass"}, 10},
  111. {"dro", {p.."trap_glow_glass"}, 10},
  112. {"dro", {p.."trap_obsidian_glass"}, 10},
  113. {"lig"},
  114. {"sch", "trapstonetrap", 0, true},
  115. {"dro", {p.."all_faces_tree"}, 10},
  116. {"dro", {p.."all_faces_jungle_tree"}, 10},
  117. {"dro", {p.."all_faces_pine_tree"}, 10},
  118. {"dro", {p.."all_faces_acacia_tree"}, 10},
  119. {"dro", {p.."all_faces_aspen_tree"}, 10},
  120. {"flo", 3, {p.."all_faces_acacia_tree"}, 1},
  121. {"dro", {p.."plankstone"}, 10},
  122. {"fal", {p.."all_faces_tree", p.."all_faces_tree", p.."all_faces_tree",
  123. p.."all_faces_tree", p.."all_faces_tree"}, 0},
  124. {"dro", {p.."glow_glass"}, 10},
  125. {"dro", {p.."super_glow_glass"}, 10},
  126. {"dro", {p.."clean_glass"}, 10},
  127. {"nod", "default:chest", 0, {
  128. {name = p.."rope", max = 10},
  129. {name = p.."sweeper", max = 1},
  130. {name = p.."circular_saw", max = 1},
  131. {name = p.."grey_bricks", max = 10},
  132. {name = p.."tar", max = 3}
  133. }},
  134. {"flo", 3, {"moreblocks:copperpatina"}, 1}
  135. })
  136. end
  137. -- worm farm mod
  138. if minetest.get_modpath("worm_farm") then
  139. lucky_block:add_blocks({
  140. {"nod", "default:chest", 0, {
  141. {name = "ethereal:worm", max = 5},
  142. {name = "worm_farm:worm_tea", max = 5},
  143. {name = "ethereal:worm", max = 5},
  144. {name = "worm_farm:worm_farm", max = 1}
  145. }},
  146. {"cus", dropsy, {item = "ethereal:worm", msg = "Worm Attack!"}},
  147. {"dro", {"worm_farm:worm_farm"}, 1}
  148. })
  149. end