kabou
2d8bb12fad
Add bonemealing callback to carrots.
...
* Adds a _mcl_on_bonemealing callback to the unripe carrot plants.
2024-11-09 20:24:02 -06:00
kabou
69032c3222
Add bonemealing callback to potatoes.
...
* Adds a _mcl_on_bonemealing callback to the unripe potato plants.
2024-11-09 20:24:02 -06:00
kabou
71e6fa9646
Add bonemealing callback to wheat.
...
* Adds a _mcl_on_bonemealing callback to the unripe wheat node definitions.
2024-11-09 20:24:02 -06:00
kabou
9ea52ce9b3
Add bonemealing callback to small mushrooms.
...
* Adds a _mcl_on_bonemealing callback to the mushroom node definitions.
2024-11-09 20:24:02 -06:00
kabou
0422635047
Add bonemealing callback to saplings.
...
* Adds a _mcl_on_bonemealing callback to the sapling node definitions.
2024-11-09 20:24:02 -06:00
kno10
d49426d453
Cleanup of mcl_core/functions ( #4592 )
...
Cleanup of mods/ITEMS/mcl_core/functions.lua
This improves several further ABMs such as vine growing, and uses the `vector` API instead of tables.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4592
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-11-10 02:32:51 +01:00
kno10
b5afa34469
Remove "wet" metadata altogether
2024-11-10 02:11:37 +01:00
kno10
ebf6cf32e8
meta:set_private("wet"), require only walkable nodes
2024-11-10 02:11:37 +01:00
kno10
a8318f6600
simplify catch-up LBM logic
2024-11-10 02:11:37 +01:00
kno10
fa7a7f4e81
more fixes to plant growth
2024-11-10 02:11:37 +01:00
kno10
c097c65262
adjust growth rates again
2024-11-10 02:11:37 +01:00
kno10
220a7b06e6
code review feedback
2024-11-10 02:11:37 +01:00
kno10
540a070c59
always use day light level, more fixes
2024-11-10 02:11:37 +01:00
kno10
78a958db4e
Double the odds, to halve the ABM frequencies.
2024-11-10 02:11:37 +01:00
kno10
e9453d6210
Add plant growth speed option, drop average light level
...
Closes : #4683 by removal
2024-11-10 02:11:37 +01:00
kno10
9376cf92b1
Adjust growth speeds
2024-11-10 02:11:37 +01:00
kno10
c4030115c4
improve moisture logic
2024-11-10 02:11:37 +01:00
kno10
e1ace4ad01
pumpkin/melon growth only tests one neighbor every time
2024-11-10 02:11:37 +01:00
Mikita Wiśniewski
f86a641dfa
Improve shield block code and unhardcode offhand group
2024-11-10 01:34:50 +01:00
Mikita Wiśniewski
084741b733
Fix using shield on unknown nodes and cleanup
2024-11-10 01:34:50 +01:00
Mikita Wiśniewski
d5bc0613d8
Make node itemstack check in mcl_shields less hacky
2024-11-10 01:34:50 +01:00
Loveaabb
f26c34e65f
Bugfix: Shield fails to block arrows
2024-11-10 01:34:50 +01:00
Loveaabb
04e29c5796
Several improvements to the Shield
2024-11-10 01:34:50 +01:00
Elias Åström
45ae170447
Deduplicate shield slowdown removal code
2024-11-10 01:34:50 +01:00
Elias Åström
cffc8e0145
Fix loosing interact bug in mcl_shields
2024-11-10 01:34:50 +01:00
the-real-herowl
b136cbf9bb
Changed bamboo cap drawtype ( #4658 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4658
Co-authored-by: the-real-herowl <wiktor_t-i@proton.me>
Co-committed-by: the-real-herowl <wiktor_t-i@proton.me>
2024-11-02 21:04:00 +01:00
Mikita Wiśniewski
78125f425a
Fix taking items out of protected smithing tables
2024-11-02 21:00:19 +01:00
cora
cb1999414b
Fix putting items in protected smithing tables
2024-11-02 21:00:19 +01:00
Mikita Wiśniewski
41b188caea
Remove "double drop" mechanics for bamboo ( fixes #4514 ) ( #4642 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4642
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2024-10-27 14:16:06 +01:00
teknomunk
c34aecfcab
Don't make 'ignore' nodes break bamboo or kelp ( #4551 )
...
This modifies the behavior of kelp and bamboo so that neither breaks when an unloaded node is encountered.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4551
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2024-09-29 13:57:52 +02:00
Mikita Wiśniewski
9cb4f51468
Fix invalid global call in mcl_chests LBM ( #4667 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4667
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2024-09-29 13:34:20 +02:00
kno10
d264ba70d8
Fix growth logic, clean up mcl_farming/shared_functions ( #4640 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4640
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-09-20 14:00:49 +02:00
Mikita Wiśniewski
513413afc7
Use remove_node
instead of dig_node
in mcl_core ABMs ( fixes #4628 ) ( #4629 )
...
The mycelium ABM has been left untouched because of the potential destructiveness. If we ever find that to be an issue, it can be fixed as part of a bigger PR.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4629
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2024-09-19 18:54:39 +02:00
kno10
011be754ca
Allow deepslate copper to be mined with stone pickaxe ( #4635 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4635
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <kno10@noreply.git.minetest.land>
Co-committed-by: kno10 <kno10@noreply.git.minetest.land>
2024-09-18 10:11:55 +02:00
seventeenthShulker
de3b34f5ea
Update English translation keys with soul soil
2024-09-18 10:06:03 +02:00
seventeenthShulker
79e8452f62
Soul speed works on soul soil too
...
(needs localization)
2024-09-18 10:06:03 +02:00
teknomunk
31a3788ce1
Address review comments
2024-09-16 13:32:06 +02:00
teknomunk
e65370b845
Fixes
2024-09-16 13:32:06 +02:00
teknomunk
6c50e0a82b
Fix volume used for room check during spawn, make mcl_mobs.spawn check for room before adding entity, change iron golems and mob spawners to use mcl_mobs.spawn
2024-09-16 13:32:06 +02:00
Mikita Wiśniewski
178cb9340d
Clean-up set_string(..., nil)
usage ( fixes #4639 ) ( #4641 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4641
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2024-09-16 12:12:55 +02:00
WillConker
ce5eb8d88d
Remove mobs_mc name check from mcl_mobspawners warning ( #4501 )
...
Fixes a warning.
Mobs spawners really only need to check the entity `.is_mob` as all mobs should have this set.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4501
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: WillConker <willconker@noreply.git.minetest.land>
Co-committed-by: WillConker <willconker@noreply.git.minetest.land>
2024-09-15 23:08:37 +02:00
teknomunk
1707eef672
Fix two additional dependency issues
2024-09-15 22:25:44 +02:00
SmallJoker
7f5b19cda8
Fix missing dependencies for random_mod_load_order
2024-09-15 22:25:44 +02:00
Mikita Wiśniewski
19d662dee4
Fix some typos in the API documentation ( #4630 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4630
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2024-09-12 18:13:52 +02:00
kno10
0752ed17d8
Improve cacti and cane growth ABM ( #4590 )
...
- local functions, as they are not called by anywhere else
- delay water check of reed, first check height
- reduce number of get_node calls (for height 1,2,3 the old code used 4,5,4 calls, the new only 2,3,3)
- cane growth rate is also reduced
This will make the ABM cheaper.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4590
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-09-09 20:22:04 +02:00
Mikita Wiśniewski
fb4a6b0e7b
Fix old angled heads not being converted ( #4627 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4627
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2024-09-08 04:26:51 +02:00
William Goodspeed
2f25bc5277
Refactor head's `param2' to degrotate
2024-09-07 15:56:44 +02:00
William Goodspeed
5d0d93db0a
Alias creeper heads to stalker heads
...
This solves the issue of creeper heads in the old version not getting
upgraded with newer VL reported in #4545 .
2024-09-07 15:56:44 +02:00
kno10
ebee85db7e
Fix incorrect usages of math.random ( #4621 )
...
random() does not support float arguments
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4621
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-09-07 14:58:12 +02:00
codiac
562a9d6d98
Convert stairs to nodebox
2024-08-31 19:52:41 +02:00