teknomunk
95daa9bde1
Rework unit test runner to allow multiple unit test files per module, update paths of existing unit tests
2025-03-08 13:22:04 +01:00
teknomunk
f2233fc1e5
Update luacheck script and passing files list, add luacheck_globals to mcl_init and mesecons
2025-03-08 13:22:04 +01:00
teknomunk
cbf17870d2
Move mcl_util unit tests from init.lua to unit-test.lua
2025-03-08 13:22:04 +01:00
teknomunk
df792d6d57
Make mcl_mobs load with mock luanti API and move testing asserts out of init.lua to unit-test.lua
2025-03-08 13:22:04 +01:00
the-real-herowl
6bef2de087
Updated release credits and set version for v0.89
2025-03-08 04:39:18 +01:00
Mikita Wiśniewski
97be30f1e6
Fix fallen log generation by offsetting y+1 ( #4992 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4992
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>
2025-03-08 04:37:21 +01:00
kno10
e43f3009ca
German translations
2025-03-07 20:57:37 +01:00
kno10
1e9ee97a7d
update locales
2025-03-07 20:57:37 +01:00
teknomunk
6fab15e8df
Fix crash when hostile mobs are disabled ( #4989 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4989
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>
2025-03-07 20:05:47 +01:00
Mikita Wiśniewski
2b0503f84b
mcl_cozy: Update Russian i18n
2025-03-07 20:03:25 +01:00
kno10
bf753346a1
mcl_cozy translation updates + German
2025-03-07 20:03:25 +01:00
Mikita Wiśniewski
4d2788e223
mcl_cozy: Code clean-up based on review comments
2025-03-07 20:03:25 +01:00
Mikita Wiśniewski
0f65037482
mcl_cozy: Restore backwards compatibility
...
Some mods might expect `mcl_cozy.pos` to be an existing table, the
functionality of which was changed to be included in `mcl_cozy.players`.
2025-03-07 20:03:25 +01:00
Mikita Wiśniewski
d463bba91f
mcl_cozy: Don't mount with no space above, fix action switching
2025-03-07 20:03:25 +01:00
Mikita Wiśniewski
33000e5f8c
Integrate mcl_cozy
: add the ability to sit and lay on blocks
2025-03-07 20:03:25 +01:00
kno10
03f46eceda
update colors.json for 0.89 ( #4981 )
...
Updated for new nodes and texture changes (cherry wood, for example)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4981
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-03-07 19:04:26 +01:00
the-real-herowl
7f25217a3e
Invisibility hides properly ( #4987 )
...
Invisibility should now properly hide players and entities from the built-in Luanti minimap. Names should also be properly invisible for invisible players.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4987
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-03-07 18:07:23 +01:00
Mikita Wiśniewski
45ebb11e5f
Update squid's appearance
2025-03-06 16:55:45 +01:00
Mikita Wiśniewski
50273e642b
Update spiders' appearances
2025-03-06 16:55:45 +01:00
Mikita Wiśniewski
7a0f56e203
Update chicken's appearance
2025-03-06 16:55:45 +01:00
teknomunk
be83392a05
Guard against invalid ObjectRefs in mcl_burning.get_touching_nodes(), compensate for corrupted boat staticdata
2025-03-06 15:19:28 +01:00
teknomunk
17db7c2d7e
Force loaded cart data to have uuid the same as in the mod storage key
2025-03-06 15:19:28 +01:00
kno10
59a3871ddc
Clean up kelp code, fix kelp fix
2025-03-05 16:20:21 +01:00
teknomunk
d1d0af1497
Remove unnecessary kelp clearing gen_callbacks, correct coral fan decoration placement
2025-03-05 16:20:21 +01:00
teknomunk
60b685903b
Add missing sign
2025-03-05 16:20:21 +01:00
teknomunk
668b17bea6
Expand clear out area, change removal to truncate kelp without dropping as items
2025-03-05 16:20:21 +01:00
teknomunk
491d6d7cbc
Incorporate review comments
2025-03-05 16:20:21 +01:00
teknomunk
3c684a870b
Add missing 'local' to variables
2025-03-05 16:20:21 +01:00
teknomunk
a394e13ed7
Fix crash caused by copy/paste and not updating a variable name to match existing code
2025-03-05 16:20:21 +01:00
teknomunk
89a94c4da4
Fix floating kelp with decoration gennotify fixup
2025-03-05 16:20:21 +01:00
Mikita Wiśniewski
33f883ecb7
mcl_maps: Code clean-up, localize more functions
2025-03-05 15:12:02 +01:00
Mikita Wiśniewski
046358ffea
Set default maximum map zoom level to 3
...
Before this commit, it was inconsistent: 2 in `settingtypes.txt` and 4
in `mods/ITEMS/mcl_maps/init.lua`.
3 seems like a good enough compromise, as level 4 already opens
considerable possibilities for nearly effortless DoS attacks.
2025-03-05 15:12:02 +01:00
Mikita Wiśniewski
4b6bf7dcf4
mcl_cartography_table: Code clean-up
2025-03-05 15:12:02 +01:00
Mikita Wiśniewski
6ecb8f328a
Darken handheld maps based on node light level
...
Co-authored-by: Ælla Chiana Moskopp <erle@dieweltistgarnichtso.net>
2025-03-05 15:12:02 +01:00
Mikita Wiśniewski
80511f4a12
mcl_maps: Formatting and styling clean-up
2025-03-05 15:12:02 +01:00
Mikita Wiśniewski
3d6647e29d
Limit handheld map globalstep update rates
...
Co-authored-by: Ælla Chiana Moskopp <erle@dieweltistgarnichtso.net>
2025-03-05 15:12:02 +01:00
Ælla Chiana Moskopp
f6eaa49fd4
Display large player dot on maps for nearby player
...
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-03-05 15:12:02 +01:00
Ælla Chiana Moskopp
73d4a48f9f
Add diagonal player marker to maps
...
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-03-05 15:12:02 +01:00
Mikita Wiśniewski
2e236f483f
mcl_structures: Use the new item frames API for the end shipwreck
2025-03-05 18:58:30 +07:00
Mikita Wiśniewski
8a0a7cd39c
Fix item frames' param2 in schematics
2025-03-05 18:58:30 +07:00
teknomunk
1247140faa
Change scale to fix upside-down head
2025-03-04 20:58:52 +01:00
teknomunk
e471a29b2d
Fix axolotl heads on 5.11.0
2025-03-04 20:58:52 +01:00
Mikita Wiśniewski
3f898917cd
Fix swimming and flying player rotations (5.11+) ( #4969 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4969
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-03-04 20:56:13 +01:00
Mikita Wiśniewski
ef0d38e530
Fix "hud_elem_type" deprecation warning spam (5.9+) ( #4965 )
...
`mcl_vars.hud_type_field` is introduced to determine the right HUD element type field to use. All mods adding HUDs, together with their `mod.conf` files, are changed accordingly to silence the warnings.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4965
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-03-04 20:50:10 +01:00
Mikita Wiśniewski
05ed54040a
mcl_maps: Don't default to overworld on conversion
...
`mcl_worlds.pos_to_dimension` is ran on `minp` to get the dimension
value. This fixes old Nether/End maps rendering the overworld on
conversion (caused by e.g. zooming out on a cartography table).
2025-03-03 13:36:35 +01:00
teknomunk
0642345a7d
Get legacy maps to zoom correctly
2025-03-03 13:36:35 +01:00
teknomunk
4a8784668e
Make legacy maps without a dimension default to overworld
2025-03-03 13:36:35 +01:00
teknomunk
2753d7f061
Fix legacy map textures
2025-03-03 13:36:35 +01:00
Mikita Wiśniewski
bd93df71fe
mcl_chests: Fix the cracking animation; code and docs clean-up ( #4959 )
...
* Fix the cracking animation on chests by setting `use_texture_alpha` to "blend" instead of "clip"
* De-duplicate double chests' `on_rightclick` code
* Use `ipairs(tbl)` instead of `i=1,#tbl` where applicable
* Lots of miscellaneous code formatting/styling fixes
* Minor grammar fixes in documentation files
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4959
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-03-03 12:18:44 +01:00
teknomunk
814068197b
Add friction back in
2025-03-01 16:32:23 +01:00