Lua Module
/ˈluː.ə/ · Noun · Development
Definitions
A self-contained Lua script that returns a table of functions and values, loaded via `require()`. Lua's module system uses the `package.path` and `package.cpath` search paths, and modules are cached after first load to avoid redundant execution.
In plain English: A reusable package of Lua code that other Lua scripts can load and use, common in game engines and embedded scripting.
Example: "The game's AI is a Lua module we hot-reload at runtime so designers can tweak behavior without recompiling the engine."