diff options
Diffstat (limited to 'server/locale/en-US/libs/lua')
-rw-r--r-- | server/locale/en-US/libs/lua/basic.lni | 18 | ||||
-rw-r--r-- | server/locale/en-US/libs/lua/debug.lni | 6 | ||||
-rw-r--r-- | server/locale/en-US/libs/lua/math.lni | 6 |
3 files changed, 30 insertions, 0 deletions
diff --git a/server/locale/en-US/libs/lua/basic.lni b/server/locale/en-US/libs/lua/basic.lni index e9d17979..9c982fbb 100644 --- a/server/locale/en-US/libs/lua/basic.lni +++ b/server/locale/en-US/libs/lua/basic.lni @@ -89,6 +89,9 @@ description = 'Terminates the last protected function called and returns message [_G] description = 'Holds the global environment.' +[getfenv] +description = 'Returns the current environment in use by the function. `f` can be a Lua function or a number that specifies the function at that stack level.' + [getmetatable] description = 'Returns the metatable of the given object.' @@ -117,6 +120,9 @@ name = 'mode' enum = 'bt' description = 'Both binary and text.' +['load Lua 5.1'] +description = 'Loads a chunk using function `func` to get its pieces. Each call to `func` must return a string that concatenates with previous results.' + [loadfile] description = 'Loads a chunk from file.' [[.enums]] @@ -132,6 +138,15 @@ name = 'mode' enum = 'bt' description = 'Both binary and text.' +['loadfile Lua 5.1'] +description = 'Loads a chunk from file `filename` or from the standard input, if no file name is given.' + +[loadstring] +description = 'Loads a chunk from the given string.' + +[module] +description = 'Creates a module' + [next] description = 'Returns the next index of the table and its associated value.' @@ -173,6 +188,9 @@ name = 'index' code = 'integer' description = 'Returns all arguments after number `index`.' +[setfenv] +description = 'Sets the environment to be used by the given function. `f` can be a Lua function or a number that specifies the function at that stack level.' + [setmetatable] description = 'Sets the metatable for the given table.' diff --git a/server/locale/en-US/libs/lua/debug.lni b/server/locale/en-US/libs/lua/debug.lni index 32d1da68..42422ae6 100644 --- a/server/locale/en-US/libs/lua/debug.lni +++ b/server/locale/en-US/libs/lua/debug.lni @@ -1,6 +1,9 @@ ["debug.debug"] description = 'Enters an interactive mode with the user, running each string that the user enters.' +[getfenv] +description = 'Returns the environment of object `o` .' + [gethook] description = 'Returns the current hook settings of the thread.' @@ -57,6 +60,9 @@ to the userdata `u` plus a boolean, `false` if the userdata does not have that value. ]] +[setfenv] +description = 'Sets the environment of the given `object` to the given `table` .' + [sethook] description = 'Sets the given function as a hook.' [[.enums]] diff --git a/server/locale/en-US/libs/lua/math.lni b/server/locale/en-US/libs/lua/math.lni index 0a89176e..e5bfb122 100644 --- a/server/locale/en-US/libs/lua/math.lni +++ b/server/locale/en-US/libs/lua/math.lni @@ -46,6 +46,12 @@ description = 'A value larger than any other numeric value.' [log] description = 'Returns the logarithm of `x` in the given base.' +['log Lua 5.1'] +description = 'Returns the natural logarithm of `x` .' + +[log10] +description = 'Returns the base-10 logarithm of x.' + [ldexp] description = 'Returns `m * (2 ^ e)` .' |