Regular & giant treefern leaves: always drop a sapling, and either leaves or another sapling

As there is only one leaf per fern, this makes it possible and convenient
to farm ferns (which was impossible, and even replanting all chopped-down
fern plants was extremely laborious due to the rarity of saplings).

Although on average slightly more than one sapling is produced per plant,
replanting and reharvesting the leaves is still the quickest way to
obtain more saplings.
This commit is contained in:
Rogier 2015-06-21 10:39:41 +02:00
parent a27c97d3c9
commit e42b0ff4b3
2 changed files with 24 additions and 6 deletions

View File

@ -110,11 +110,17 @@ minetest.register_node("ferns:tree_fern_leaves_giant", {
not_in_creative_inventory=1
},
drop = {
max_items = 1,
max_items = 2,
items = {
{
-- occasionally, drop a second sapling instead of leaves
-- (extra saplings can also be obtained by replanting and
-- reharvesting leaves)
items = {"ferns:sapling_giant_tree_fern"},
rarity = 10,
},
{
items = {"ferns:sapling_giant_tree_fern"},
rarity = 40,
},
{
items = {"ferns:tree_fern_leaves_giant"},

View File

@ -51,11 +51,17 @@ minetest.register_node("ferns:tree_fern_leaves", {
walkable = false,
groups = {snappy=3,flammable=2,attached_node=1},
drop = {
max_items = 1,
max_items = 2,
items = {
{
-- occasionally, drop a second sapling instead of leaves
-- (extra saplings can also be obtained by replanting and
-- reharvesting leaves)
items = {"ferns:sapling_tree_fern"},
rarity = 10,
},
{
items = {"ferns:sapling_tree_fern"},
rarity = 20,
},
{
items = {"ferns:tree_fern_leaves"},
@ -76,11 +82,17 @@ minetest.register_node("ferns:tree_fern_leaves_02", {
walkable = false,
groups = {snappy=3,flammable=2,attached_node=1,not_in_creative_inventory=1},
drop = {
max_items = 1,
max_items = 2,
items = {
{
-- occasionally, drop a second sapling instead of leaves
-- (extra saplings can also be obtained by replanting and
-- reharvesting leaves)
items = {"ferns:sapling_tree_fern"},
rarity = 10,
},
{
items = {"ferns:sapling_tree_fern"},
rarity = 20,
},
{
items = {"ferns:tree_fern_leaves"},