Legacy Lua API documentation Legacy's Lua API is the interface for communication between Lua and Legacy mod. This documentation is generated with Sphinx using the reStructuredText markup language. It can be read online at etlegacy-lua-docs.rtfd.io.