teknomunk
|
8e4d4cb562
|
Fix another crash, fix rail tee on texture
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
06929b4df8
|
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-11-02 21:26:31 +01:00 |
teknomunk
|
e07a24fdcc
|
Prevent trains from slowing on 45 degree track
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
0964441fb8
|
Add guard that prevents crash when itemstack is nil
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
380089bc39
|
Silence debug prints and logging
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
fdf9437d7c
|
Prevent removal of old minecarts
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
495399a5cf
|
Add legacy node conversion to vl_legacy and update rails.lua to use it
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
3306814437
|
Make activated tnt minecarts glow in the dark, fix crash with lit tnt minecarts
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
3602f198d8
|
Fix a couple of crashes (TNT minecart trying to update orientation after exploding, trying to punch/push a minecart not on track)
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
c1734dc880
|
Expand mcl_util.hopper_pull() to mcl_util.hopper_pull_to_inventory()
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
7eca91e4b9
|
Add profiling code to force_get_node()
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
72e90b91d2
|
Address additional review comments
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
cecc033f54
|
Update API documentation to always use , add compatibility shim to mcl_minecarts.is_rail() and mcl_minecarts.ge_rail_direction()
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
05b9068e9d
|
Rewrite mcl_util.hopper_pull in terms of mcl_util.hopper_pull_to_inventory
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
814ea20148
|
Correct documentation per review
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
93a6dc3626
|
Switch over to using vl_legacy for item conversion in player inventories
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
2d003e370d
|
Fix typo
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
03f291f7eb
|
Register rail conversions
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
e0539b354a
|
Implement vl_legacy deprecated function and item conversion APIs
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
5987ab7efe
|
Fix crashes
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
eab2a32c04
|
Make old rails have a drawtype, make update lbm always run
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
3f69e5e5f5
|
Move the various rails to their own files, code cleanup
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
751a3c4688
|
Remove undefined global for optional environmental physics
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
1a277fd350
|
Remove Emerge-0 warning that occurs when placing mineshafts
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
dd444ebfb6
|
Restore 45 degree cart movement, remove warning about unknown global
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
1370cf7863
|
Complete rework of curve/tee rail direction functions
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
2891807a0f
|
Rework rail_dir_curve to significantly reduce code size
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
4cabdc3d0d
|
Convert curved rails direction code to use fourdir
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
0c61a481a9
|
Change verticle offset for testing reattaching to rail to 0.55, which is a bit more than the stair step height
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
530b44b07a
|
Fix cart detaching without unregistering from everything
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
cd723e4372
|
Fix typo, set use_texture_alpha = clip for all rail
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
22f1a63391
|
Fix several undefined global warnings, fix cart movement when over maximum speed, fix cart reattachment to sloped track
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
02613d3bc8
|
Revert changed made to debug minecart-updates integration into tsm_railcorridors
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
8e6e83c6bc
|
Make punch move minecarts a little, comment out more debug prints
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
bf8c6c7cbf
|
Fix visual artifacts on the sides of rails
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
1aea904aa1
|
Stop carts from reversing when they stop, make stopped carts try to start moving in the direction the player is facing
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
831868bc77
|
Fix crash after entering a minecart not on rails
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
b376bdae61
|
Fix placed rail conversion, start automatic inventory rail conversion
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
e65cdd2cab
|
Fix players repelling carts with new player metadata system
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
70bec375d3
|
Cleanup debug prints
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
dab078b223
|
Add documentation for newly exposed attach_driver
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
d256f4362c
|
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-11-02 21:26:31 +01:00 |
teknomunk
|
b845e671ad
|
More fixes for minecart-hopper movement
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
2aa544e1c7
|
Get rail placement creating corners that lead into a downward sloped rail
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
6caf7843a8
|
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-11-02 21:26:31 +01:00 |
teknomunk
|
8b250dd187
|
Fix hopper-minecart interaction, convert ipairs(table) to use for i=1,#table instead
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
521f545a79
|
Update mineshafts for new rail and minecarts, add loot to generated chest and hopper minecarts (and remove notes about a hack)
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
967b032a38
|
Give carts a small vertical lift when pushed to allow them to get back on rails
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
34163116f9
|
Stop rail from being placed directly above rail (floating in air)
|
2024-11-02 21:26:31 +01:00 |
teknomunk
|
e67351d860
|
Fix sloped power,activator and detector rails, remove debug print
|
2024-11-02 21:26:31 +01:00 |