* Remove maximum of 3 passengers from lib_mount
* Fix up the code after actually testing it.
* Fix lint issue
* Provide a way for an API user to stop lib_mount from updating legacy
variables
* Restructure ensure_passengers_exists
- Decreases indentation level
- Makes implicit returns explicit with hopes of more readability
- Fixes lint issue?
* Change (not a == b) to a ~= b. It's convention
* Rename a function
`copya_a_passenger_to_old_api` -> `old_copy_passenger`
Resolves https://github.com/minetest-mods/lib_mount/pull/4/files#r1036365711
* Try out `new_api` change.
See: https://github.com/minetest-mods/lib_mount/pull/4#discussion_r1036364246
Co-authored-by: David Leal <halfpacho@gmail.com>
Previously, if the entity had the `can_fly` option enabled, when
going upwards or downwards, it went too fast, extremely fast, and its speed increases over time.
With this update, this no longer happens: you can customize your
own upwards and downwards maximum speed for any entity you want.
- Add LuaCheck and GitHub workflow.
- Change license to LGPLv2.1+
- Improve `README.md` and add build status badge.
- Use `mod.conf` for dependencies.
- Replace deprecated functions with newer ones.
-fixed car moving sideways caused by a shared variable,
-tweaked crash code: added enable_crash and crash_threshold variables,
-mouse steering is now default: "aux1" to toggle,
-removed is_boat in favor of terrain_type,
-tweaked mobs_redo compatablility,
-fixed speed limit enforcement