summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/libs/lua53/table.lni3
-rw-r--r--server/locale/en-US/libs/lua53/table.lni37
2 files changed, 39 insertions, 1 deletions
diff --git a/server/libs/lua53/table.lni b/server/libs/lua53/table.lni
index 661a5100..b1ccc7e6 100644
--- a/server/libs/lua53/table.lni
+++ b/server/libs/lua53/table.lni
@@ -65,6 +65,9 @@ type = 'integer'
name = 'a2'
type = 'table'
optional = 'self'
+[[.returns]]
+name = 'a2'
+type = 'table'
[pack]
[[.args]]
diff --git a/server/locale/en-US/libs/lua53/table.lni b/server/locale/en-US/libs/lua53/table.lni
index f1098fda..234be1ae 100644
--- a/server/locale/en-US/libs/lua53/table.lni
+++ b/server/locale/en-US/libs/lua53/table.lni
@@ -1 +1,36 @@
-[table]
+[concat]
+description = [[
+--------
+```lua
+return list[i]..sep..list[i+1] ··· sep..list[j]
+```
+]]
+
+[insert]
+description = 'Inserts element value at position `pos` in list.'
+
+[move]
+description = [[
+Moves elements from table `a1` to table `a2`.
+```lua
+a2[t],··· = a1[f],···,a1[e]
+return a2
+```
+]]
+
+[pack]
+description = 'Returns a new table with all arguments stored into keys `1, 2, etc`. and with a field `n` with the total number of arguments.'
+
+[remove]
+description = 'Removes from `list` the element at position `pos`, returning the value of the removed element.'
+
+[sort]
+description = 'Sorts list elements in a given order, **in-place**, from `list[1]` to `list[#list]`.'
+
+[unpack]
+description = [[
+-------
+```lua
+return list[i], list[i+1], ···, list[j]
+```
+]]