mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-10-31 23:12:39 +00:00
Make fully grown beetroot drop 1 to 4 seeds when harvested
As beetroot often did not drop seeds, players could end up with no seeds when trying to farm beetroot. This patch guarantees that at least one beetroot seed is dropped when harvesting beetroot.
This commit is contained in:
parent
b96dad7852
commit
eb7b99d59e
1 changed files with 7 additions and 6 deletions
|
@ -98,14 +98,15 @@ minetest.register_node("mcl_farming:beetroot", {
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
drop = {
|
drop = {
|
||||||
--[[ drops 1 beetroot guaranteed.
|
--[[ drops 1 beetroot guaranteed.
|
||||||
drops 0-3 beetroot seeds:
|
drops 1-4 beetroot seeds:
|
||||||
0 seeds: 42.18%
|
1 seed: 42.18%
|
||||||
1 seed: 14.06%
|
2 seeds: 14.06%
|
||||||
2 seeds: 18.75%
|
3 seeds: 18.75%
|
||||||
3 seeds: 25% ]]
|
4 seeds: 25% ]]
|
||||||
max_items = 2,
|
max_items = 3,
|
||||||
items = {
|
items = {
|
||||||
{ items = {"mcl_farming:beetroot_item"}, rarity = 1 },
|
{ items = {"mcl_farming:beetroot_item"}, rarity = 1 },
|
||||||
|
{ items = {"mcl_farming:beetroot_seeds 1"}, rarity = 1 },
|
||||||
{ items = {"mcl_farming:beetroot_seeds 3"}, rarity = 4 },
|
{ items = {"mcl_farming:beetroot_seeds 3"}, rarity = 4 },
|
||||||
{ items = {"mcl_farming:beetroot_seeds 2"}, rarity = 4 },
|
{ items = {"mcl_farming:beetroot_seeds 2"}, rarity = 4 },
|
||||||
{ items = {"mcl_farming:beetroot_seeds 1"}, rarity = 4 },
|
{ items = {"mcl_farming:beetroot_seeds 1"}, rarity = 4 },
|
||||||
|
|
Loading…
Reference in a new issue