Increase chance for getting seeds 0.4.7
authorPilzAdam <pilzadam@minetest.net>
Sun, 2 Jun 2013 23:15:40 +0000 (01:15 +0200)
committerPilzAdam <pilzadam@minetest.net>
Sun, 2 Jun 2013 23:15:40 +0000 (01:15 +0200)
mods/farming/init.lua

index 9d0ebfbd7697bcc0b86182b6f16510722ee11d54..3c378015658afcfd957f37030b0469f5d35d4ab0 100644 (file)
@@ -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'}},
                }
        },