Skip to content
Snippets Groups Projects
Commit e42b0ff4 authored by Rogier's avatar Rogier
Browse files

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.
parent a27c97d3
No related branches found
No related tags found
No related merge requests found
......@@ -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"},
......
......@@ -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"},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment