[preview, wip] lua output v15

Preview of Lua output scripting.