teknomunk
|
769ab6e3dc
|
Add back shift+punch to immediately drop minecart
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
533005b0da
|
Fix another crash, fix rail tee on texture
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
d2e1f8b1e2
|
Calculate acceleration of trains based on average of acceleration for all carts in the train, make velocity not change on slopes and 45 degree track
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
71e871db3f
|
Prevent trains from slowing on 45 degree track
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
401eae46cb
|
Add guard that prevents crash when itemstack is nil
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
3eebff4bc9
|
Silence debug prints and logging
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
11e5f36697
|
Prevent removal of old minecarts
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
5e4e5d3200
|
Add legacy node conversion to vl_legacy and update rails.lua to use it
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
6efcf089d3
|
Make activated tnt minecarts glow in the dark, fix crash with lit tnt minecarts
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
f235214be9
|
Fix a couple of crashes (TNT minecart trying to update orientation after exploding, trying to punch/push a minecart not on track)
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
32a5a01147
|
Expand mcl_util.hopper_pull() to mcl_util.hopper_pull_to_inventory()
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
9ebf39d846
|
Add profiling code to force_get_node()
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
34c5b90725
|
Address additional review comments
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
d4c2ecc16f
|
Update API documentation to always use , add compatibility shim to mcl_minecarts.is_rail() and mcl_minecarts.ge_rail_direction()
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
3ac29cc455
|
Rewrite mcl_util.hopper_pull in terms of mcl_util.hopper_pull_to_inventory
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
928748c93c
|
Correct documentation per review
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
43bc54db1b
|
Switch over to using vl_legacy for item conversion in player inventories
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
cba2b6bcee
|
Fix typo
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
9f9e839b24
|
Register rail conversions
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
d4077b3e06
|
Implement vl_legacy deprecated function and item conversion APIs
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
afa0bee22d
|
Fix crashes
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
b4cd290447
|
Make old rails have a drawtype, make update lbm always run
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
83e63f19e8
|
Move the various rails to their own files, code cleanup
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
44669cd4cb
|
Remove undefined global for optional environmental physics
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
d58acf828c
|
Remove Emerge-0 warning that occurs when placing mineshafts
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
27fb5be403
|
Restore 45 degree cart movement, remove warning about unknown global
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
e3fca3ce59
|
Complete rework of curve/tee rail direction functions
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
e7cc1ac507
|
Rework rail_dir_curve to significantly reduce code size
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
f241755c3d
|
Convert curved rails direction code to use fourdir
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
de01c37be5
|
Change verticle offset for testing reattaching to rail to 0.55, which is a bit more than the stair step height
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
f03fbc8647
|
Fix cart detaching without unregistering from everything
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
c0f34e0b2c
|
Fix typo, set use_texture_alpha = clip for all rail
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
c1cfe238dc
|
Fix several undefined global warnings, fix cart movement when over maximum speed, fix cart reattachment to sloped track
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
965d3dbe4e
|
Revert changed made to debug minecart-updates integration into tsm_railcorridors
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
6c84ca0bf3
|
Make punch move minecarts a little, comment out more debug prints
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
67e8be68e6
|
Fix visual artifacts on the sides of rails
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
328eea0899
|
Stop carts from reversing when they stop, make stopped carts try to start moving in the direction the player is facing
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
df8c827df6
|
Fix crash after entering a minecart not on rails
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
1314d6e15c
|
Fix placed rail conversion, start automatic inventory rail conversion
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
847631202e
|
Fix players repelling carts with new player metadata system
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
8095c2a148
|
Cleanup debug prints
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
8e4953cf3d
|
Add documentation for newly exposed attach_driver
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
f8d3ffd86b
|
Add persistent player-specific metadata into mcl_playerinfo, simple cart reattachment (only exists if the luaentity for the cart exists when the player logs in)
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
f8b47e6728
|
More fixes for minecart-hopper movement
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
070ddac8c4
|
Get rail placement creating corners that lead into a downward sloped rail
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
8093f5e425
|
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-10-01 16:37:23 +02:00 |
teknomunk
|
122cb53e44
|
Fix hopper-minecart interaction, convert ipairs(table) to use for i=1,#table instead
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
ac8cdd5fe1
|
Update mineshafts for new rail and minecarts, add loot to generated chest and hopper minecarts (and remove notes about a hack)
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
5349d2cd43
|
Give carts a small vertical lift when pushed to allow them to get back on rails
|
2024-10-01 16:37:23 +02:00 |
teknomunk
|
be2d5d8e7d
|
Stop rail from being placed directly above rail (floating in air)
|
2024-10-01 16:37:23 +02:00 |