elven.lua 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. minetest.register_tool("lottclothes:hood_elven", {
  2. description = "Elven Hood",
  3. inventory_image = "lottclothes_inv_hood_elven.png",
  4. groups = {armor_feet=0, armor_heal=0, clothes=1, clothes_head=1},
  5. wear = 0
  6. })
  7. minetest.register_tool("lottclothes:shirt_elven", {
  8. description = "Elven Shirt",
  9. inventory_image = "lottclothes_inv_shirt_elven.png",
  10. groups = {armor_feet=0, armor_heal=0, clothes=1, clothes_torso=1},
  11. wear = 0
  12. })
  13. minetest.register_tool("lottclothes:trousers_elven", {
  14. description = "Elven Trousers",
  15. inventory_image = "lottclothes_inv_trousers_elven.png",
  16. groups = {armor_feet=0, armor_heal=0, clothes=1, clothes_legs=1},
  17. wear = 0
  18. })
  19. minetest.register_tool("lottclothes:shoes_elven", {
  20. description = "Elven Shoes",
  21. inventory_image = "lottclothes_inv_shoes_elven.png",
  22. groups = {armor_feet=0, armor_heal=0, clothes=1, clothes_feet=1},
  23. wear = 0
  24. })
  25. minetest.register_tool("lottclothes:cloak_elven", {
  26. description = "Elven Cloak",
  27. inventory_image = "lottclothes_inv_cloak_elven.png",
  28. groups = {armor_feet=0, armor_heal=0, clothes=1, clothes_cloak=1},
  29. wear = 0
  30. })
  31. minetest.register_craft({
  32. output = "lottclothes:hood_elven",
  33. recipe = {
  34. {"lottclothes:flax_grey", "lottclothes:flax_grey", "lottclothes:flax_grey"},
  35. {"lottclothes:flax_grey", "" , "lottclothes:flax_grey"},
  36. }
  37. })
  38. minetest.register_craft({
  39. output = 'lottclothes:flaxthread 5',
  40. recipe = {
  41. {'lottclothes:hood_elven'},
  42. }
  43. })
  44. minetest.register_craft({
  45. output = "lottclothes:shirt_elven",
  46. recipe = {
  47. {"lottclothes:flax_grey", "", "lottclothes:flax_grey"},
  48. {"lottclothes:flax_grey", "lottclothes:flax_grey", "lottclothes:flax_grey"},
  49. {"lottclothes:flax_grey", "lottclothes:flax_grey", "lottclothes:flax_grey"}
  50. }
  51. })
  52. minetest.register_craft({
  53. output = 'lottclothes:flaxthread 8',
  54. recipe = {
  55. {'lottclothes:shirt_elven'},
  56. }
  57. })
  58. minetest.register_craft({
  59. output = "lottclothes:trousers_elven",
  60. recipe = {
  61. {"lottclothes:flax_grey", "lottclothes:flax_grey", "lottclothes:flax_grey"},
  62. {"lottclothes:flax_grey", "" , "lottclothes:flax_grey"},
  63. {"lottclothes:flax_grey", "" , "lottclothes:flax_grey"}
  64. }
  65. })
  66. minetest.register_craft({
  67. output = 'lottclothes:flaxthread 7',
  68. recipe = {
  69. {'lottclothes:trousers_elven'},
  70. }
  71. })
  72. minetest.register_craft({
  73. output = "lottclothes:shoes_elven",
  74. recipe = {
  75. {"lottclothes:flax_grey", "" , "lottclothes:flax_grey"},
  76. {"lottclothes:felt_black", "" , "lottclothes:felt_black"}
  77. }
  78. })
  79. minetest.register_craft({
  80. output = 'lottclothes:flaxthread 2',
  81. recipe = {
  82. {'lottclothes:shoes_elven'},
  83. }
  84. })
  85. minetest.register_craft({
  86. output = "lottclothes:cloak_elven",
  87. recipe = {
  88. {"lottclothes:flax_grey", "lottclothes:flax_grey"},
  89. {"lottclothes:flax_grey", "lottclothes:flax_grey"},
  90. {"lottclothes:flax_grey", "lottclothes:flax_grey"}
  91. }
  92. })
  93. minetest.register_craft({
  94. output = 'lottclothes:flaxthread 6',
  95. recipe = {
  96. {'lottclothes:cloak_elven'},
  97. }
  98. })