teknomunk
|
b1ca290db1
|
Remove Emerge-0 warning that occurs when placing mineshafts
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
05c7dc9b35
|
Restore 45 degree cart movement, remove warning about unknown global
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
6949475345
|
Complete rework of curve/tee rail direction functions
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
774be40f17
|
Rework rail_dir_curve to significantly reduce code size
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
88adb3dc4c
|
Convert curved rails direction code to use fourdir
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
72e8481d2d
|
Change verticle offset for testing reattaching to rail to 0.55, which is a bit more than the stair step height
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
373263ca16
|
Fix cart detaching without unregistering from everything
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
2aee5b1984
|
Fix typo, set use_texture_alpha = clip for all rail
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
f822099580
|
Fix several undefined global warnings, fix cart movement when over maximum speed, fix cart reattachment to sloped track
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
6bf89a1703
|
Revert changed made to debug minecart-updates integration into tsm_railcorridors
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
f08928e9ce
|
Make punch move minecarts a little, comment out more debug prints
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
4f938d0e99
|
Fix visual artifacts on the sides of rails
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
72466140e1
|
Stop carts from reversing when they stop, make stopped carts try to start moving in the direction the player is facing
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
69cff8ffaa
|
Fix crash after entering a minecart not on rails
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
559c879af3
|
Fix placed rail conversion, start automatic inventory rail conversion
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
2e2b0225c6
|
Fix players repelling carts with new player metadata system
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
bb30dffeb9
|
Cleanup debug prints
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
0b16bdcf68
|
Add documentation for newly exposed attach_driver
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
622a6ed944
|
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-27 16:00:44 +01:00 |
teknomunk
|
334304c04f
|
More fixes for minecart-hopper movement
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
8f9c8bd4ca
|
Get rail placement creating corners that lead into a downward sloped rail
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
b56fc48253
|
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-27 16:00:44 +01:00 |
teknomunk
|
1b1265ec2d
|
Fix hopper-minecart interaction, convert ipairs(table) to use for i=1,#table instead
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
bd72e7d67f
|
Update mineshafts for new rail and minecarts, add loot to generated chest and hopper minecarts (and remove notes about a hack)
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
d28a01d1e3
|
Give carts a small vertical lift when pushed to allow them to get back on rails
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
4a023cfb03
|
Stop rail from being placed directly above rail (floating in air)
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
e2fc20d0fc
|
Fix sloped power,activator and detector rails, remove debug print
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
b30b76e539
|
Modify mcl_entity_invs to add support for save/load items hooks in entities, add save/load hooks to minecarts to store item list in the minecart data and not in the entity data so that respawn doesn't destroy items
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
cf986a0032
|
Add documentation on the rail
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
fbb3da2fd0
|
Add documentation on file structure and overviewes of each file
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
4c5050162a
|
Fix crashes, fix link in documentation
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
b677b4d4e2
|
More documentation, add myself to copyright list in README.txt
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
14d55742ac
|
More minor changes to API.md, start overall implementation documentation
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
233a907528
|
Fix table of contents
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
fa6fdf52f8
|
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-10-27 16:00:44 +01:00 |
teknomunk
|
6c70df163a
|
Nearly finish API documentation, create mcl_minecarts.add_blocks_to_map()
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
b062ebb2ee
|
Continue writing API documentation, update call signatures for a couple of API functions
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
9bd37e2ef1
|
Change document formatting, finally move cactus cart dropping to node definition for mcl_core:cactus
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
18dc75b207
|
Correct crashes/item duplication with dropping carts, start API documentation
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
d4858464c3
|
Fix cart controls, cart pushing
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
be8697a056
|
Fix typo in rail replacement mapping, fix several crashes
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
93de7d0384
|
Implement movement thru tee rails
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
08313c596d
|
Tune respawn distance limit
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
663710bfd2
|
Fix crashes
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
562f488d6f
|
Remove memory leak for cart data, check distance to players before respawning distant carts to prevent adding entities that are immediately inactivated
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
bb4e3276a4
|
Implement offline/out of range minecart movement and fix minecart respawning, remove railtype tracking
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
dbb96ec23e
|
Remove do_movement dependency on the existence of a cart luaentity
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
734631733c
|
Fix undefined global warning, move player off to the side of a cart when dismounting so trains don't get pushed apart when getting out
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
dccb054690
|
Make trains containing a player in a minecart function, minor cleanup in mcl_playerinfo
|
2024-10-27 16:00:44 +01:00 |
teknomunk
|
b3a5579b6e
|
Fix crashes in train logic, allow breaking apart trains
|
2024-10-27 16:00:44 +01:00 |