1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-12-27 02:50:19 +01:00

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 not_in_creative_inventory=1
}, },
drop = { drop = {
max_items = 1, max_items = 2,
items = { 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"}, items = {"ferns:sapling_giant_tree_fern"},
rarity = 40,
}, },
{ {
items = {"ferns:tree_fern_leaves_giant"}, items = {"ferns:tree_fern_leaves_giant"},

View File

@ -51,11 +51,17 @@ minetest.register_node("ferns:tree_fern_leaves", {
walkable = false, walkable = false,
groups = {snappy=3,flammable=2,attached_node=1}, groups = {snappy=3,flammable=2,attached_node=1},
drop = { drop = {
max_items = 1, max_items = 2,
items = { 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"}, items = {"ferns:sapling_tree_fern"},
rarity = 20,
}, },
{ {
items = {"ferns:tree_fern_leaves"}, items = {"ferns:tree_fern_leaves"},
@ -76,11 +82,17 @@ minetest.register_node("ferns:tree_fern_leaves_02", {
walkable = false, walkable = false,
groups = {snappy=3,flammable=2,attached_node=1,not_in_creative_inventory=1}, groups = {snappy=3,flammable=2,attached_node=1,not_in_creative_inventory=1},
drop = { drop = {
max_items = 1, max_items = 2,
items = { 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"}, items = {"ferns:sapling_tree_fern"},
rarity = 20,
}, },
{ {
items = {"ferns:tree_fern_leaves"}, items = {"ferns:tree_fern_leaves"},