So I have this base script that has a couple of functions that multiple other scripts will use, and for the sake of good programming practices I want the other scripts to do a require of that file, however I'm getting errors when I do it.
All the scripts are in Mod.rte/Scripts, but when I try to do require("Mod.rte/Scripts/FileWithFunctions.lua") I get a lengthy "module not found" error with all the places it searched for it, which includes Mod.rte/Scripts/FileWithFunctions.lua.
I also tried with what I found
here, but I still can't get it to work.
Any help?