summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/locale/en-US/libs/lua53/modules.lni6
-rw-r--r--server/locale/en-US/libs/lua53/package.lni23
2 files changed, 23 insertions, 6 deletions
diff --git a/server/locale/en-US/libs/lua53/modules.lni b/server/locale/en-US/libs/lua53/modules.lni
deleted file mode 100644
index 2f36cc10..00000000
--- a/server/locale/en-US/libs/lua53/modules.lni
+++ /dev/null
@@ -1,6 +0,0 @@
-[require]
-description = [[
-Loads the given module. The function starts by looking into the package.loaded table to determine whether modname is already loaded. If it is, then require returns the value stored at package.loaded[modname]. Otherwise, it tries to find a loader for the module.
-]]
-
-[package]
diff --git a/server/locale/en-US/libs/lua53/package.lni b/server/locale/en-US/libs/lua53/package.lni
new file mode 100644
index 00000000..04a47011
--- /dev/null
+++ b/server/locale/en-US/libs/lua53/package.lni
@@ -0,0 +1,23 @@
+[config]
+description = 'A string describing some compile-time configurations for packages.'
+
+[cpath]
+description = 'The path used by `require` to search for a C loader.'
+
+[loaded]
+description = 'A table used by `require` to control which modules are already loaded.'
+
+[loadlib]
+description = 'Dynamically links the host program with the C library `libname`.'
+
+[path]
+description = 'The path used by `require` to search for a Lua loader.'
+
+[preload]
+description = 'A table to store loaders for specific modules.'
+
+[searchers]
+description = 'A table used by `require` to control how to load modules.'
+
+[searchpath]
+description = 'Searches for the given `name` in the given `path`.'