1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-16 23:01:07 +02:00

Use different chances for leaves->blossom and blossom->leaves conversions

This commit is contained in:
Rogier
2015-04-02 12:18:09 +02:00
parent bb41483ee9
commit 8348a745f8
2 changed files with 4 additions and 3 deletions

View File

@ -33,7 +33,7 @@ minetest.register_craft({
minetest.register_abm({
nodenames = { nature.blossom_leaves },
interval = nature.blossom_delay,
chance = nature.blossom_chance,
chance = nature.leaves_blossom_chance,
action = function(pos, node, active_object_count, active_object_count_wider)
nature.enqueue_node(pos, node, nature.blossom_node)
@ -44,7 +44,7 @@ minetest.register_abm({
minetest.register_abm({
nodenames = { nature.blossom_node },
interval = nature.blossom_delay,
chance = nature.blossom_chance,
chance = nature.blossom_leaves_chance,
action = function(pos, node, active_object_count, active_object_count_wider)
nature.enqueue_node(pos, node, nature.blossom_leaves)