Just GO!
A teeny tiny mod that instantly pops you into a vehicle when you place it from a filtered player main inventory slot, and it is within the reach of your character.
It also picks the vehicle up again when you disembark, but this can be turned off (it is enabled by default) with a runtime per-player option in the mod settings.
Works very nice in combination with my other addon, Automated Fuel and Ammo.
How to make it work
- Filter any slot in your main character inventory to a car or locomotive (middle-click the slot with your mouse)
- Place the vehicle in the slot
- Either pick it up with the mouse or put the item in your quickbar
- Place the vehicle on the ground within your characters reach
You will be instantly put into the vehicle. Now just go!
Settings
There is a runtime per-user setting (enabled by default) that tells the mod whether or not it should automatically mine (pick up) quickbar-filtered vehicles when you exit them.
Changelog
0.2.6: Should hopefully no longer react to blueprinted cars.
0.2.5: Forgot the thumnail image.
0.2.4: Updated for 2.0. No longer works with filtered quickbar slots because they've removed the ability for modders to interact with the quickbar as an inventory. Now you have to filter the main inventory.
0.2.3: 0.16 bump.
0.2.2: Check if the vehicle is valid before we try picking it up.
0.2.1: I forgot you can store LuaEntity in the globals; makes the auto-pickup code much smaller.
0.2.0: Added option to automatically pick up the vehicle when you exit (enabled by default).
0.1.3: Add support for trains.
0.1.2: Publish for 0.15. No changes.
0.1.1: Ensure we trigger on_player_driving_changed_state so that the mod works with Pavement Drive Assist
0.1.0: Initial release