From: PilzAdam Date: Sun, 2 Jun 2013 23:15:40 +0000 (+0200) Subject: Increase chance for getting seeds X-Git-Tag: 0.4.7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=29f1f01f37e970bb348ddcc17e9b233294aff044;p=oweals%2Fminetest_game.git Increase chance for getting seeds --- diff --git a/mods/farming/init.lua b/mods/farming/init.lua index 9d0ebfbd..3c378015 100644 --- a/mods/farming/init.lua +++ b/mods/farming/init.lua @@ -58,7 +58,7 @@ minetest.register_abm({ -- -- Hoes -- --- turns nodes with group soil=1 into soil; drop seeds if plowing grass +-- turns nodes with group soil=1 into soil local function hoe_on_use(itemstack, user, pointed_thing, uses) local pt = pointed_thing -- check if pointing at a node @@ -189,7 +189,7 @@ minetest.register_node(":default:grass_1", { drop = { max_items = 1, items = { - {items = {'farming:seed_wheat'},rarity = 20}, + {items = {'farming:seed_wheat'},rarity = 5}, {items = {'default:grass_1'}}, } }, @@ -221,7 +221,7 @@ for i=2,5 do drop = { max_items = 1, items = { - {items = {'farming:seed_wheat'},rarity = 20}, + {items = {'farming:seed_wheat'},rarity = 5}, {items = {'default:grass_1'}}, } }, @@ -248,7 +248,7 @@ minetest.register_node(":default:junglegrass", { drop = { max_items = 1, items = { - {items = {'farming:seed_cotton'},rarity = 20}, + {items = {'farming:seed_cotton'},rarity = 8}, {items = {'default:junglegrass'}}, } },