mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-12-28 20:05:30 +01:00
[farming] Update for #443
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
|
||||
local S = farming.intllib
|
||||
|
||||
-- Hoe registration function
|
||||
|
||||
farming.register_hoe = function(name, def)
|
||||
@@ -39,7 +41,6 @@ farming.register_hoe = function(name, def)
|
||||
})
|
||||
|
||||
-- Register its recipe
|
||||
-- Registration using material made for MFF
|
||||
if def.material == nil then
|
||||
minetest.register_craft({
|
||||
output = name:sub(2),
|
||||
@@ -124,56 +125,56 @@ end
|
||||
-- Material fields added for MFF
|
||||
|
||||
farming.register_hoe(":farming:hoe_wood", {
|
||||
description = "Wooden Hoe",
|
||||
description = S("Wooden Hoe"),
|
||||
inventory_image = "farming_tool_woodhoe.png",
|
||||
max_uses = 30,
|
||||
material = "group:wood"
|
||||
})
|
||||
|
||||
farming.register_hoe(":farming:hoe_stone", {
|
||||
description = "Stone Hoe",
|
||||
description = S("Stone Hoe"),
|
||||
inventory_image = "farming_tool_stonehoe.png",
|
||||
max_uses = 90,
|
||||
material = "group:stone"
|
||||
})
|
||||
|
||||
farming.register_hoe(":farming:hoe_steel", {
|
||||
description = "Steel Hoe",
|
||||
description = S("Steel Hoe"),
|
||||
inventory_image = "farming_tool_steelhoe.png",
|
||||
max_uses = 200,
|
||||
material = "default:steel_ingot"
|
||||
})
|
||||
|
||||
farming.register_hoe(":farming:hoe_bronze", {
|
||||
description = "Bronze Hoe",
|
||||
description = S("Bronze Hoe"),
|
||||
inventory_image = "farming_tool_bronzehoe.png",
|
||||
max_uses = 220,
|
||||
material = "default:bronze_ingot"
|
||||
})
|
||||
|
||||
farming.register_hoe(":farming:hoe_silver", {
|
||||
description = "Silver Hoe",
|
||||
description = S("Silver Hoe"),
|
||||
inventory_image = "farming_tool_silverhoe.png",
|
||||
max_uses = 300,
|
||||
material = "default:silver_ingot"
|
||||
})
|
||||
|
||||
farming.register_hoe(":farming:hoe_mese", {
|
||||
description = "Mese Hoe",
|
||||
description = S("Mese Hoe"),
|
||||
inventory_image = "farming_tool_mesehoe.png",
|
||||
max_uses = 350,
|
||||
material = "default:mese_crystal"
|
||||
})
|
||||
|
||||
farming.register_hoe(":farming:hoe_diamond", {
|
||||
description = "Diamond Hoe",
|
||||
description = S("Diamond Hoe"),
|
||||
inventory_image = "farming_tool_diamondhoe.png",
|
||||
max_uses = 500,
|
||||
material = "default:diamond"
|
||||
})
|
||||
|
||||
farming.register_hoe(":farming:hoe_mithril", {
|
||||
description = "Mithril Hoe",
|
||||
description = S("Mithril Hoe"),
|
||||
inventory_image = "farming_tool_mithrilhoe.png",
|
||||
max_uses = 1000,
|
||||
material = "default:mithril_ingot"
|
||||
|
||||
Reference in New Issue
Block a user