# HG changeset patch # User Wuzzy # Date 1704550298 0 # Node ID bbc87ef05898d7dc4e418e83e17ac6333d525057 # Parent eba9a043a81e9ec9450e37937221ea3202d31154 LuaRules: Grammar diff -r eba9a043a81e -r bbc87ef05898 LuaRules.wiki --- a/LuaRules.wiki Sat Jan 06 14:11:10 2024 +0000 +++ b/LuaRules.wiki Sat Jan 06 14:11:38 2024 +0000 @@ -11,8 +11,8 @@ * If you want to divide by a different integer value, use the `div` function for integer division * Keep your numbers within ±253 * Avoid `math.floor` and `math.ceil` - * Never use `math.random`, use `GetRandom` instead + * Don’t use `math.random`, use `GetRandom` instead -These restrictions on numbers don’t apply to numbers that you don't use for gameplay but for stuff like harmless eye candy. For example, you can use `math.random` safely as long you don’t use the generated numbers for anything that affects gameplay. +These restrictions on numbers don’t apply to numbers that you don't use for gameplay but for stuff like harmless eye candy. For example, you *can* use `math.random` safely as long you don’t use the generated numbers for anything that affects gameplay. Failing to follow these rules might lead your script to behave differently on different systems, leading to desynchronization bugs, which means they will not work online.