1
0
Fork 0

Commit Graph

  • d165e0d2ed Fix typo, set use_texture_alpha = clip for all rail teknomunk 2024-04-27 18:19:47 +0000
  • 4cdb9fd876 Fix several undefined global warnings, fix cart movement when over maximum speed, fix cart reattachment to sloped track teknomunk 2024-04-27 18:12:06 +0000
  • 2f0976edc6 Revert changed made to debug minecart-updates integration into tsm_railcorridors teknomunk 2024-04-25 15:38:08 +0000
  • 9d393aa2f1 Make punch move minecarts a little, comment out more debug prints teknomunk 2024-04-25 08:34:11 +0000
  • 61a1cda7f8 Fix visual artifacts on the sides of rails teknomunk 2024-04-25 07:16:31 +0000
  • 388e63da7e Stop carts from reversing when they stop, make stopped carts try to start moving in the direction the player is facing teknomunk 2024-04-23 16:34:39 +0000
  • 190ce1b811 Fix crash after entering a minecart not on rails teknomunk 2024-04-16 20:06:08 +0000
  • 1054d38b4e Fix placed rail conversion, start automatic inventory rail conversion teknomunk 2024-04-12 21:25:40 +0000
  • a980446315 Fix players repelling carts with new player metadata system teknomunk 2024-04-12 20:47:47 +0000
  • 0ad7ddf2c6 Cleanup debug prints teknomunk 2024-04-12 19:09:23 +0000
  • 35bc1b6be4 Add documentation for newly exposed attach_driver teknomunk 2024-04-12 19:04:53 +0000
  • ccf5882a98 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) teknomunk 2024-04-12 19:01:15 +0000
  • e5fb891d99 More fixes for minecart-hopper movement teknomunk 2024-04-12 18:17:17 +0000
  • e9c4cdf62f Get rail placement creating corners that lead into a downward sloped rail teknomunk 2024-04-12 14:44:55 +0000
  • 94c1026ba3 Create mcl_util.metadata_timer, fix crashes, add checks to prevent hoppers from pulling from carts that are not in the square above it teknomunk 2024-04-12 13:31:01 +0000
  • f3b0ee67ed Fix hopper-minecart interaction, convert ipairs(table) to use for i=1,#table instead teknomunk 2024-04-12 12:28:24 +0000
  • 59f64ca947 Update mineshafts for new rail and minecarts, add loot to generated chest and hopper minecarts (and remove notes about a hack) teknomunk 2024-04-12 09:11:46 +0000
  • 80a45c2c0d Give carts a small vertical lift when pushed to allow them to get back on rails teknomunk 2024-04-12 07:37:34 +0000
  • a96c3fe3ac Stop rail from being placed directly above rail (floating in air) teknomunk 2024-04-11 14:02:53 +0000
  • fba49df2f0 Fix sloped power,activator and detector rails, remove debug print teknomunk 2024-04-11 13:49:00 +0000
  • b0fff9f3e9 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 teknomunk 2024-04-11 13:09:24 +0000
  • 6d0ce3ffd1 Add documentation on the rail teknomunk 2024-04-11 12:33:22 +0000
  • fee12804f8 Add documentation on file structure and overviewes of each file teknomunk 2024-04-11 12:14:08 +0000
  • a149ef5f05 Fix crashes, fix link in documentation teknomunk 2024-04-11 09:17:06 +0000
  • db2c200136 More documentation, add myself to copyright list in README.txt teknomunk 2024-04-11 08:33:36 +0000
  • 99dec4217c More minor changes to API.md, start overall implementation documentation teknomunk 2024-04-11 08:18:52 +0000
  • e5f4650114 Fix table of contents teknomunk 2024-04-11 07:12:08 +0000
  • 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 teknomunk 2024-04-11 07:08:25 +0000
  • 51036b0592 Nearly finish API documentation, create mcl_minecarts.add_blocks_to_map() teknomunk 2024-04-11 00:04:59 +0000
  • 9781627bb2 Continue writing API documentation, update call signatures for a couple of API functions teknomunk 2024-04-10 23:30:03 +0000
  • c56d98ab2f Change document formatting, finally move cactus cart dropping to node definition for mcl_core:cactus teknomunk 2024-04-10 22:48:24 +0000
  • 49ef40aa3c Correct crashes/item duplication with dropping carts, start API documentation teknomunk 2024-04-10 22:22:17 +0000
  • 5c351ae258 Fix cart controls, cart pushing teknomunk 2024-04-10 09:03:59 +0000
  • 581dcd7b3f Fix typo in rail replacement mapping, fix several crashes teknomunk 2024-04-10 08:02:21 +0000
  • c04ed709e0 Implement movement thru tee rails teknomunk 2024-04-10 07:40:25 +0000
  • fe3e783f6f Tune respawn distance limit teknomunk 2024-04-09 23:27:49 +0000
  • d1b5e77ca1 Fix crashes teknomunk 2024-04-09 23:09:10 +0000
  • 778e42165a Remove memory leak for cart data, check distance to players before respawning distant carts to prevent adding entities that are immediately inactivated teknomunk 2024-04-09 22:32:58 +0000
  • 15c13b7bb3 Implement offline/out of range minecart movement and fix minecart respawning, remove railtype tracking teknomunk 2024-04-09 20:52:11 +0000
  • a4987f63e9 Remove do_movement dependency on the existence of a cart luaentity teknomunk 2024-04-09 11:59:45 +0000
  • 79d068b98a 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 teknomunk 2024-04-09 08:14:30 +0000
  • 79b3b3b26b Make trains containing a player in a minecart function, minor cleanup in mcl_playerinfo teknomunk 2024-04-09 07:35:57 +0000
  • 475d6f3e93 Fix crashes in train logic, allow breaking apart trains teknomunk 2024-04-09 00:40:04 +0000
  • e59a89eb2a Implement train reversing teknomunk 2024-04-08 21:37:54 +0000
  • a48c58a244 Repair vectors in cart data, mostly fix train movement bugs (still possible to have a furnace minecart flip, without the train also flipping) teknomunk 2024-04-08 19:38:13 +0000
  • 52904ef5e0 Add cart entity respawn/destroy to match cart data (partially working) teknomunk 2024-04-07 12:27:53 +0000
  • 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 teknomunk 2024-04-07 10:18:55 +0000
  • db96e86d57 Fix rail detach crash, make tnt minecarts explode if they hit something hard (off rails) teknomunk 2024-04-07 07:44:29 +0000
  • dcf833907e Make sure carts get detatch if the rail under them is removed teknomunk 2024-04-07 07:13:40 +0000
  • 24bf99df44 Fixish reorganizing, initial train implementation teknomunk 2024-04-06 22:10:22 +0000
  • 386bde698d Major reorganization, start setup for trains teknomunk 2024-04-06 17:09:54 +0000
  • 3ca5bd0dff Make sure carts that collide move in the same direction the colliding cart was teknomunk 2024-04-06 14:23:59 +0000
  • bacc8bdf64 Add utilities to convert between an ObjectRef, it's active object id and a 128bit uuid, move minecart data from entity staticdata to mod storage to eventually allow updating carts when out of range of players and also track what carts are alive, implement on-rail cart collisions teknomunk 2024-04-06 13:40:40 +0000
  • ce9e3481af Harden against unknown nodes teknomunk 2024-04-06 07:33:47 +0000
  • 659a387256 Allow players to push minecarts that are not on track teknomunk 2024-04-06 06:50:30 +0000
  • b6e51a3c40 Fix rails in creative inventory, make minecart with tnt not crash server when exploding, make minecart with tnt slightly more powerful than regular tnt teknomunk 2024-04-06 06:24:31 +0000
  • 6d9cae1034 Fix rail movement regressions teknomunk 2024-04-06 05:56:21 +0000
  • e6664de6e7 Move cart code to its own file, more code cleanup, add aliases for old track items teknomunk 2024-04-05 06:39:42 +0000
  • fd03fc0027 Cleanup code, restore uphill/downhill cart movement, completely remove old rail teknomunk 2024-04-04 22:08:20 +0000
  • c9883cc6cc Get rail reattachment (especially after jumps) working correctly teknomunk 2024-04-04 18:20:14 +0000
  • 5bd06f5c03 Make legacy rail update apply to all old rail types, add basic detached railcart physics with a stub to use mcl_physics when it gets merged teknomunk 2024-04-04 07:33:16 +0000
  • 284c366136 Silence unmaskable print statements teknomunk 2024-04-03 22:07:14 +0000
  • c1a7001c31 Add immortal item entity support, add legacy rail conversion that uses immortal item drops for corners/tees/crosses that are no longer possible teknomunk 2024-04-03 21:33:48 +0000
  • 8cd9ee9b32 Fix more rail connection bugs teknomunk 2024-04-01 06:12:59 +0000
  • 3391a28fa9 Get sloped connections working correctly teknomunk 2024-03-31 20:20:34 +0000
  • ad11fc22ec Re-enable rule for powering rail from underneath, have stairs block minecart movement, fix crash when lightning strikes a minecart teknomunk 2024-03-31 11:49:55 +0000
  • 4589206985 Fix mcl_util.table_merge where a standard value overwrites a table, fix base definition usage, implement behavior difference when there is a solid block after a straight piece of track (this will eventually allow minecarts to fly off the end of the track) teknomunk 2024-03-31 11:13:50 +0000
  • 19e2dc58eb Update all rail types to new version teknomunk 2024-03-31 10:41:00 +0000
  • 4b8cb85319 Reorganize teknomunk 2024-03-31 10:21:07 +0000
  • 7b7dfd1da3 Finish reverting 08b41a3b39 teknomunk 2024-03-30 23:00:17 +0000
  • 603577e7a6 Enable new track with get_next_dir handlers teknomunk 2024-03-30 22:33:40 +0000
  • 34f394d8dc Change connection rules again to allow building parallel track, tees and crosses), start implementing rail rules callbacks teknomunk 2024-03-30 22:02:06 +0000
  • 75f394e5ab Add sloped rail teknomunk 2024-03-29 19:53:13 +0000
  • 478c488c85 Fix rail visuals, add switch operation teknomunk 2024-03-29 18:08:07 +0000
  • 4265f0b428 Implement initial rail connection logic (no vertical track yet), experiment with texture modifiers and gravel underlay for display (not working) teknomunk 2024-03-28 15:06:26 +0000
  • 57ad709bdd Start implementing new rail nodes teknomunk 2024-03-28 07:11:59 +0000
  • 296c301669 Implement minecart with command block teknomunk 2024-03-28 06:18:50 +0000
  • 4c88eb1439 Create mesecons command API and modify commandblock to use it teknomunk 2024-03-28 05:49:46 +0000
  • 4db70fd729 Disable punch to move minecarts, implement punch to drop minecart, enable basic cart keyboard controls (accelerate and brake) teknomunk 2024-03-23 09:59:08 +0000
  • 6f7e1df002 Remove cart oscillation when pushed teknomunk 2024-03-23 09:08:17 +0000
  • c18976c0ca Limit top speed of furnace minecarts to 4 blocks/second, limit total fuel time to 27 minutes teknomunk 2024-03-23 08:09:37 +0000
  • ff5e185629 Fix bug with furnace minecart at max velocity (stopped until fuel ran out), move _fueltime into staticdata teknomunk 2024-03-23 07:32:32 +0000
  • 64b930ac3e Fix call signature of mcl_util.hopper_pull_to_inventory, move cart-specific behaviors to _mcl_minecarts_on_step handlers, fix typo, change distance used in rail reattach code, move cart_id generation teknomunk 2024-03-23 07:09:20 +0000
  • f9e8f60a1c Add groups to minecart entities (for containers), fix cart node watch handling, relocate hopper_push_to_mc in mcl_hopper/init.lua, implement hopper-to-minecart push using enter/leave hooks for both straight and bent hoppers teknomunk 2024-03-23 06:13:53 +0000
  • ec2d08524e Add API function to remove node watch teknomunk 2024-03-16 09:21:39 +0000
  • 6c6bfcfcb2 Refactor enter/leave hook processing, add node watches for implementing hopper-to-minecart functionality (should properly handle heavy server lag without missing any time), temporarily disable hopper push/pull to minecart in mcl_hoppers, prepare to move minecart-specific on_step behavior out of main on_step function and to a minecart-specific handler teknomunk 2024-03-16 09:17:09 +0000
  • b0c075714f Start adding hooks for implpementing minecart with command block teknomunk 2024-03-16 07:59:39 +0000
  • 44f9a3e619 Make minecarts solid and add players pushing teknomunk 2024-03-13 14:22:23 +0000
  • 1618693726 Fix forwards/backwars tilt in all directions teknomunk 2024-03-13 13:07:58 +0000
  • fd6f4ee80e Prevent players from entering minecarts when sneaking, prevents players from causing MineClone2/MineClone2#3188 teknomunk 2024-03-13 12:26:15 +0000
  • d479bfb711 Increase default track friction, disable right-click to exit minecarts teknomunk 2024-03-13 12:08:12 +0000
  • c2be93e0d5 Initial tuning of acceleration/gravity, fix crash when entering an activator rail, detach mobs from cart on active activator rail, remove commented out code no longer needed teknomunk 2024-03-13 11:51:39 +0000
  • 0ef0ae6bee Move code that handles below-rail hoppers to handle_cart_enter, implement timestep-independent cart physics (will need tuning punch, power rail and gravityaccelerations to make game fun) teknomunk 2024-03-13 10:28:40 +0000
  • 0fa067d3ee Mostly fix carts stopping between powered rails (there is still some strangeness with acceleration physics) teknomunk 2024-03-12 07:03:41 +0000
  • e4eb38db9c Fix diagonal movement teknomunk 2024-03-11 20:14:11 +0000
  • b4a0ae9c56 Add diagonal track movement on zig-zag track, rewrite mcl_minecarts:get_rail_direction teknomunk 2024-03-11 08:57:43 +0000
  • 37d07b6201 Make TNT minecarts available in creative menu teknomunk 2024-03-11 08:13:36 +0000
  • 52bca90ae2 Implement custom item dropper handlers, implement droppers placing minecarts teknomunk 2024-03-11 07:26:51 +0000
  • af9409c69f Hopper minecarts pull from containers above rail teknomunk 2024-03-11 00:34:26 +0000
  • 0951acd06c Rework in preparation to add code to pull from containers into the hopper minecart teknomunk 2024-03-10 11:20:27 +0000