mirror of
https://codeberg.org/tenplus1/farming.git
synced 2024-12-26 18:50:20 +01:00
Drop cocoa pods when no tree nearby
This commit is contained in:
parent
928dad3c4c
commit
3d12807ca8
@ -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(),
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user