brandybuck.lua 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. -- basic outfit from the the brandybuck family.
  2. -- made from blue flax and copper ingot.
  3. -- hasn't got headwear.
  4. local level=2
  5. -- shirt (torso)
  6. minetest.register_tool("lottclothes:shirt_brandybuck", {
  7. description = "Brandybuck Shirt",
  8. inventory_image = "lottclothes_inv_shirt_brandybuck.png",
  9. groups = {armor_torso=0, armor_heal=0, clothes=1, clothes_torso=1},
  10. wear = 0
  11. })
  12. minetest.register_craft({
  13. output = "lottclothes:shirt_brandybuck",
  14. recipe = {
  15. {"lottclothes:flax_blue", "", "lottclothes:flax_blue"},
  16. {"lottclothes:flax_yellow", "lottclothes:flax_blue", "lottclothes:flax_yellow"},
  17. {"lottclothes:flax_yellow", "lottclothes:flax_blue", "lottclothes:flax_yellow"}
  18. }
  19. })
  20. minetest.register_craft({
  21. output = 'lottclothes:flaxthread 8',
  22. recipe = {
  23. {'lottclothes:shirt_brandybuck'},
  24. }
  25. })
  26. -- trousers (legs)
  27. minetest.register_tool("lottclothes:trousers_brandybuck", {
  28. description = "Brandybuck Trousers",
  29. inventory_image = "lottclothes_inv_trousers_brandybuck.png",
  30. groups = {armor_legs=0, armor_heal=0, clothes=1, clothes_legs=1},
  31. wear = 0
  32. })
  33. minetest.register_craft({
  34. output = "lottclothes:trousers_brandybuck",
  35. recipe = {
  36. {"lottclothes:flax_brown", "lottclothes:flax_brown", "lottclothes:flax_brown"},
  37. {"lottclothes:flax_brown", "" , "lottclothes:flax_brown"},
  38. {"lottclothes:flax_brown", "" , "lottclothes:flax_brown"}
  39. }
  40. })
  41. minetest.register_craft({
  42. output = 'lottclothes:flaxthread 7',
  43. recipe = {
  44. {'lottclothes:trousers_brandybuck'},
  45. }
  46. })
  47. -- shoes (feet)
  48. minetest.register_tool("lottclothes:shoes_brandybuck", {
  49. description = "Brandybuck Shoes",
  50. inventory_image = "lottclothes_inv_shoes_brandybuck.png",
  51. groups = {armor_feet=0, armor_heal=0, clothes=1, clothes_feet=1},
  52. wear = 0
  53. })
  54. minetest.register_craft({
  55. output = "lottclothes:shoes_brandybuck",
  56. recipe = {
  57. {"lottclothes:flax_blue", "", "lottclothes:flax_blue"},
  58. {"default:copper_ingot", "", "default:copper_ingot"}
  59. }
  60. })
  61. minetest.register_craft({
  62. output = 'lottclothes:flaxthread 2',
  63. recipe = {
  64. {'lottclothes:shoes_brandybuck'},
  65. }
  66. })