pants.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. minetest.register_craftitem('clothing:jeans_1', {
  2. description = 'Jeans (blue)',
  3. tex = 'clothing_jeans_1.png',
  4. cost = 2,
  5. inventory_image = 'clothing_jeans_1_inv.png',
  6. stack_max = 1,
  7. groups = {clothing = 1, not_in_creative_inventory=1, clothing_pants=1},
  8. on_drop = lobby.no_drop
  9. })
  10. minetest.register_craftitem('clothing:jeans_2', {
  11. description = 'Jeans (black)',
  12. tex = 'clothing_jeans_2.png',
  13. cost = 2,
  14. inventory_image = 'clothing_jeans_2_inv.png',
  15. stack_max = 1,
  16. groups = {clothing = 1, not_in_creative_inventory=1, clothing_pants=1},
  17. on_drop = lobby.no_drop
  18. })
  19. minetest.register_craftitem('clothing:shorts_1', {
  20. description = 'Shorts (Khaki)',
  21. tex = 'clothing_shorts_1.png',
  22. cost = 10,
  23. inventory_image = 'clothing_shorts_1_inv.png',
  24. stack_max = 1,
  25. groups = {clothing = 1, not_in_creative_inventory=1, clothing_pants=1},
  26. on_drop = lobby.no_drop
  27. })
  28. minetest.register_craftitem('clothing:pants_1', {
  29. description = 'Track Pants',
  30. tex = 'clothing_pants_1.png',
  31. cost = 10,
  32. inventory_image = 'clothing_pants_1_inv.png',
  33. stack_max = 1,
  34. groups = {clothing = 1, not_in_creative_inventory=1, clothing_pants=1},
  35. on_drop = lobby.no_drop
  36. })