when loading the mod with py alienlife factorio chrashes at around 90% loading.
The reason it crashes is cause it uses _G.scale for setting the size of an entity.
_G means that it takes this value from all the global values. and your mod uses a global function scale (first line in motorcar.lua) witch overides this value to a function. Making the function local, by adding the keyword "local" in front of the word function, you can fix the problem.
Thanks for fixing this in advance.
edit: seems to be the same problem as https://mods.factorio.com/mod/railway-motor-car/discussion/5f660229c8ebf5e7974e7516 but this is a full fix