LunaDLL with Lua (shortened to LunaLua) is a free and open source extension framework written by Kevsoft for the legacy SMBX Engine. LunaLua contains patches, fixes, improvements and adds support for scripting with the scripting language Lua. The library is based on LunaDLL for added flexibility to the code and support for powerful modifications.

For the sake of backwards compatibility, it is also able to read old LunaTXTs. LunaLua supports custom APIs. Several custom libraries released for LunaLua such as CinematX (to create custom cunscenes) exist.

Additional Features

LunaLua not only adds Lua scripting subsystem, it also provides patches, improvements and fixes for the legacy SMBX Engine:

Increases performance.

Fixes some bugs.

npc-*.txt with decimal numbers will no longer crash SMBX with "runtime error 13".