teknomunk
|
aefdb963de
|
Move the various rails to their own files, code cleanup
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
6468ba7f33
|
Remove undefined global for optional environmental physics
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
db2f02b485
|
Restore 45 degree cart movement, remove warning about unknown global
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
120af0f434
|
Change verticle offset for testing reattaching to rail to 0.55, which is a bit more than the stair step height
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
10fd9bb918
|
Fix cart detaching without unregistering from everything
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
4cdb9fd876
|
Fix several undefined global warnings, fix cart movement when over maximum speed, fix cart reattachment to sloped track
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
9d393aa2f1
|
Make punch move minecarts a little, comment out more debug prints
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
388e63da7e
|
Stop carts from reversing when they stop, make stopped carts try to start moving in the direction the player is facing
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
a980446315
|
Fix players repelling carts with new player metadata system
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
0ad7ddf2c6
|
Cleanup debug prints
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
e5fb891d99
|
More fixes for minecart-hopper movement
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
f3b0ee67ed
|
Fix hopper-minecart interaction, convert ipairs(table) to use for i=1,#table instead
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
80a45c2c0d
|
Give carts a small vertical lift when pushed to allow them to get back on rails
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
a149ef5f05
|
Fix crashes, fix link in documentation
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
acb246b88e
|
Finish writing API documentation, remove drop_railcarts (replaced by try_detach_minecart), rename constants to ALL CAPS for consistency, change mcl_minecarts. to mod. for API function definitions
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
49ef40aa3c
|
Correct crashes/item duplication with dropping carts, start API documentation
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
5c351ae258
|
Fix cart controls, cart pushing
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
581dcd7b3f
|
Fix typo in rail replacement mapping, fix several crashes
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
c04ed709e0
|
Implement movement thru tee rails
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
15c13b7bb3
|
Implement offline/out of range minecart movement and fix minecart respawning, remove railtype tracking
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
a4987f63e9
|
Remove do_movement dependency on the existence of a cart luaentity
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
79b3b3b26b
|
Make trains containing a player in a minecart function, minor cleanup in mcl_playerinfo
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
475d6f3e93
|
Fix crashes in train logic, allow breaking apart trains
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
e59a89eb2a
|
Implement train reversing
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
a48c58a244
|
Repair vectors in cart data, mostly fix train movement bugs (still possible to have a furnace minecart flip, without the train also flipping)
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
095ad465e5
|
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-06-15 14:08:29 +02:00 |
|
teknomunk
|
db96e86d57
|
Fix rail detach crash, make tnt minecarts explode if they hit something hard (off rails)
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
dcf833907e
|
Make sure carts get detatch if the rail under them is removed
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
24bf99df44
|
Fixish reorganizing, initial train implementation
|
2024-06-15 14:08:29 +02:00 |
|
teknomunk
|
386bde698d
|
Major reorganization, start setup for trains
|
2024-06-15 14:08:29 +02:00 |
|