wizard.lua 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. -- Clothes made for wizards
  2. -- gandalf the grey:
  3. -- big black dwarf boots
  4. minetest.register_tool("lottclothes:boots_dwarf", {
  5. description = "Dwarven Boots",
  6. inventory_image = "lottclothes_inv_boots_dwarf.png",
  7. groups = {armor_feet=0, armor_heal=0, clothes=1, clothes_feet=1},
  8. wear = 0
  9. })
  10. minetest.register_craft({
  11. output = "lottclothes:boots_dwarf",
  12. recipe = {
  13. {"lottclothes:felt_black", "", "lottclothes:felt_black"},
  14. {"default:steel_ingot", "", "default:steel_ingot"}
  15. }
  16. })
  17. minetest.register_craft({
  18. output = 'lottclothes:feltthread 2',
  19. recipe = {
  20. {'lottclothes:boots_dwarf'},
  21. }
  22. })
  23. -- cloak
  24. minetest.register_tool("lottclothes:cloak_wizard_grey", {
  25. description = "Grey Wizard Cloak",
  26. inventory_image = "lottclothes_inv_cloak_wizard_grey.png",
  27. groups = {armor_heal=0, clothes=1, no_preview=1, clothes_cloak=1},
  28. wear = 0
  29. })
  30. minetest.register_craft({
  31. output = "lottclothes:cloak_wizard_grey",
  32. recipe = {
  33. {"lottclothes:felt_grey", "lottclothes:felt_grey", "lottclothes:felt_grey"},
  34. {"lottclothes:felt_grey", "lottclothes:felt_grey", "lottclothes:felt_grey"}
  35. }
  36. })
  37. minetest.register_craft({
  38. output = 'lottclothes:feltthread 6',
  39. recipe = {
  40. {'lottclothes:cloak_wizard_grey'},
  41. }
  42. })
  43. -- hood
  44. minetest.register_tool("lottclothes:hood_wizard_blue", {
  45. description = "Blue Wizard Hood",
  46. inventory_image = "lottclothes_inv_hood_wizard_blue.png",
  47. groups = {armor_heal=0, clothes=1, no_preview=1, clothes_head=1},
  48. wear = 0
  49. })
  50. minetest.register_craft({
  51. output = "lottclothes:hood_wizard_blue",
  52. recipe = {
  53. {"lottclothes:felt_blue", "lottclothes:felt_blue", "lottclothes:felt_blue"},
  54. {"lottclothes:felt_blue", "", "lottclothes:felt_blue"}
  55. }
  56. })
  57. minetest.register_craft({
  58. output = 'lottclothes:feltthread 5',
  59. recipe = {
  60. {'lottclothes:hood_wizard_blue'},
  61. }
  62. })
  63. -- robe
  64. minetest.register_tool("lottclothes:robe_wizard_grey", {
  65. description = "Grey Wizard Robe",
  66. inventory_image = "lottclothes_inv_robe_wizard_grey.png",
  67. groups = {armor_heal=0, clothes=1, no_preview=1, clothes_torso=1},
  68. wear = 0
  69. })
  70. minetest.register_craft({
  71. output = "lottclothes:robe_wizard_grey",
  72. recipe = {
  73. {"lottclothes:felt_grey", "", "lottclothes:felt_grey"},
  74. {"lottclothes:felt_grey", "lottclothes:felt_grey", "lottclothes:felt_grey"},
  75. {"lottclothes:felt_grey", "lottclothes:felt_grey", "lottclothes:felt_grey"}
  76. }
  77. })
  78. minetest.register_craft({
  79. output = 'lottclothes:feltthread 8',
  80. recipe = {
  81. {'lottclothes:robe_wizard_grey'},
  82. }
  83. })
  84. -- gandalf the white
  85. -- hood
  86. minetest.register_tool("lottclothes:hood_wizard_white", {
  87. description = "White Wizard Hood",
  88. inventory_image = "lottclothes_inv_hood_wizard_white.png",
  89. groups = {armor_heal=0, clothes=1, no_preview=1, clothes_head=1},
  90. wear = 0
  91. })
  92. minetest.register_craft({
  93. output = "lottclothes:hood_wizard_white",
  94. recipe = {
  95. {"lottclothes:felt_white", "lottclothes:felt_white", "lottclothes:felt_white"},
  96. {"lottclothes:felt_white", "", "lottclothes:felt_white"}
  97. }
  98. })
  99. minetest.register_craft({
  100. output = 'lottclothes:feltthread 5',
  101. recipe = {
  102. {'lottclothes:hood_wizard_white'},
  103. }
  104. })
  105. -- robe
  106. minetest.register_tool("lottclothes:robe_wizard_white", {
  107. description = "White Wizard Robe",
  108. inventory_image = "lottclothes_inv_robe_wizard_white.png",
  109. groups = {armor_heal=0, clothes=1, no_preview=1, clothes_torso=1},
  110. wear = 0
  111. })
  112. minetest.register_craft({
  113. output = "lottclothes:robe_wizard_white",
  114. recipe = {
  115. {"lottclothes:felt_white", "", "lottclothes:felt_white"},
  116. {"lottclothes:felt_white", "lottclothes:felt_white", "lottclothes:felt_white"},
  117. {"lottclothes:felt_white", "lottclothes:felt_white", "lottclothes:felt_white"}
  118. }
  119. })
  120. minetest.register_craft({
  121. output = 'lottclothes:feltthread 8',
  122. recipe = {
  123. {'lottclothes:robe_wizard_white'},
  124. }
  125. })
  126. -- trousers
  127. minetest.register_tool("lottclothes:trousers_wizard_white", {
  128. description = "White Wizard Trousers",
  129. inventory_image = "lottclothes_inv_trousers_wizard_white.png",
  130. groups = {armor_heal=0, clothes=1, no_preview=1, clothes_legs=1},
  131. wear = 0
  132. })
  133. minetest.register_craft({
  134. output = "lottclothes:trousers_wizard_white",
  135. recipe = {
  136. {"lottclothes:felt_white", "lottclothes:felt_white", "lottclothes:felt_white"},
  137. {"lottclothes:felt_white", "", "lottclothes:felt_white"},
  138. {"lottclothes:felt_white", "", "lottclothes:felt_white"}
  139. }
  140. })
  141. minetest.register_craft({
  142. output = 'lottclothes:feltthread 7',
  143. recipe = {
  144. {'lottclothes:trousers_wizard_white'},
  145. }
  146. })
  147. -- cloak
  148. minetest.register_tool("lottclothes:cloak_wizard_white", {
  149. description = "White Wizard Cloak",
  150. inventory_image = "lottclothes_inv_cloak_wizard_white.png",
  151. groups = {armor_heal=0, clothes=1, no_preview=1, clothes_cloak=1},
  152. wear = 0
  153. })
  154. minetest.register_craft({
  155. output = "lottclothes:cloak_wizard_white",
  156. recipe = {
  157. {"lottclothes:felt_white", "lottclothes:felt_white"},
  158. {"lottclothes:felt_white", "lottclothes:felt_white"},
  159. {"lottclothes:felt_white", "lottclothes:felt_white"}
  160. }
  161. })
  162. minetest.register_craft({
  163. output = 'lottclothes:feltthread 6',
  164. recipe = {
  165. {'lottclothes:cloak_wizard_white'},
  166. }
  167. })