From 4ebefe20c921e5ec80f7e95c6f332bf550c92006 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Tue, 2 Apr 2019 18:04:55 -0400 Subject: updated areas (now using the minetest-mods repo), farming redo, moreblocks, and moreores --- farming/README.md | 4 ++-- farming/hoes.lua | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) (limited to 'farming') diff --git a/farming/README.md b/farming/README.md index 8f3e671..939417d 100644 --- a/farming/README.md +++ b/farming/README.md @@ -13,14 +13,14 @@ This mod works by adding your new plant to the {growing=1} group and numbering t ### Changelog: -- 1.40 - Added Mithril Scythe to quick harvest and replant crops on right-click. +- 1.40 - Added Mithril Scythe to quick harvest and replant crops on right-click. Added Hoe's for MoreOres with Toolrank support. - 1.39 - Added Rice, Rye and Oats thanks to Ademants Grains mod. Added Jaffa Cake and multigrain bread. - 1.38 - Pumpkin grows into block, use chopping board to cut into 4x slices, same with melon block, 2x2 slices makes a block, cocoa pods are no longer walkable - 1.37 - Added custom 'growth_check(pos, nodename) function for crop nodes to use (check cocoa.lua for example) - 1.36 - Added Beetroot, Beetroot Soup (6x beetroot, 1x bowl), fix register_plant() issue, add new recipes - 1.35 - Deprecated bronze/mese/diamond hoe's, added hoe bomb and deprecated hoe's as lucky block prizes - 1.34 - Added scarecrow Base (5x sticks in a cross shape) -- 1.33 - Added cooking utensils (wooden bowl, saucepan, cooking pot, baking tray, skillet, cutting board, mortar & pestle, juicer, glass mixing bowl) for easier food crafts. +- 1.33 - Added cooking utensils (wooden bowl, saucepan, cooking pot, baking tray, skillet, cutting board, mortar & pestle, juicer, glass mixing bowl) for easier food crafts. - 1.32 - Added Pea plant (textures by Andrey01) - also added Wooden Bowl and Pea Soup crafts - 1.31 - Added Pineapple which can be found growing in savannah areas (place pineapple in crafting to obtain 5x rings to eat and a top for re-planting), also Salt which is made from cooking a bucket of water, added food groups so it's more compatible with Ruben's food mods. - 1.30 - Added Garlic, Pepper and Onions thanks to Grizzly Adam for sharing textures 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 -- cgit v1.2.3