add toolrank support for iron hoe if farming redo active

This commit is contained in:
TenPlus1 2019-06-02 11:38:17 +01:00
parent 6c6f2e7df9
commit a300d9a696

View File

@ -122,6 +122,14 @@ if minetest.get_modpath("farming") then
max_uses = 150,
material = "pigiron:iron_ingot"
})
-- Toolranks support if farming redo active
if farming and farming.mod
and minetest.get_modpath("toolranks") then
minetest.override_item("farming:hoe_iron", {
original_description = "Iron Hoe",
description = toolranks.create_description("Iron Hoe")})
end
end
-- Switch Tool Capabilities between Steel and Bronze Tools