This Mod adds an elevator entity and two types of rails for the elevator. The Elevator only works on these rails.
This has not been testet on servers. Expect bugs!
Right-click to enter or leave the elevator. Left-click to remove the elevator. While you are seated in the elevator, you can accelerate by pressing jump or sneak. You will accelerate until you reached the top speed. If you cross a brakerail the velocity will be set to zero, perfect for an holding station.
Code and ressources
Most of the code is written by me. The textures are based on the default minetest_game carts. The model for the elevator is the same as minetest_game carts. The function manage_attachment() and on_place for the elevator_entity is from minetest_game carts.