diff options
Diffstat (limited to 'server/locale/en-US/libs/lua/math.lni')
-rw-r--r-- | server/locale/en-US/libs/lua/math.lni | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/server/locale/en-US/libs/lua/math.lni b/server/locale/en-US/libs/lua/math.lni index 1a5ca814..e5bc33b3 100644 --- a/server/locale/en-US/libs/lua/math.lni +++ b/server/locale/en-US/libs/lua/math.lni @@ -65,6 +65,20 @@ description = [[ [randomseed] description = 'Sets `x` as the "seed" for the pseudo-random generator.' +["randomseed Lua 5.4"] +description = [[ +When called with at least one argument, +the integer parameters `x` and `y` are +concatenated into a 128-bit `seed` that +is used to reinitialize the pseudo-random generator; +equal seeds produce equal sequences of numbers. +The default for `y` is zero. + +When called with no arguments, +Lua generates a seed with +a weak attempt for randomness. +]] + [sin] description = 'Returns the sine of `x` (assumed to be in radians).' |