midgewater.lua 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. -- the simplest outfit available.
  2. -- made from green felt & wood (just cut down the nearest tree).
  3. local level=1
  4. -- cap (head)
  5. minetest.register_tool("lottclothes:cap_midgewater", {
  6. description = "Midgewater Cap",
  7. inventory_image = "lottclothes_inv_cap_midgewater.png",
  8. groups = {armor_head=0, armor_heal=0, clothes=1, clothes_head=1},
  9. wear = 0
  10. })
  11. minetest.register_craft({
  12. output = "lottclothes:cap_midgewater",
  13. recipe = {
  14. {"lottclothes:felt_green", "lottclothes:felt_green", "lottclothes:felt_green"},
  15. {"lottclothes:felt_green", "", "lottclothes:felt_green"},
  16. {"", "",""}
  17. }
  18. })
  19. minetest.register_craft({
  20. output = 'lottclothes:feltthread 5',
  21. recipe = {
  22. {'lottclothes:cap_midgewater'},
  23. }
  24. })
  25. -- jacket (torso)
  26. minetest.register_tool("lottclothes:jacket_midgewater", {
  27. description = "Midgewater Jacket",
  28. inventory_image = "lottclothes_inv_jacket_midgewater.png",
  29. groups = {armor_torso=0, armor_heal=0, clothes=1, clothes_torso=1},
  30. wear = 0
  31. })
  32. minetest.register_craft({
  33. output = "lottclothes:jacket_midgewater",
  34. recipe = {
  35. {"lottclothes:felt_green", "", "lottclothes:felt_green"},
  36. {"lottclothes:felt_green", "lottclothes:felt_green", "lottclothes:felt_green"},
  37. {"lottclothes:felt_green", "lottclothes:felt_green", "lottclothes:felt_green"}
  38. }
  39. })
  40. minetest.register_craft({
  41. output = 'lottclothes:feltthread 8',
  42. recipe = {
  43. {'lottclothes:jacket_midgewater'},
  44. }
  45. })
  46. -- pants (legs)
  47. minetest.register_tool("lottclothes:pants_midgewater", {
  48. description = "Midgewater Pants",
  49. inventory_image = "lottclothes_inv_pants_midgewater.png",
  50. groups = {armor_legs=0, armor_heal=0, clothes=1, clothes_legs=1},
  51. wear = 0
  52. })
  53. minetest.register_craft({
  54. output = "lottclothes:pants_midgewater",
  55. recipe = {
  56. {"lottclothes:felt_green", "lottclothes:felt_green", "lottclothes:felt_green"},
  57. {"lottclothes:felt_green", "" , "lottclothes:felt_green"},
  58. {"lottclothes:felt_green", "" , "lottclothes:felt_green"}
  59. }
  60. })
  61. minetest.register_craft({
  62. output = 'lottclothes:feltthread 7',
  63. recipe = {
  64. {'lottclothes:pants_midgewater'},
  65. }
  66. })
  67. -- boots (feet)
  68. minetest.register_tool("lottclothes:boots_midgewater", {
  69. description = "Midgewater Boots",
  70. inventory_image = "lottclothes_inv_boots_midgewater.png",
  71. groups = {armor_feet=0, armor_heal=0, clothes=1, clothes_feet=1},
  72. wear = 0
  73. })
  74. minetest.register_craft({
  75. output = "lottclothes:boots_midgewater",
  76. recipe = {
  77. {"lottclothes:flax_brown", "", "lottclothes:flax_brown"},
  78. {"group:wood", "", "group:wood"}
  79. }
  80. })
  81. minetest.register_craft({
  82. output = 'lottclothes:flaxthread 2',
  83. recipe = {
  84. {'lottclothes:boots_midgewater'},
  85. }
  86. })