teknomunk
3cc8a8474d
Fix rebase duplicating code
2024-12-31 02:36:18 +01:00
teknomunk
9ef2e02463
Add guard that prevents crash when itemstack is nil
2024-12-31 02:36:18 +01:00
teknomunk
b963936c6d
Add legacy node conversion to vl_legacy and update rails.lua to use it
2024-12-31 02:36:18 +01:00
teknomunk
00665063da
Address additional review comments
2024-12-31 02:36:18 +01:00
teknomunk
16caed401c
Rewrite mcl_util.hopper_pull in terms of mcl_util.hopper_pull_to_inventory
2024-12-31 02:36:18 +01:00
teknomunk
a176d04bda
Correct documentation per review
2024-12-31 02:36:18 +01:00
teknomunk
c165938c1b
Fix typo
2024-12-31 02:36:18 +01:00
teknomunk
b47288a260
Implement vl_legacy deprecated function and item conversion APIs
2024-12-31 02:36:18 +01:00
teknomunk
fa29e3410b
Fix several undefined global warnings, fix cart movement when over maximum speed, fix cart reattachment to sloped track
2024-12-31 02:36:18 +01:00
teknomunk
3bbd5a20fa
More fixes for minecart-hopper movement
2024-12-31 02:36:18 +01:00
teknomunk
e1ff394204
Create mcl_util.metadata_timer, fix crashes, add checks to prevent hoppers from pulling from carts that are not in the square above it
2024-12-31 02:36:18 +01:00
teknomunk
1eda16a1a1
Tune respawn distance limit
2024-12-31 02:36:18 +01:00
teknomunk
135eea4de4
Fix crashes
2024-12-31 02:36:18 +01:00
teknomunk
7bd95257bd
Give furnace minecart minimum velocity when lit, add train separation code, update logging code, add sequence number to entity staticdata to allow respawn/despawn when carts move when the entity is unloaded
2024-12-31 02:36:18 +01:00
teknomunk
09f044245e
Add utilities to convert between an ObjectRef, it's active object id and a 128bit uuid, move minecart data from entity staticdata to mod storage to eventually allow updating carts when out of range of players and also track what carts are alive, implement on-rail cart collisions
2024-12-31 02:36:18 +01:00
teknomunk
e7605b7abd
Make legacy rail update apply to all old rail types, add basic detached railcart physics with a stub to use mcl_physics when it gets merged
2024-12-31 02:36:18 +01:00
teknomunk
279733e711
Fix mcl_util.table_merge where a standard value overwrites a table, fix base definition usage, implement behavior difference when there is a solid block after a straight piece of track (this will eventually allow minecarts to fly off the end of the track)
2024-12-31 02:36:18 +01:00
teknomunk
40b62eea1d
Reorganize
2024-12-31 02:36:18 +01:00
teknomunk
718938b0fe
Fix call signature of mcl_util.hopper_pull_to_inventory, move cart-specific behaviors to _mcl_minecarts_on_step handlers, fix typo, change distance used in rail reattach code, move cart_id generation
2024-12-31 02:36:18 +01:00
teknomunk
121550a635
Hopper minecarts pull from containers above rail
2024-12-31 02:36:18 +01:00
kno10
f1181d956a
Store mapgen version ( #4762 )
...
Store the version used to initialize the map in the map_env.txt file.
- if a version is stored in the map_env.txt file, it is used.
- if the map is new, the current game version is used.
- if the map is old, 0.87 is assumed for compatibility.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4762
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-12-29 00:00:46 +01:00
kno10
631162e24c
Switch from deg to rad.
2024-12-27 10:48:00 +07:00
kno10
dd165ec0e9
Update to set_bone_override
2024-12-27 10:48:00 +07:00
teknomunk
bb934d09ee
Break long lines, add space between functions in vl_projectile/init.lua
2024-12-25 11:52:24 +01:00
teknomunk
0d8f7515c6
Update minetest->Luanti in affected documentation, update minetest. -> core. in affected code, factor out common subexpressions in mods/ITEMS/vl_projectile/init.lua
2024-12-25 11:52:24 +01:00
teknomunk
aa8cec9911
Implement mcl_util.remove_entity() and convert projectile code to use it
2024-12-25 11:52:24 +01:00
teknomunk
efa6e7d2d0
Move arrow self-collision grace logic to vl_projectile then apply to mob projectiles and splash and linger potions, allow entity luaentity to be passed to mcl_util.get_entity_id()
2024-12-25 11:52:24 +01:00
teknomunk
2d56deacf6
Replace _puncher with _owner, rework projectile code to make _owner a string, copy mcl_util.gen_uuid() from minecart branch, add mcl_util.get_entity_id(), fix crash
2024-12-25 11:52:24 +01:00
teknomunk
58042416c4
Add attribution with exact links for minetest code
2024-12-25 11:52:24 +01:00
teknomunk
b821f3d72f
Fix luacheck findings for this PR: remove unused variables, remove overwritten value, add missing dependencies, fix undefined variable usage
2024-12-25 11:52:24 +01:00
teknomunk
6829b0d2da
Remove unnecessary vectory copy
2024-12-25 11:52:24 +01:00
teknomunk
4e3e8aafc8
Address most of kno10's comments about mcl_utils/node.lua and a couple others, fix lingering potion sound
2024-12-25 11:52:24 +01:00
teknomunk
e120e267c2
Add empty line
2024-12-25 11:52:24 +01:00
teknomunk
276a277488
Update mcl_util.get_double_container_neighbor_pos() to use vector.offset
2024-12-25 11:52:24 +01:00
teknomunk
eeaa36e60b
Add in vl_projectile, add mcl_util.match_node_to_filter
2024-12-25 11:52:24 +01:00
teknomunk
7648dd58b8
Move node related functions to mods/CORE/mcl_util/nodes.lua
2024-12-25 11:52:24 +01:00
kno10
c73baa3886
German translation updates
2024-12-18 18:42:25 +01:00
ethan
4db34098d9
Contributed simplified Chinese translations
2024-12-16 01:16:32 +01:00
Bloodaxe
7856f97f8e
Added all my localization files for Norwegian Bokmål
2024-12-16 01:16:32 +01:00
0ldude
3fd1b9d96f
tr mods/CORE & mods/ENTITIES to it
2024-12-16 01:16:32 +01:00
teknomunk
b582afeb1f
Update documentation for Minetest rename to Luanti ( #4706 )
...
This updates the VoxeLibre documentation by replacing "Minetest" with "Luanti" and updating links.
Done:
* Update "Minetest" in documentation and comments to "Luanti"
* Update links to forums, ContentDB and Luanti project web page
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4706
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-11-28 20:55:48 +01:00
teknomunk
94d9e4c881
Address review comments
2024-11-09 20:30:35 -06:00
teknomunk
189a2c62ad
Address review comments on mcl_util.trace_nodes
2024-11-09 20:24:02 -06:00
teknomunk
66b5a369f1
Add mcl_util.trace_node(), rewrite bamboo growth code to fix bone meal growth
2024-11-09 20:24:02 -06: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
SmallJoker
fb3e9dae84
autogroup: Do node overwrites after all mods have loaded
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