13586 Commits

Author SHA1 Message Date
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
the-real-herowl
bb88b39407 Fix item frames in structures (#4970)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4970
Reviewed-by: teknomunk <teknomunk@protonmail.com>
2025-03-05 14:50:12 +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
the-real-herowl
fd590d6b70 Fix axolotl heads on 5.11.0 (#4967)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4967
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-03-04 20:58:52 +01: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
the-real-herowl
9a6d5d68c8 Fix legacy map textures (#4961)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4961
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-03-03 13:36:35 +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
the-real-herowl
c40906c340 Fix uphill minecart acceleration (#4855)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4855
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2025-03-01 16:32:23 +01:00
teknomunk
814068197b Add friction back in 2025-03-01 16:32:23 +01:00
Robert de Forest
1b60c7fae0 Fixes #4831: add gravity to acceleration on sloped track
I noticed that at
[movement.lua:303](cfd214df76/mods/ENTITIES/mcl_minecarts/movement.lua (L303))
in calculate_acceleration, the check for applying gravity overrides the
acceleration instead of taking power (`node_dev._rail_acceleration`)
into account.

I changed this to adding the gravity to the acceleration calculated so
far and confirmed that it fixes the bug.
2025-03-01 16:32:23 +01:00
kno10
5d11ef0c31 Make ancient debris more available (#4954)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4954
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>
2025-03-01 16:15:00 +01:00
the-real-herowl
a54bff42b9 Zoomable maps (#4699)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4699
Reviewed-by: teknomunk <teknomunk@protonmail.com>
2025-03-01 16:01:44 +01:00
kno10
405f6760f5 use get_node_name for zooming 2025-02-28 13:45:04 +01:00
kno10
81fa127be8 translation files update 2025-02-28 13:45:04 +01:00
kno10
280e820fe3 map improvements 2025-02-28 13:45:04 +01:00
kno10
88ca202647 Zoomable maps, but limited to 1 level for now. 2025-02-28 13:45:04 +01:00
mirqf
64907ead0d Add cartography table functionality
Co-authored-by: AFCMS <afcm.contact@gmail.com>
2025-02-28 13:45:04 +01:00
the-real-herowl
b2fe6d33fb Improve and work around bone overrides on Luanti 5.11+ (#4944)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4944
Reviewed-by: teknomunk <teknomunk@protonmail.com>
2025-02-27 15:04:30 +01:00
Mikita Wiśniewski
951e90bd8f mcl_util: Improve set_bone_position functionality
* Bring back the check for vector equality, but adjust it to not just
  round to the nearest integer values (which doesn't make a lot of sense
  for angles defined in radians), but to compare the distance between
  vectors against an epsilon, defining the precision.
* Make interpolation actually work.
* Simplify the pre-5.9 code too, making it more readable.
* Annotate the whole shebang with comments for the future of the human
  race to read.
2025-02-27 15:04:30 +01:00
Lars Mueller
3bab7a2287 Work around wrong character bone rotations on Luanti 5.11+ 2025-02-27 15:04:30 +01:00
the-real-herowl
b7b337887d Merge pull request 'Fix knockback and criticals' (#4946) from potatoalienof13/VoxeLibre:fixcriticals into master
Reviewed-on: #4946
Reviewed-by: teknomunk <teknomunk@protonmail.com>
2025-02-27 10:39:05 +01:00
potatoalienof13
7327f866ba Sprint criticals now do extra damage, if the conditions are met. 2025-02-27 10:38:55 +01:00
potatoalienof13
3a415b834f Fixes criticals knockbacks. 2025-02-27 10:38:55 +01:00
the-real-herowl
a7da68d9e7 Merge pull request 'Hollow logs improvements' (#4656) from hollow_logs_improvements into master
Reviewed-on: #4656
Reviewed-by: teknomunk <teknomunk@protonmail.com>
2025-02-27 10:35:12 +01:00
the-real-herowl
1710325e30 Implement review nitpicks 2025-02-27 01:36:38 +01:00
the-real-herowl
26444a539f Updated translation files, Polish translation 2025-02-27 01:36:38 +01:00
the-real-herowl
a66c16ad38 Change minetest into core 2025-02-27 01:36:38 +01:00
the-real-herowl
3df241a705 Separate climbability into a ladder variant 2025-02-27 01:36:38 +01:00
the-real-herowl
51c6569b04 Made hollow logs climbable from the inside 2025-02-27 01:36:38 +01:00
the-real-herowl
750500b94f Refactored vl_hollow_logs a bit 2025-02-27 01:36:38 +01:00
the-real-herowl
642c9ec32d Merge pull request 'Grand signs rework' (#4902) from signs_rework into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4902
Reviewed-by: teknomunk <teknomunk@protonmail.com>
2025-02-26 11:41:59 +01:00
Mikita Wiśniewski
3fd58e768b Fix signs not dropping after the base node is gone 2025-02-25 21:54:18 +07:00
Mikita Wiśniewski
00b1df6b00 Add wallmounted attachment groups and document them
BONUS: document `supported_node_facedir` which was added before this
2025-02-25 21:52:42 +07:00
Mikita Wiśniewski
4c93da50df Add a new theta variant (ϑ) and alias more Greek glyphs 2025-02-25 21:40:58 +07:00
Mikita Wiśniewski
3404497295 Actualize signs' usage help string 2025-02-25 21:40:58 +07:00
Mikita Wiśniewski
3a802d0a3a Make sure both mu/micro glyphs are in characters.tsv 2025-02-25 21:40:58 +07:00
Mikita Wiśniewski
9f986ca39e Update locale files 2025-02-25 21:40:58 +07:00