Lua wasn’t made for scripting video games but as a scripting language for a mining company if I remember correctly from this excellent paper[1]. I can highly recommend all the other ACM hopl papers too for those interested in the history of programming languages. The papers don’t seem to be open access but sci-hub might help with that if you’re so inclined.
I once met Waldemar Celes, one of the co creators of Lua. It was meant for use within a tool called Geresim for visualizing large 3D models of oil/gas reservoirs - primarily for Petrobras, the Brazilian national oil company.
[1] https://dl.acm.org/doi/10.1145/3186277