2023-09-11 19:59:30 -06:00
# Vehicle Mash [![LuaCheck status](https://github.com/minetest-mods/vehicle_mash/workflows/luacheck/badge.svg)](https://github.com/minetest-mods/vehicle_mash/actions) [![ContentDB](https://content.minetest.net/packages/Panquesito7/vehicle_mash/shields/downloads/)](https://content.minetest.net/packages/Panquesito7/vehicle_mash/)
2020-05-15 17:57:42 -05:00
2022-12-18 16:22:44 -06:00
- Current version: 2.4.0
2021-01-06 19:28:47 -06:00
- By [blert2112 ](https://github.com/blert2112 ), and handed over to [Panquesito7 ](https://github.com/Panquesito7 ).
2015-05-01 01:36:59 -04:00
2020-10-14 22:29:58 -05:00
![Screenshot ](https://raw.githubusercontent.com/minetest-mods/vehicle_mash/master/screenshot.png )
2020-05-28 18:03:15 -05:00
2015-05-01 01:21:31 -04:00
A merge of all the vehicles from:
2015-05-01 01:36:59 -04:00
2020-09-25 16:19:53 -05:00
- "Mesecars" by paramat.
- "Car" by Esteban.
- "Boats" by PilzAdam.
- "Hovercraft" by Stuart Jones.
- 28 vehicles currently.
2020-05-28 16:56:18 -05:00
- All CAR01's can carry 3 passengers.
2015-05-21 19:56:20 -04:00
2020-09-25 16:19:53 -05:00
- Disable vehicles by going to your Minetest Settings.
- Adding new vehicles is a simple matter of:
- Create/acquire vehicle model and textures.
- Create, and name appropriately, a new `.lua` file on its appropiate folder for the vehicle based on one of the existing ones.
- Add a setting in `settingtypes.txt` for users to enable/disable it.
- Change settings in the file you created to reflect the new vehicle.
- Add a new line to `init.lua` to load the vehicle `dofile(minetest.get_modpath("vehicle_mash") .. "/NAME_OF_VEHICLE.lua")`
2015-05-01 01:36:59 -04:00
2020-05-15 17:57:42 -05:00
## Installation
2020-09-25 16:19:53 -05:00
2020-05-15 17:57:42 -05:00
- Unzip the archive, rename the folder to `vehicle_mash` and place it in
2019-06-13 17:54:26 -05:00
../minetest/mods/
2015-05-01 01:36:59 -04:00
2019-06-13 17:54:26 -05:00
- 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.
2020-05-15 17:57:42 -05:00
For further information or help, see:\
2020-09-25 16:19:53 -05:00
< https: / / wiki . minetest . net / Installing_Mods >
2019-06-13 17:54:26 -05:00
2020-05-28 16:56:18 -05:00
## Known issues
2020-09-25 16:19:53 -05:00
2023-05-23 10:13:59 -06:00
- None as of now.
2020-05-28 16:56:18 -05:00
2020-05-15 17:57:42 -05:00
## License
2020-09-25 16:19:53 -05:00
2021-01-12 14:57:13 -06:00
Copyright (C) 2015-2016 blert2112 and contributors\
2022-03-22 09:18:56 -06:00
Copyright (C) 2019-2022 Panquesito7 (halfpacho@gmail .com) and contributors
2021-01-06 19:28:47 -06:00
2022-11-30 10:49:33 -06:00
All licenses of previous works, of course, apply (see credits below).
2015-05-01 01:21:31 -04:00
As far as the work I did... It's really just a fork of a fork of a fork of a fork, tossed it all into a blender and spun it on puree for a bit. Baked it for a while and set it on the counter to cool. What I mean is, make what you will of it, it matters not to me.
2015-05-01 01:36:59 -04:00
2020-05-28 16:56:18 -05:00
See [`LICENSE.md` ](LICENSE.md ) for more information.
2020-05-15 17:57:42 -05:00
## Dependencies
2020-09-25 16:19:53 -05:00
2020-05-15 17:57:42 -05:00
- `default` (included in [Minetest Game ](https://github.com/minetest/minetest_game ))
2021-01-21 17:36:48 -06:00
- [`lib_mount` ](https://github.com/minetest-mods/lib_mount )
2015-05-01 01:36:59 -04:00
2020-05-15 17:57:42 -05:00
## Requirements
2020-09-25 16:19:53 -05:00
2020-05-15 17:57:42 -05:00
- `vehicle_mash` 2.1.0 for MT 5.0.0+.
- `vehicle_mash` 2.0 for MT 0.4.12+ (may work on older versions).
2019-06-13 17:54:26 -05:00
2020-05-15 17:57:42 -05:00
## TODO
2020-09-25 16:19:53 -05:00
2020-05-28 16:56:18 -05:00
There are no pending tasks to do yet.
2015-05-01 01:36:59 -04:00
2020-05-15 17:57:42 -05:00
## Changelog
2019-06-13 17:54:26 -05:00
2022-12-18 16:22:44 -06:00
v2.4.0 1/12/2022
- Added new API support for `lib_mount` .
- Customizable HP/Armor for all vehicles. Players will be affected.
- Short and tweak the code.
- Cars can now be killed by players.
- Support for 3+ passengers (beta).
2021-02-12 15:52:46 -06:00
v2.3.0 2/12/2021
- Improved formatting in `README.md` .
- Added [API Mode ](https://github.com/minetest-mods/vehicle_mash/commit/6b3bdac4d880a6fde298a286b3bd5043750e904e ) setting.
- Removed F1 and 126r cars due to closed-source license.
- Improved vehicle drops.
- Vehicles can now drop multiple items.
- Add option for vehicles to fly (setting per vehicle).
- Can enable/disable crash separately for each vehicle.
- Added ContentDB badge on `README.md` .
- Improved GitHub workflow.
2020-06-02 11:58:31 -05:00
v2.2.2 6/02/2020
2020-09-25 16:19:53 -05:00
- Fix passengers not detaching when driver gets out.
- Various other tweaks and fixes for passengers.
2020-06-02 11:58:31 -05:00
2020-05-28 16:56:18 -05:00
v2.2.1 5/28/2020
2020-09-25 16:19:53 -05:00
- Added vehicle crafting (Enabled by default).
- Added car battery, windshield, tire, and motor.
- All CAR01's can now carry 3 passengers.
- Add `screenshot.png` .
- Improve `README.md` .
2020-05-28 16:56:18 -05:00
2020-05-15 17:57:42 -05:00
v2.2 5/15/2020
2020-09-25 16:19:53 -05:00
- Move files to a folder of its own.
- Add GitHub workflow and LuaCheck.
- Add `settingtypes.txt` to select enabled cars.
- Improve `README.md` .
- Short a bit the code.
2019-06-13 17:54:26 -05:00
v2.1 6/10/2019
2020-09-25 16:19:53 -05:00
- Fix attachment positions for drivers/passengers on all vehicles.
- Adds red, green, and yellow hovercrafts.
- Use `mod.conf` for name, description and dependencies.
- Support for MT 5.0.0+.
2016-08-13 14:59:51 -04:00
v2.0 8/13/2016
2019-06-13 17:54:26 -05:00
2020-09-25 16:19:53 -05:00
- converted to use the lib_mount mod for "driving"
- enlarged F1 and 126r models x2.5
- added yellow Mesecar
- updated boat model from default boat mod
- various speed/braking/turning/acceleration tweaks
- various collision box tweaks
- various other tweaks I probably forgot about
- last version supporting MT 0.4.12+.
2015-05-21 19:56:20 -04:00
v1.4 5/19/2015
2019-06-13 17:54:26 -05:00
2020-09-25 16:19:53 -05:00
- attach (one) passenger added
- reorganized vehicle definition file code and added some variables pertaining to passengers
- added a vehicle definition file template with comments
- cleaned up to remove code dulplication
2015-05-06 00:13:25 -04:00
v1.3 5/5/2015
2019-06-13 17:54:26 -05:00
2020-09-25 16:19:53 -05:00
- player now sits forward in vehicles
- tweaked player sit positions
- tweaked collison boxes
- proper placement on_ground/in_water
2020-09-25 16:32:30 -05:00
2019-06-13 17:54:26 -05:00
v1.2 5/1/2015
2020-09-25 16:19:53 -05:00
- added boats
- changed name so to not conflict with other mods
2019-06-13 17:54:26 -05:00
2020-09-25 16:19:53 -05:00
v1.1 4/25/2015
2015-05-01 01:36:59 -04:00
2020-09-25 16:19:53 -05:00
- car won't come to a complete stop (fixed)
2019-06-13 17:54:26 -05:00
2020-09-25 16:19:53 -05:00
v1.0 4/24/2015
2019-06-13 17:54:26 -05:00
2020-09-25 16:19:53 -05:00
- first release
2019-06-13 17:54:26 -05:00
2020-05-15 17:57:42 -05:00
## Bugs, suggestions and new features
2020-09-25 16:19:53 -05:00
2020-10-14 22:29:58 -05:00
Report bugs or suggest ideas by [creating an issue ](https://github.com/minetest-mods/vehicle_mash/issues/new ).\
If you know how to fix an issue, consider opening a [pull request ](https://github.com/minetest-mods/vehicle_mash/compare ).