Expand description
Standard Lua libraries available as Factorio globals (math, string, table).
Stubs exist for cargo check / IDE support only. Calls lower to the real Lua
library methods. Overloads that need distinct Rust names (random_int,
format_2, …) are remapped to the Lua name by the frontend.
Structs§
- LuaMath
- Lua
mathlibrary (Factorio uses deterministic implementations). - LuaString
Lib - Lua
stringlibrary (includes Factorio’spack/packsize/unpack). - LuaTable
Lib - Lua
tablelibrary.