Commit graph

  • 38ee22c3bd 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
  • efe190e23c Fix rail movement regressions teknomunk 2024-04-06 05:56:21 +0000
  • 9aacafe52c Move cart code to its own file, more code cleanup, add aliases for old track items teknomunk 2024-04-05 06:39:42 +0000
  • 8517885521 Cleanup code, restore uphill/downhill cart movement, completely remove old rail teknomunk 2024-04-04 22:08:20 +0000
  • 826a827db2 Get rail reattachment (especially after jumps) working correctly teknomunk 2024-04-04 18:20:14 +0000
  • 0aa45092cf 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
  • 9e16947080 Silence unmaskable print statements teknomunk 2024-04-03 22:07:14 +0000
  • 90c8bf35b7 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
  • 95d168d8bd Fix more rail connection bugs teknomunk 2024-04-01 06:12:59 +0000
  • 76f4135dde Get sloped connections working correctly teknomunk 2024-03-31 20:20:34 +0000
  • b2fd8d5339 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
  • 7164063644 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
  • 2724c25e90 Update all rail types to new version teknomunk 2024-03-31 10:41:00 +0000
  • ef5feffb98 Reorganize teknomunk 2024-03-31 10:21:07 +0000
  • 0fc7383221 Finish reverting 08b41a3b39 teknomunk 2024-03-30 23:00:17 +0000
  • 5bf26706fa Enable new track with get_next_dir handlers teknomunk 2024-03-30 22:33:40 +0000
  • b78c462306 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
  • de59535dae Add sloped rail teknomunk 2024-03-29 19:53:13 +0000
  • 7541ef8e03 Fix rail visuals, add switch operation teknomunk 2024-03-29 18:08:07 +0000
  • 61bb7f06b5 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
  • 5c3e2c8f90 Start implementing new rail nodes teknomunk 2024-03-28 07:11:59 +0000
  • d4b90a4bd5 Implement minecart with command block teknomunk 2024-03-28 06:18:50 +0000
  • 9397e329e7 Create mesecons command API and modify commandblock to use it teknomunk 2024-03-28 05:49:46 +0000
  • d9db08d35b 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
  • d78c4593ec Remove cart oscillation when pushed teknomunk 2024-03-23 09:08:17 +0000
  • 371ad8d737 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
  • 0cb19e5218 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
  • c17874bc48 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
  • 1dd8f0efef 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
  • 6646c6e84f Add API function to remove node watch teknomunk 2024-03-16 09:21:39 +0000
  • 746780ab1f 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
  • c3b6cf758c Start adding hooks for implpementing minecart with command block teknomunk 2024-03-16 07:59:39 +0000
  • 58cdc1b66a Make minecarts solid and add players pushing teknomunk 2024-03-13 14:22:23 +0000
  • 390419e67c Fix forwards/backwars tilt in all directions teknomunk 2024-03-13 13:07:58 +0000
  • c42302cfd2 Prevent players from entering minecarts when sneaking, prevents players from causing https://git.minetest.land/MineClone2/MineClone2/issues/3188 teknomunk 2024-03-13 12:26:15 +0000
  • 5b1ebbff97 Increase default track friction, disable right-click to exit minecarts teknomunk 2024-03-13 12:08:12 +0000
  • c198257ae7 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
  • 12ac5740d3 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
  • cc84d5efa9 Mostly fix carts stopping between powered rails (there is still some strangeness with acceleration physics) teknomunk 2024-03-12 07:03:41 +0000
  • 0b1252a60d Fix diagonal movement teknomunk 2024-03-11 20:14:11 +0000
  • e04d82b80e Add diagonal track movement on zig-zag track, rewrite mcl_minecarts:get_rail_direction teknomunk 2024-03-11 08:57:43 +0000
  • 88f5796cad Make TNT minecarts available in creative menu teknomunk 2024-03-11 08:13:36 +0000
  • e82e5f805f Implement custom item dropper handlers, implement droppers placing minecarts teknomunk 2024-03-11 07:26:51 +0000
  • 8ee950d31e Hopper minecarts pull from containers above rail teknomunk 2024-03-11 00:34:26 +0000
  • 356c2c6418 Rework in preparation to add code to pull from containers into the hopper minecart teknomunk 2024-03-10 11:20:27 +0000
  • ce9f92e017 Move fiction constant to top of file, suppress cart flips when direction reverses due to gravity or end of track teknomunk 2024-03-09 18:45:01 +0000
  • 435141357d Add code to reattach carts to rail when data corruption occurs, fix bug in last commit that caused carts to bury into the ground teknomunk 2024-03-09 17:28:23 +0000
  • 063c84d2ba Remove dip into the ground that occured when gravity caused the cart to reverse directions teknomunk 2024-03-09 16:06:11 +0000
  • 7a87a8282d Implement gravity, move orientation update to own function, fix cart stopping in process_acceleration teknomunk 2024-03-06 08:07:31 +0000
  • 2dcb790ace Change connected railcar behavior to fix unreliable end of track stopping, set maximum acceleration of powered rails to 8 blocks per second (per https://minecraft.fandom.com/wiki/Powered_Rail), stop powered rails from powering the block underneath it (allows below rail hopper to work while the rail is powered like in https://www.youtube.com/watch?v=szjO0-duTAk), modify mcl_hoppers to allow triggering a hopper pull once the minecart is stopped on top of the hopper and wait before allowing the cart to move to allow redstone circuits time to process teknomunk 2024-02-16 23:09:29 +0000
  • c9d6a417cd Make minecart always stop at correct location at end of track, fix crash when placing chest minecart after changing how staticdata is handled teknomunk 2024-02-14 11:47:42 +0000
  • d57d83009d Modify do_movement_step to move to always move to the edge of the current rail segment before updating the direction to prevent oscillations at corners, fix end of track stop location with new movement behavior, disable experimental controls, swap code to detach the driver on float with a call to detach_driver() teknomunk 2024-02-14 10:48:55 +0000
  • da4b8ba579 Add DEBUG flag, stop small do_movement_step's from occuring (this improves but doesn't eliminate the bug I with the a6be179ed commit), add recovery when staticdata field gets lost teknomunk 2024-02-13 23:31:48 +0000
  • 5271375843 Fix initial_properties for minecarts teknomunk 2024-02-13 15:33:37 +0000
  • 669d9d0556 Change left,right and back vectors to matrix math results with no branching teknomunk 2024-02-13 15:28:00 +0000
  • 2bb1aa7241 Remove now unused properties from minecart definition, convert more vectors to use vector.new syntax teknomunk 2024-02-13 14:57:45 +0000
  • 6de06945c1 Complete rewrite of minecart movement that resolves https://git.minetest.land/MineClone2/MineClone2/issues/2446 and https://git.minetest.land/MineClone2/MineClone2/issues/247#issuecomment-50960 but has a bug where carts will synchronize movements that I am still investigating teknomunk 2024-02-13 14:45:00 +0000
  • 960309462f Change staticdata serialization (with migration from old data), disable debugging code used to investigate https://git.minetest.land/MineClone2/MineClone2/issues/2446 teknomunk 2024-02-13 10:42:38 +0000
  • c008d2ea3a Change to vector.new from {x=...}, relocate movement code to own function for future changes teknomunk 2024-02-13 09:42:07 +0000
  • 6def6b85f8 code cleanups kno10 2024-10-29 17:32:47 +0100
  • a82c38abd0 Add CC0 fox sounds, taming, breeding. kno10 2024-10-11 19:28:28 +0200
  • 0f5a2a3802 Add fox basics kno10 2024-10-08 23:03:39 +0200
  • c8c0f200cb luacheck and other improvements kno10 2024-10-07 17:22:01 +0200
  • 0984a7e53f Further movement improvements kno10 2024-10-03 12:56:40 +0200
  • d0a88adc20 Making movement work better. kno10 2024-10-02 21:24:42 +0200
  • 26210439b0 Movement improvements kno10 2024-09-28 02:23:44 +0200
  • 3e214793aa mob attack tweaks kno10 2024-11-10 01:40:30 +0100
  • 52f8f15063 fix child == true when child = 1 kno10 2024-11-10 00:46:43 +0100
  • 31251194d3 More tweaks to pathfinding kno10 2024-10-29 00:28:48 +0100
  • 305507d127 Make villagers hurry for long paths and night kno10 2024-10-28 23:54:41 +0100
  • 7fb2a3aff4 avoid trivial fences, open some fence gates kno10 2024-10-28 23:51:11 +0100
  • fd1d32cbf8 Improve starting and end point of pathfinding. kno10 2024-10-28 22:07:30 +0100
  • d0fd68e9ba pathfinding improvements kno10 2024-10-28 17:58:02 +0100
  • aa1de58701 Improve danger avoidance code. kno10 2024-09-28 03:03:47 +0200
  • 06c693f627 fix and optimize Fleckenstein kno10 2024-09-28 02:26:36 +0200
  • fdebdef12d small code cleanups kno10 2024-09-26 17:32:17 +0200
  • c7f3c051d7 also cleanup mount.lua kno10 2024-09-25 20:38:59 +0200
  • 06ba4487c6 some more cleanups, from code review kno10 2024-09-18 14:25:34 +0200
  • 40492282ae code cleanups kno10 2024-10-27 19:24:40 +0100
  • 8ad5d16ccc movement improvements, door opening kno10 2024-10-27 19:23:00 +0100
  • d32d64250b further movement tweaks kno10 2024-07-19 13:19:09 +0200
  • 7693c9b02a Movement and path finding improvements. kno10 2024-07-15 02:31:21 +0200
  • 815e929ccb Mob pushing improvements kno10 2024-07-14 19:03:26 +0200
  • 0708c804d3 add and use turn_by/turn_in_direction methods kno10 2024-07-13 16:46:50 +0200
  • 0b381dce31 reduce code duplication, add mob:stand() kno10 2024-07-13 16:04:04 +0200
  • eb30e60dde cleanups kno10 2024-07-13 15:55:53 +0200
  • ee3b14d4db fix delay=0 in combat code, tune turning parameters kno10 2024-07-09 13:51:45 +0200
  • 8da3587458 More help getting out of water kno10 2024-07-08 00:10:53 +0200
  • fdb05cee5d More movement code cleanups. kno10 2024-07-07 17:24:40 +0200
  • 44dc17fa60 More cleanup and improvements to movement code kno10 2024-07-05 17:48:05 +0200
  • 688fb13874 More movement code improvements. kno10 2024-07-05 13:29:31 +0200
  • bad44084c6 Try to reduce how much mobs fall off cliffs. kno10 2024-07-01 21:36:30 +0200
  • 5d3d6470b8 Rewrite the head swivel code math kno10 2024-11-11 17:29:07 +0100
  • 4dc5d0939c Whitespace fix in translation (#4701) master marro 2024-11-11 03:49:43 +0100
  • 4e22b811d1 Deleted extra space marro 2024-11-11 02:32:40 +0100
  • 32b334322b Merge pull request 'Mobile fixes & improvements (cherry-pick from Mineclonia)' (#4685) from grorp/MineClone2:vl-mobile-fixes-and-improvements into master the-real-herowl 2024-11-11 01:44:27 +0100
  • 88c3c4558b Fix for VoxeLibre grorp 2024-10-17 14:05:51 +0200
  • 3954acdfb7 Creative inventory: padding[-0.015,-0.015] on mobile grorp 2024-09-25 20:56:59 +0200
  • 02b354f54a Avoid tab buttons going off-screen with high scaling values grorp 2024-09-25 19:53:20 +0200
  • cb624fe1d9 Creative inventory: Make the whole tab button clickable grorp 2024-09-25 19:31:27 +0200