1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2024-12-27 03:00:20 +01:00

Drop cocoa pods when no tree nearby

This commit is contained in:
TenPlus1 2015-07-17 10:35:13 +01:00
parent 928dad3c4c
commit 3d12807ca8

View File

@ -94,7 +94,7 @@ minetest.register_node("farming:cocoa_1", {
}, },
groups = { groups = {
snappy = 3, flammable = 2, plant = 1, growing = 1, snappy = 3, flammable = 2, plant = 1, growing = 1,
not_in_creative_inventory=1 not_in_creative_inventory=1, leafdecay = 1, leafdecay_drop = 1
}, },
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
}) })
@ -115,7 +115,7 @@ minetest.register_node("farming:cocoa_2", {
}, },
groups = { groups = {
snappy = 3, flammable = 2, plant = 1, growing = 1, snappy = 3, flammable = 2, plant = 1, growing = 1,
not_in_creative_inventory=1 not_in_creative_inventory=1, leafdecay = 1, leafdecay_drop = 1
}, },
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
}) })
@ -139,7 +139,7 @@ minetest.register_node("farming:cocoa_3", {
}, },
groups = { groups = {
snappy = 3, flammable = 2, plant = 1, snappy = 3, flammable = 2, plant = 1,
not_in_creative_inventory = 1 not_in_creative_inventory = 1, leafdecay = 1, leafdecay_drop = 1
}, },
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
}) })