teknomunk
5bd779b87c
Implement gamerule:minecartMaxSpeed
2025-03-09 19:36:24 -05: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
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
teknomunk
73b675448e
Prevent minecarts from being placed above air nodes ( #4888 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4888
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-01-25 20:15:49 +01:00
teknomunk
feaf000b00
Turn powered rail conductor states into functions
2025-01-25 14:19:51 +01:00
teknomunk
c72ff616ab
Change hopper minecart delay to 0.25 seconds from 0.05 seconds
2025-01-20 18:42:40 +01:00
teknomunk
53e1546219
Fix crash when hopper minecart is off rails
2025-01-20 18:42:40 +01:00
teknomunk
e08505d24d
Make hopper minecart pull items from containers when stopped
2025-01-20 18:42:40 +01:00
teknomunk
7c7c2bcb6d
Address review comments
2025-01-05 02:37:51 +01:00
teknomunk
cc125d8eac
Fix all luacheck findings except two empty if branches, two references to math.round and the *_physics variables from optional mods (each guarded by modpath checks)
2025-01-05 02:37:51 +01:00
teknomunk
24ca1b20a8
Export handle_cart_leave from movement, resolve luacheck and lua-language-server findings, fix typo
2025-01-05 02:37:51 +01:00
kno10
25a832c4b6
rerun mod_translation_updater
2025-01-03 11:56:04 +01:00
ninjum
b407cc9628
Squashed: Galician translation
2025-01-03 11:56:04 +01:00
teknomunk
5ee94855b0
Fix TNT Minecart Crash ( #4799 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4799
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-01-03 11:53:31 +01:00
teknomunk
9b23d9931e
Change cart dismount position to behind the cart instead of beside it ( #4785 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4785
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-01-02 22:30:39 +01:00
teknomunk
ca504e80c7
Fix carts randomly derailing ( #4780 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4780
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2024-12-31 19:35:54 +01:00
kno10
8f3f0e3b44
additional German translations
2024-12-31 02:39:28 +01:00
kno10
b39cee7c5c
rerun translation updater
2024-12-31 02:39:28 +01:00
teknomunk
290e2e9753
Fix cart placement so that furnace minecarts will always try to start moving in the direction the player was facing when the cart was placed
2024-12-31 02:36:18 +01:00
teknomunk
7bf2e08baa
Fix cart direction when starting to move forward
2024-12-31 02:36:18 +01:00
teknomunk
b5754d63a2
Remove temporary description string, add assert to force description field to be present in rail definitions and fix descriptions for on variants of rail
2024-12-31 02:36:18 +01:00
teknomunk
1656262156
Re-enable trains by default, add to settingtypes.txt
2024-12-31 02:36:18 +01:00
teknomunk
0dbf3fcd62
Fix crash in rail corridor generation, fix missing globals warnings, fix floating rail in rail corridors
2024-12-31 02:36:18 +01:00
teknomunk
46ea9e98cc
Guard against undefined nodes
2024-12-31 02:36:18 +01:00
teknomunk
363187b0d6
Prevent glitching into solid blocks at the end of rail
2024-12-31 02:36:18 +01:00
teknomunk
aef68d34fd
Address review comment and adjust multiplier
2024-12-31 02:36:18 +01:00
teknomunk
42fe5c4c85
Reduce repulsion of carts off rails
2024-12-31 02:36:18 +01:00
teknomunk
6898675e05
Limit detached cart vertical boost to no more than what is needed to get over the lip of rails
2024-12-31 02:36:18 +01:00
teknomunk
cacc9d384f
Handle edge case in mcl_minecarts.reverse_cart_direction() that lead to strange punching and pushing behavior
2024-12-31 02:36:18 +01:00
teknomunk
31066caf06
Fix cart reversal/wrong direction movement on collisions
2024-12-31 02:36:18 +01:00
teknomunk
48c380ca0b
Make sure to clear _passenger after expelling mobs
2024-12-31 02:36:18 +01:00
teknomunk
bf9ad1919e
Prevent players getting in the same cart as a mob, don't allow mobs already in a cart to be moved to another one
2024-12-31 02:36:18 +01:00
teknomunk
bef17e5401
Patch initial cart direction when placing
2024-12-31 02:36:18 +01:00
teknomunk
9b647b0823
Add curve->tee and tee->cross conversion logic, fix typo
2024-12-31 02:36:18 +01:00
teknomunk
929d7a6492
Make trains experimental behind a setting
2024-12-31 02:36:18 +01:00
teknomunk
b627d71750
Allow curved special rail conversion without dropping as item
2024-12-31 02:36:18 +01:00
teknomunk
6559bc23f9
Fix orientation of carts on slopes
2024-12-31 02:36:18 +01:00
teknomunk
bf3b98021f
Fix conversion of cart inventories to mod storage without duplicating items
2024-12-31 02:36:18 +01:00
teknomunk
a694675b87
Remove stray line
2024-12-31 02:36:18 +01:00
teknomunk
8118495c80
Add guard to prevent crash and log when this happens
2024-12-31 02:36:18 +01:00
teknomunk
8881048a4c
Remove debug minetest.log()
2024-12-31 02:36:18 +01:00
teknomunk
ddb70e5ebf
Increase off-rail friction, make off-rail carts shake, remove debug print
2024-12-31 02:36:18 +01:00
teknomunk
6f5760000e
Address review comments
2024-12-31 02:36:18 +01:00
teknomunk
dd9edcb827
Change cart punching to impulse on velocity instead of acceleration, make punch impulse larger
2024-12-31 02:36:18 +01:00
teknomunk
bf3e9190b3
Fix syntax error from rebase, fix cart tilt, change cart speed to 4 blocks/second and make into a setting, make minecart settings compatibily with upcoming dynamic rules PR ( #4662 )
2024-12-31 02:36:18 +01:00
teknomunk
879175bb97
Fix crash when train cars leave track
2024-12-31 02:36:18 +01:00
teknomunk
fc38b6eea1
Add in working curved variants of special rails
2024-12-31 02:36:18 +01:00
teknomunk
f6f8c3e5bc
Make powered rails always accelerate moving carts
2024-12-31 02:36:18 +01:00
teknomunk
fcbb4f6e34
Fix detector rail strangeness, prevent crash
2024-12-31 02:36:18 +01:00