chetwood.lua 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. -- basic outfit from the chetwood forest.
  2. -- made from green and brown felt & tin ingot.
  3. local level=2
  4. -- cap (head)
  5. minetest.register_tool("lottclothes:cap_chetwood", {
  6. description = "Chetwood Cap",
  7. inventory_image = "lottclothes_inv_cap_chetwood.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_chetwood",
  13. recipe = {
  14. {"lottclothes:felt_green", "lottclothes:felt_green", "lottclothes:felt_green"},
  15. {"lottores:tin_ingot", "", "lottores:tin_ingot"},
  16. {"", "",""}
  17. }
  18. })
  19. minetest.register_craft({
  20. output = 'lottclothes:feltthread 3',
  21. recipe = {
  22. {'lottclothes:cap_chetwood'},
  23. }
  24. })
  25. -- jacket (torso)
  26. minetest.register_tool("lottclothes:jacket_chetwood", {
  27. description = "Chetwood Jacket",
  28. inventory_image = "lottclothes_inv_jacket_chetwood.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_chetwood",
  34. recipe = {
  35. {"lottclothes:felt_green", "", "lottclothes:felt_green"},
  36. {"lottores:tin_ingot", "lottclothes:felt_green", "lottores:tin_ingot"},
  37. {"lottores:tin_ingot", "lottclothes:felt_green", "lottores:tin_ingot"}
  38. }
  39. })
  40. minetest.register_craft({
  41. output = 'lottclothes:feltthread 4',
  42. recipe = {
  43. {'lottclothes:jacket_chetwood'},
  44. }
  45. })
  46. -- pants (legs)
  47. minetest.register_tool("lottclothes:pants_chetwood", {
  48. description = "Chetwood Pants",
  49. inventory_image = "lottclothes_inv_pants_chetwood.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_chetwood",
  55. recipe = {
  56. {"lottclothes:felt_green", "lottclothes:felt_green", "lottclothes:felt_green"},
  57. {"lottores:tin_ingot", "" , "lottores:tin_ingot"},
  58. {"lottores:tin_ingot", "" , "lottores:tin_ingot"}
  59. }
  60. })
  61. minetest.register_craft({
  62. output = 'lottclothes:feltthread 3',
  63. recipe = {
  64. {'lottclothes:pants_chetwood'},
  65. }
  66. })
  67. -- boots (feet)
  68. minetest.register_tool("lottclothes:boots_chetwood", {
  69. description = "Chetwood Boots",
  70. inventory_image = "lottclothes_inv_boots_chetwood.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_chetwood",
  76. recipe = {
  77. {"lottclothes:felt_brown", "", "lottclothes:felt_brown"},
  78. {"lottores:tin_ingot", "", "lottores:tin_ingot"}
  79. }
  80. })
  81. minetest.register_craft({
  82. output = 'lottclothes:feltthread 2',
  83. recipe = {
  84. {'lottclothes:boots_chetwood'},
  85. }
  86. })