Friday Facts 262 Lua script access
Posted: Sat Sep 29, 2018 12:32 am
Does the script access change mean we can access a mods' "global" space from the in-game command line?
I originally posted this in the thread linked from the FFF, but then saw that it was titled around the AI side.
Currently to access a variable or data structure in a mods' global from the command line I have to include a custom command in the mod to write out full data structures to log files for inspection. And then use hard-coded data updates in newer test mod versions to change/correct the data state.Allow accessing Lua scripts by __MOD-NAME__/script.lua style path, so you can reference the same Lua scripts from multiple scenarios in one mod.
I originally posted this in the thread linked from the FFF, but then saw that it was titled around the AI side.