doors.lua 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. doors:register_door("lottblocks:dwarf_door", {
  2. description = "Dwarf Door",
  3. inventory_image = "lottblocks_dwarf_door.png",
  4. groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1},
  5. tiles_bottom = {"lottblocks_dwarf_door_side_top.png", "lottblocks_dwarf_door_side_bottom.png",
  6. "lottblocks_dwarf_door_side_right.png", "lottblocks_dwarf_door_side_left.png",
  7. "lottblocks_dwarf_door_b.png", "lottblocks_dwarf_door_b.png"},
  8. tiles_top = {"lottblocks_dwarf_door_side_top.png", "lottblocks_dwarf_door_side_bottom.png",
  9. "lottblocks_dwarf_door_side_right.png", "lottblocks_dwarf_door_side_left.png",
  10. "lottblocks_dwarf_door_a.png", "lottblocks_dwarf_door_a.png"},
  11. races = {GAMEdwarf = true}
  12. })
  13. doors:register_door("lottblocks:elven_door", {
  14. description = "Elven Door",
  15. inventory_image = "lottblocks_elven_door.png",
  16. groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1},
  17. tiles_bottom = {"lottblocks_dwarf_door_side_top.png", "lottblocks_dwarf_door_side_bottom.png",
  18. "lottblocks_dwarf_door_side_right.png", "lottblocks_dwarf_door_side_left.png",
  19. "lottblocks_elven_door_b.png", "lottblocks_elven_door_b.png"},
  20. tiles_top = {"lottblocks_dwarf_door_side_top.png", "lottblocks_dwarf_door_side_bottom.png",
  21. "lottblocks_dwarf_door_side_right.png", "lottblocks_dwarf_door_side_left.png",
  22. "lottblocks_elven_door_a.png", "lottblocks_elven_door_a.png"},
  23. races = {GAMEelf = true}
  24. })
  25. doors:register_door("lottblocks:hobbit_door", {
  26. description = "Hobbit Door",
  27. inventory_image = "lottblocks_hobbit_door.png",
  28. groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1},
  29. tiles_bottom = {"lottblocks_hobbit_door_side_top.png", "lottblocks_hobbit_door_side_bottom.png",
  30. "lottblocks_hobbit_door_side_right.png", "lottblocks_hobbit_door_side_left.png",
  31. "lottblocks_hobbit_door_b.png", "lottblocks_hobbit_door_b.png"},
  32. tiles_top = {"lottblocks_hobbit_door_side_top.png", "lottblocks_hobbit_door_side_bottom.png",
  33. "lottblocks_hobbit_door_side_right.png", "lottblocks_hobbit_door_side_left.png",
  34. "lottblocks_hobbit_door_a.png", "lottblocks_hobbit_door_a.png"},
  35. races = {GAMEhobbit = true}
  36. })
  37. doors:register_door("lottblocks:orc_door", {
  38. description = "Orc Door",
  39. inventory_image = "lottblocks_orc_door.png",
  40. groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1},
  41. tiles_bottom = {"lottblocks_orc_door_side_top.png", "lottblocks_orc_door_side_bottom.png",
  42. "lottblocks_orc_door_side_right.png", "lottblocks_orc_door_side_left.png",
  43. "lottblocks_orc_door_b.png", "lottblocks_orc_door_b.png"},
  44. tiles_top = {"lottblocks_orc_door_side_top.png", "lottblocks_orc_door_side_bottom.png",
  45. "lottblocks_orc_door_side_right.png", "lottblocks_orc_door_side_left.png",
  46. "lottblocks_orc_door_a.png", "lottblocks_orc_door_a.png"},
  47. races = {GAMEorc = true}
  48. })
  49. doors:register_door("lottblocks:human_door", {
  50. description = "Human Door",
  51. inventory_image = "lottblocks_human_door.png",
  52. groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1},
  53. tiles_bottom = {"lottblocks_human_door_side_top.png", "lottblocks_human_door_side_bottom.png",
  54. "lottblocks_human_door_side_right.png", "lottblocks_human_door_side_left.png",
  55. "lottblocks_human_door_b.png", "lottblocks_human_door_b.png"},
  56. tiles_top = {"lottblocks_human_door_side_top.png", "lottblocks_human_door_side_bottom.png",
  57. "lottblocks_human_door_side_right.png", "lottblocks_human_door_side_left.png",
  58. "lottblocks_human_door_a.png", "lottblocks_human_door_a.png"},
  59. races = {GAMEman = true}
  60. })
  61. minetest.register_craft({
  62. output = "lottblocks:hobbit_door",
  63. recipe = {
  64. {"lottplants:birchwood", "lottplants:birchwood"},
  65. {"lottplants:birchwood", "lottores:silver_ingot"},
  66. {"lottplants:birchwood", "lottplants:birchwood"},
  67. }
  68. })
  69. minetest.register_craft({
  70. output = "lottblocks:human_door",
  71. recipe = {
  72. {"lottplants:alderwood", "lottplants:alderwood"},
  73. {"lottplants:alderwood", "lottores:silver_ingot"},
  74. {"lottplants:alderwood", "lottplants:alderwood"},
  75. }
  76. })
  77. minetest.register_craft({
  78. output = "lottblocks:elven_door",
  79. recipe = {
  80. {"lottplants:mallornwood", "lottplants:mallornwood"},
  81. {"lottplants:mallornwood", "lottores:silver_ingot"},
  82. {"lottplants:mallornwood", "lottplants:mallornwood"},
  83. }
  84. })
  85. minetest.register_craft({
  86. output = "lottblocks:orc_door",
  87. recipe = {
  88. {"lottmapgen:mordor_stone", "lottmapgen:mordor_stone"},
  89. {"lottmapgen:mordor_stone", "lottores:silver_ingot"},
  90. {"lottmapgen:mordor_stone", "lottmapgen:mordor_stone"},
  91. }
  92. })
  93. minetest.register_craft({
  94. output = "lottblocks:dwarf_door",
  95. recipe = {
  96. {"default:stone", "default:stone"},
  97. {"default:stone", "lottores:silver_ingot"},
  98. {"default:stone", "default:stone"},
  99. }
  100. })