Lazerbeak12345 c9d0dddf18
Allow more than 3 passengers and improve API (#4)
* 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>
2022-12-03 19:06:56 -06:00
2020-12-18 08:20:55 +01:00
2022-03-22 09:20:44 -06:00
2021-11-14 13:01:06 -06:00
2022-03-22 09:20:44 -06:00

Library Mount Build status License ContentDB

Made by blert2112.
Handed over to Panquesito7.

Current version: 1.3

Dependencies

Optional dependencies

Requirements

  • Version 1.0 for MT 0.4.14+
  • Version 1.1 for MT 5.0.0+

License

Copyright (C) 2016 blert2112 and contributors
Copyright (C) 2019-2022 Panquesito7 (halfpacho@gmail.com) and contributors

Based on the Boats mod by PilzAdam.
See LICENSE.md for information.

Installation

  • Unzip the archive, rename the folder to lib_mount and place it in ../minetest/mods/.

  • GNU/Linux: If you use a system-wide installation, place it in ~/.minetest/mods/.

  • If you only want this to be used in a single world, place the folder in worldmods/ in your world directory.

For further information or help, see:
http://wiki.minetest.net/Installing_Mods.

Bugs, suggestions, features & bugfixes

Report bugs or suggest ideas by creating an issue.
If you know how to fix an issue, consider opening a pull request.

Description
No description provided
Readme 90 KiB
Languages
Lua 100%