Commit graph

13376 commits

Author SHA1 Message Date
teknomunk
033bbb64f4 Further microoptimizations: use core.get_node_raw, use node physics lookup table keyed on content id, replace node vector with x/y/z arguments, perform distance checks with squared distance 2025-02-22 06:06:38 -06:00
teknomunk
7b79c35f0c Add collisionbox parameter (currently unused due to performance hit/behavior change), optimize vl_physics.get_environment_effect(), fix type (mcl_physics -> vl_physics) 2025-02-22 05:50:14 -06:00
teknomunk
ce65c8ee75 Add bubble columns, apply environmental physics to players 2025-02-22 11:20:21 +01:00
teknomunk
8056fdf029 Rename to vl_physics 2025-02-22 11:20:21 +01:00
teknomunk
2d197af0fa Make friction not apply in air, change how the two node physics accumulate 2025-02-22 11:20:21 +01:00
teknomunk
462fd0604d Apply entity physics to experience orbs, add node friction and make ice more slipery than other nodes, pass entity thru to effects 2025-02-22 11:20:21 +01:00
teknomunk
24c2b24ffc Fix typo 2025-02-22 11:20:21 +01:00
teknomunk
5bd731aa10 Remove hardcoded gravity from item entity, fix bouancy in environmental effects 2025-02-22 11:20:21 +01:00
teknomunk
fbbd569527 Fix startup 2025-02-22 11:20:21 +01:00
teknomunk
b78706d81d Implement mod for general purpose environmental physics effects 2025-02-22 11:20:21 +01:00
the-real-herowl
6c34051e2f Merge pull request 'Item frames redo' () from rewrite_itemframes into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4825
Reviewed-by: teknomunk <teknomunk@protonmail.com>
2025-02-21 19:39:13 +01:00
Mikita Wiśniewski
9c348db513 Minor clean-up, add some comments 2025-02-21 19:39:13 +01:00
Mikita Wiśniewski
35b00a6170 Add a dirty hack to auto-fix framed maps with the same IDs 2025-02-21 19:39:13 +01:00
Mikita Wiśniewski
ea4aec2f1e Make item frames attached nodes 2025-02-21 19:39:13 +01:00
Mikita Wiśniewski
dd4b73128d Update Russian translation 2025-02-21 19:39:13 +01:00
Mikita Wiśniewski
2055671732 Run mod_translation_updater.py 2025-02-21 19:39:13 +01:00
Mikita Wiśniewski
7d228a87bf Fix node sounds for item frames 2025-02-21 19:39:13 +01:00
Mikita Wiśniewski
6bcd0f8033 Add invisible and invisible glow item frames 2025-02-21 19:39:13 +01:00
Mikita Wiśniewski
5ea39f9cc1 Add API compatibility with old mcl_itemframes, clean-up 2025-02-21 19:39:13 +01:00
Mikita Wiśniewski
59aec085b1 Clean-up 2025-02-21 19:39:13 +01:00
Mikita Wiśniewski
663df00d7f Initial VL adaptation, re(place/use) existing assets 2025-02-21 19:39:13 +01:00
cora
6887a1e856 Fix itemframes nodebox being slightly assymetrical 2025-02-21 19:39:13 +01:00
cora
c5de2f9dbe Always return stack in itemframes on_rightclick
never nil
2025-02-21 19:39:13 +01:00
cora
4f371d44c8 Fix item's being subtracted by itemframes in creative mode 2025-02-21 19:39:13 +01:00
cora
01fb91acbf Fix items disappearing when rightclicking protected itemframes 2025-02-21 19:39:13 +01:00
cora
204fddebd2 Fix occurences of old itemframes itemstring in code 2025-02-21 19:39:13 +01:00
Freeman
05efabc0d7 itemframes respect protections 2025-02-21 19:39:13 +01:00
cora
17dfddfc35 Re-add glow item frame achievement 2025-02-21 19:39:13 +01:00
cora
7fe5315c26 Make itemframes respect item definition wield_scale 2025-02-21 19:39:13 +01:00
cora
ea6555b33b Remove already done TODO comment
it's all implemented in compat.lua
2025-02-21 19:39:13 +01:00
cora
91ef5fe7ea Fix clock update and glow frame item glow 2025-02-21 19:39:13 +01:00
cora
c0e6e3fb86 Remove old README.txt, add new README.md 2025-02-21 19:39:13 +01:00
cora
5599ce82a0 Fix old itemframes sometimes spawning 2 entities 2025-02-21 19:39:13 +01:00
cora
ff3fedb071 Add new itemframes documentation 2025-02-21 19:39:13 +01:00
cora
9e3a0b8316 Make compat conversion more reliable, convert facedir to wallmounted p2 2025-02-21 19:39:13 +01:00
cora
877eb6ccd6 Itemframes: convert/delete old entity names 2025-02-21 19:39:13 +01:00
cora
e764542b49 Itemframes: attempt to reinitialize bogus entities 2025-02-21 19:39:13 +01:00
cora
607ffe8b67 Itemframes: Some cleanup 2025-02-21 19:39:13 +01:00
cora
6599fa4551 Make the itemframe use an inventory again
otherwise backwards compatibility would be an utter pain
2025-02-21 19:39:13 +01:00
cora
5e4f9c9d4f Rewrite Itemframes 2025-02-21 19:39:13 +01:00
the-real-herowl
38486d057c Merge pull request 'Don't stop tree growth on buildable_to nodes' () from tree_growth_buildable_to into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4574
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2025-02-21 06:43:41 +01:00
cora
396cbc588c Don't stop tree growth on buildable_to nodes 2025-02-20 21:54:49 +01:00
Mikita Wiśniewski
b7df151a71 Improved hammer textures ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4840
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>
2025-02-20 21:28:47 +01:00
the-real-herowl
139480da0f Merge pull request 'Fix regression: bonemeal once more converts netherrack to nylium' () from fix-nylium into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4928
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2025-02-15 13:37:52 +01:00
teknomunk
0eaf9941c4 Add back netherrack to nylium conversion with bonemeal that was removed with a4f1ccd0ee but using the new bonemeal API 2025-02-14 18:13:56 -06:00
the-real-herowl
cfd214df76 Merge pull request 'Use new spawn registration API for mobs_mc' () from spawn_reg_api_update into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4845
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-02-10 16:23:48 +01:00
teknomunk
dd0aa487f5 Change all water mobs to use mobs_mc.water_level instead of assuming water = 0 2025-02-10 20:04:44 +07:00
teknomunk
ed66fdcc35 Finish converting to new mcl_mobs:spawn_setup() API 2025-02-10 20:04:44 +07:00
teknomunk
84a7787aff Next batch of mobs 2025-02-10 20:04:44 +07:00
teknomunk
e1d567fb0f Convert more mobs to the new spawn_setup() API 2025-02-10 20:04:44 +07:00