Tired of running to your vehicle? Then let it come to you!
This mod is based on "Gizmos Car Keys" by aodgizmo.
It works with most modded car and spider-vehicle prototypes -- not just vanilla cars.
I get the following startup error only when activating your mod together with my extensive mod pack:
<code>
Error ModManager.cpp:1323: Failed to load mod "bobplates": core/lualib/noise.lua:13: attempt to index global 'debug' (a function value)
stack traceback: core/lualib/noise.lua:13: in function 'csloc' core/lualib/noise.lua:151: in function 'nfvar' core/lualib/noise.lua:355: in function 'get_control_setting' core/lualib/resource-autoplace.lua:97: in function 'resource_autoplace_settings' bobores/prototypes/bauxite.lua:42: in function 'create_autoplace' bobplates/data.lua:6: in main chunk
</code>
Any ideas?
It seems the debug function I made for my mod has somehow gotten into global scope and overwrites some variable of the same name that Bob uses. I'll see if I can get a fix ready without breaking anything else. :-)
I agree! I'm still having trouble with the scope of variables/functions, as the bug shows.
By the way: I just uploaded a new version. Could you try if it works, please? If not, I'll try to get it right tomorrow -- I'm too tired now, it would be dangerous to mess any longer with the code … :-)
Good Morning! It is working fine now, I could add the mod to my game again (had disabled it yesterday) and I am able to craft keys and use them :)
Thank you for the quick fix!
You're welcome, and great to hear that it works again! I would appreciate if you could report anything else you notice that's not as it should be (especially in multiplayer mode), by the way. :-)