Car Lift Public

Car Lift Public 1.3.0

Code that is not needed now has been cleaned up. The prefabricated is static and by default it already works without the need to establish electrical current through code.
  • Like
Reactions: NedFlanders
The elevators generated by the mod are now indestructible.
- Fixed the destruction bug when editing in a supermarket.
  • Added the option to spawn an elevator in the Outpost.
  • The option has been added to deactivate the generation of elevators if the map is customized.
Code:
{
  "GasStation": true,
  "Supermarket": false,
  "Outpost": true,
  "Custom Map": true // By default it would work on custom maps (as long as the rads are well leveled and don't have weird slopes)
}
outpost.jpg
Fix for the bug that sometimes makes cars return to the elevator from anywhere on the map. With my testing, none of the cars have returned to the elevator, but please let me know if you or any player on your server experiences this.

On the other hand, a small code has been added that eliminates the modified elevators in case they have not been previously eliminated, thus avoiding duplication in the same space.

Thanks to @Razor for contributing those lines of code.
  • Like
Reactions: Razor
Fixed a small bug where vehicles were attracted to the public elevator. Even if you had it on the other part of the map.

Thanks to those of you who have reported this problem!

Note: If the problem continues: Remove the existing mod, remove the existing elevators (entity.kill) and load the updated mod. Or just restart the server.
Due to the request of a buyer, which surely other administrators are interested in, I add the possibility to enable compatibility with the supermarkets through the configuration file.

- Configuration file is now included.
- Now compatible with Gas Stations and Supermarkets.