hoes.lua 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. farming.register_hoe(":farming:hoe_wood", {
  2. description = "Wooden Hoe",
  3. inventory_image = "farming_tool_woodhoe.png",
  4. max_uses = 30,
  5. material = "group:wood",
  6. groups = {flammable = 2},
  7. })
  8. farming.register_hoe(":farming:hoe_stone", {
  9. description = "Stone Hoe",
  10. inventory_image = "farming_tool_stonehoe.png",
  11. max_uses = 90,
  12. material = "group:stone"
  13. })
  14. farming.register_hoe(":farming:hoe_steel", {
  15. description = "Steel Hoe",
  16. inventory_image = "farming_tool_steelhoe.png",
  17. max_uses = 500,
  18. material = "default:steel_ingot"
  19. })
  20. -- The following are deprecated by removing the 'material' field to prevent
  21. -- crafting and removing from creative inventory, to cause them to eventually
  22. -- disappear from worlds. The registrations should be removed in a future
  23. -- release.
  24. farming.register_hoe(":farming:hoe_bronze", {
  25. description = "Bronze Hoe",
  26. inventory_image = "farming_tool_bronzehoe.png",
  27. max_uses = 220,
  28. groups = {not_in_creative_inventory = 1},
  29. })
  30. farming.register_hoe(":farming:hoe_mese", {
  31. description = "Mese Hoe",
  32. inventory_image = "farming_tool_mesehoe.png",
  33. max_uses = 350,
  34. groups = {not_in_creative_inventory = 1},
  35. })
  36. farming.register_hoe(":farming:hoe_diamond", {
  37. description = "Diamond Hoe",
  38. inventory_image = "farming_tool_diamondhoe.png",
  39. max_uses = 500,
  40. groups = {not_in_creative_inventory = 1},
  41. })