Monaco-style lighting engine in Lua