add toolrank support for iron hoe if farming redo active
This commit is contained in:
parent
6c6f2e7df9
commit
a300d9a696
@ -122,6 +122,14 @@ if minetest.get_modpath("farming") then
|
|||||||
max_uses = 150,
|
max_uses = 150,
|
||||||
material = "pigiron:iron_ingot"
|
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
|
end
|
||||||
|
|
||||||
-- Switch Tool Capabilities between Steel and Bronze Tools
|
-- Switch Tool Capabilities between Steel and Bronze Tools
|
||||||
|
Loading…
x
Reference in New Issue
Block a user