Require("file") works fine if the file.lua exists directly but does not follow symbolic links any longer even when file is on the same drive. The require() statement works with symbolic links if I include the "__mod-name__" path prefix, e.g. require("__mod-name__/file").
It returns the error:
Code: Select all
Failed to load mods: __adamo-calibration__/data-final-fixes.lua:1: Invalid path, path is not within a valid mod folder. Path: factsheet.lua
stack traceback:
[C]: in function 'require'
__adamo-calibration__/data-final-fixes.lua:1: in main chunk