Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Illuna-Minetest
minetest_game
Commits
29f1f01f
Commit
29f1f01f
authored
Jun 03, 2013
by
PilzAdam
Browse files
Increase chance for getting seeds
parent
a654c0db
Changes
1
Hide whitespace changes
Inline
Side-by-side
mods/farming/init.lua
View file @
29f1f01f
...
...
@@ -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'
}},
}
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment