At the moment you can require a Lua file, which needs to be placed in the Game/data/lua folder.
However, the game owns the contents of the Game Data folder, and could delete them at any time.
It would be better if user-created lua files could be placed in a subfolder of Documents or Saved Games. This way, they would be safe if the Game/data/lua is ever wiped.
At the moment you can
require
a Lua file, which needs to be placed in theGame/data/lua
folder.However, the game owns the contents of the Game Data folder, and could delete them at any time.
It would be better if user-created
lua
files could be placed in a subfolder ofDocuments
orSaved Games
. This way, they would be safe if theGame/data/lua
is ever wiped.