summaryrefslogtreecommitdiff
path: root/farming/hoes.lua
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-04-02 18:04:55 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-04-02 18:04:55 -0400
commit4ebefe20c921e5ec80f7e95c6f332bf550c92006 (patch)
tree648e84a224ccf1c0dadeb00ce5183db410949219 /farming/hoes.lua
parent8555f75acc050f29508d88f1e57159f79cb948d1 (diff)
downloaddreambuilder_modpack-4ebefe20c921e5ec80f7e95c6f332bf550c92006.tar
dreambuilder_modpack-4ebefe20c921e5ec80f7e95c6f332bf550c92006.tar.gz
dreambuilder_modpack-4ebefe20c921e5ec80f7e95c6f332bf550c92006.tar.bz2
dreambuilder_modpack-4ebefe20c921e5ec80f7e95c6f332bf550c92006.tar.xz
dreambuilder_modpack-4ebefe20c921e5ec80f7e95c6f332bf550c92006.zip
updated areas (now using the minetest-mods repo), farming redo,
moreblocks, and moreores
Diffstat (limited to 'farming/hoes.lua')
-rw-r--r--farming/hoes.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/farming/hoes.lua b/farming/hoes.lua
index 430d0f7..ed833e5 100644
--- a/farming/hoes.lua
+++ b/farming/hoes.lua
@@ -469,4 +469,30 @@ if minetest.get_modpath("moreores") then
{"", "", "group:stick"}
}
})
+
+ farming.register_hoe(":moreores:hoe_silver", {
+ description = S("%s Hoe"):format(S("Silver")),
+ inventory_image = "moreores_tool_silverhoe.png",
+ max_uses = 300,
+ material = "moreores:silver_ingot",
+ })
+
+ farming.register_hoe(":moreores:hoe_mithril", {
+ description = S("%s Hoe"):format(S("Mithril")),
+ inventory_image = "moreores_tool_mithrilhoe.png",
+ max_uses = 1000,
+ material = "moreores:mithril_ingot",
+ })
+
+ -- Toolranks support
+ if tr then
+
+ minetest.override_item("moreores:hoe_silver", {
+ original_description = S("%s Hoe"):format(S("Silver")),
+ description = toolranks.create_description("Silver Hoe")})
+
+ minetest.override_item("moreores:hoe_mithril", {
+ original_description = S("%s Hoe"):format(S("Mithril")),
+ description = toolranks.create_description("Mithril Hoe")})
+ end
end