2019-09-10 19:09:51 +02:00
|
|
|
-- farming/hoes.lua
|
|
|
|
|
|
|
|
-- support for MT game translation.
|
|
|
|
local S = farming.get_translator
|
|
|
|
|
2014-04-16 23:44:58 +02:00
|
|
|
farming.register_hoe(":farming:hoe_wood", {
|
2019-09-10 19:09:51 +02:00
|
|
|
description = S("Wooden Hoe"),
|
2014-04-16 23:44:58 +02:00
|
|
|
inventory_image = "farming_tool_woodhoe.png",
|
|
|
|
max_uses = 30,
|
2016-10-24 20:34:00 +02:00
|
|
|
material = "group:wood",
|
2019-06-01 21:10:30 +02:00
|
|
|
groups = {hoe = 1, flammable = 2},
|
2014-04-16 23:44:58 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
farming.register_hoe(":farming:hoe_stone", {
|
2019-09-10 19:09:51 +02:00
|
|
|
description = S("Stone Hoe"),
|
2014-04-16 23:44:58 +02:00
|
|
|
inventory_image = "farming_tool_stonehoe.png",
|
|
|
|
max_uses = 90,
|
2019-06-01 21:10:30 +02:00
|
|
|
material = "group:stone",
|
|
|
|
groups = {hoe = 1}
|
2014-04-16 23:44:58 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
farming.register_hoe(":farming:hoe_steel", {
|
2019-09-10 19:09:51 +02:00
|
|
|
description = S("Steel Hoe"),
|
2014-04-16 23:44:58 +02:00
|
|
|
inventory_image = "farming_tool_steelhoe.png",
|
2018-04-08 18:55:19 +02:00
|
|
|
max_uses = 500,
|
2019-06-01 21:10:30 +02:00
|
|
|
material = "default:steel_ingot",
|
|
|
|
groups = {hoe = 1}
|
2014-04-16 23:44:58 +02:00
|
|
|
})
|
|
|
|
|
2018-04-08 18:55:19 +02:00
|
|
|
-- The following are deprecated by removing the 'material' field to prevent
|
|
|
|
-- crafting and removing from creative inventory, to cause them to eventually
|
|
|
|
-- disappear from worlds. The registrations should be removed in a future
|
|
|
|
-- release.
|
|
|
|
|
2014-04-16 23:44:58 +02:00
|
|
|
farming.register_hoe(":farming:hoe_bronze", {
|
2019-09-10 19:09:51 +02:00
|
|
|
description = S("Bronze Hoe"),
|
2014-04-16 23:44:58 +02:00
|
|
|
inventory_image = "farming_tool_bronzehoe.png",
|
|
|
|
max_uses = 220,
|
2019-06-01 21:10:30 +02:00
|
|
|
groups = {hoe = 1, not_in_creative_inventory = 1},
|
2014-04-16 23:44:58 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
farming.register_hoe(":farming:hoe_mese", {
|
2019-09-10 19:09:51 +02:00
|
|
|
description = S("Mese Hoe"),
|
2014-04-16 23:44:58 +02:00
|
|
|
inventory_image = "farming_tool_mesehoe.png",
|
|
|
|
max_uses = 350,
|
2019-06-01 21:10:30 +02:00
|
|
|
groups = {hoe = 1, not_in_creative_inventory = 1},
|
2014-04-16 23:44:58 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
farming.register_hoe(":farming:hoe_diamond", {
|
2019-09-10 19:09:51 +02:00
|
|
|
description = S("Diamond Hoe"),
|
2014-04-16 23:44:58 +02:00
|
|
|
inventory_image = "farming_tool_diamondhoe.png",
|
|
|
|
max_uses = 500,
|
2019-06-01 21:10:30 +02:00
|
|
|
groups = {hoe = 1, not_in_creative_inventory = 1},
|
2014-04-16 23:44:58 +02:00
|
|
|
})
|