trans_soup
3fa17f8b68
make decomposition require dirty nodes nearby.
...
decomposition will no longer happen unless the decomposing leaves are
touching a dirty node. thus, they can now be used for decoration in
non-dirty locations.
2023-10-19 17:14:39 +02:00
trans_soup
ecd04f8105
balance: tweak decomposition rate bonuses.
...
decomposing leaves now provide a smaller bonus, and dirty nodes now
provide a larger bonus, than before.
2023-10-19 17:08:08 +02:00
trans_soup
37d192798e
fix: decomposing leaves now check for falling.
...
leaves now call `minetest.check_for_falling` at their position when
decomposing into air. this fixes an error where falling nodes would be
left floating above decomposing leaves once said leaves disappeared.
2023-10-19 17:05:49 +02:00
trans_soup
123d3329cd
increase decomposition temporal resolution.
...
make decomposition ABM:s happen more often. also decrease their chance
of happening, so that the overall balance isn't affected.
2023-10-19 16:51:14 +02:00
trans_soup
e42407978d
add time control for decomposition.
...
add chat command that changes the rate at which decomposition happens.
2023-10-19 16:49:36 +02:00
trans_soup
400c27c021
tweak decomposition.
...
leaves will now start decomposing faster if touching certain nodes.
they'll also take longer overall to start decomposing.
2023-10-19 16:18:24 +02:00
trans_soup
ae26cfad42
refactor: make decomposition use new API function.
...
make leaves decomposition use the `blockgame.score_nearby_nodes` API
function (which was created largely from previous decomposition code).
2023-10-19 16:10:23 +02:00
trans_soup
292358a3db
balance: make decomposition more expensive.
...
decomposing leaves are now less likely to turn into dirt.
2023-10-19 16:00:43 +02:00
trans_soup
737afdfcc9
make leaves get a random level when they start decomposing.
2023-10-19 15:59:11 +02:00
trans_soup
7493d9771c
balance: make it take longer for leaves to start decomposing.
2023-10-19 15:56:37 +02:00
trans_soup
584187957a
balance: tweak decomposition rate.
...
make leaves decompose bonuses from nearby nodes less powerful, and
increase decomposition cost.
2023-10-19 15:32:24 +02:00
trans_soup
0dffde9363
balance: make base decomposition rate slower.
...
(negligible when the decomposing leaves are touching several nodes that
make them decompose faster.)
2023-10-19 15:17:05 +02:00
trans_soup
c4a70e45ce
decomposition fix.
...
make decomposing leaves no longer traverse nodes that don't affect their
decomposition rate, when determining said rate. this means that they're
only affected by nodes that either touch them directly, or touch nodes
that affect them.
2023-10-19 13:12:10 +02:00
trans_soup
a3319cf9ea
decomposition tweak.
...
make leaves that have started to decompose continue to do so regardless
of their surrounding nodes.
2023-10-19 13:11:41 +02:00
trans_soup
72a8666a86
leaves decomposition tweaks.
...
make decomposing leaves account for the pile size of nearby decomposing
leaves when determining their decomposition rate.
2023-10-19 13:10:49 +02:00
trans_soup
5014254c91
tweak decomposition rng.
...
leaves now have a higher chance of turning into dirt, the higher they're
piled within the node. full stacks (taking up an entire node) always
turn into dirt.
2023-10-19 12:58:31 +02:00
trans_soup
4b408d9943
make decomposing leaves have layers.
...
decomposing leaves now stack in layers, each one 1/4 of a node in
height.
currently this doesn't affect their behaviour, beyond making them stack
when placed or landing.
2023-10-19 12:54:09 +02:00
trans_soup
bab59828f8
tweak leaves decomposition gains.
...
make it twice as expensive to turn leaves into dirt.
2023-10-17 19:21:16 +02:00
trans_soup
3459e94de8
improve flood_fill
api function.
...
make `flood_fill` able to be interrupted if its callback returns false;
the meaning that was previously indicated by this return value is now
indicated by nil instead.
update code that uses this function to account for this change.
2023-10-17 15:48:57 +02:00
trans_soup
17636dbf87
improve leaves decomposition.
...
leaves will now decompose faster depending on their surroundings.
touching dirty nodes or other decomposing leaves will make them decay
quicker.
2023-10-17 13:41:30 +02:00
trans_soup
548d33d146
fix minor error.
2023-10-17 10:33:48 +02:00
trans_soup
aaeef448f0
make decomposing leaves sometimes not create dirt.
...
add a 1/2 chance for decomposing leaves to disappear instead of becoming
dirt.
2023-10-17 10:27:41 +02:00
trans_soup
1ef3759ae6
tweak to leaves decomposition.
...
leaves will now start decomposing if they're touching either a dirty
node, or already decomposing leaves.
2023-10-17 10:15:13 +02:00
trans_soup
8dccef9389
refactor: fix modname being hard-coded into string.
2023-10-17 09:48:48 +02:00
trans_soup
812e0a7e3b
tweak leaves decomposition time.
2023-10-16 21:48:53 +02:00
trans_soup
dcb0eb257e
update decomposition to use increasing ABM:s.
2023-10-16 21:30:57 +02:00
trans_soup
d04e92a15c
add decomposition of leaves into dirt.
...
make leaves decompose over time into dirt when near dirty nodes. also
remove placeholder pummel recipe that turns leaves into dirt.
2023-10-16 20:41:09 +02:00