mudgangster

Log | Files | Refs

commit 544ee518d0d55ddbb4e739e2150f01dc3e8e2c87
parent a373e10915b17b0d7932d4661f8212d65abd5be1
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Tue, 21 May 2013 13:58:54 +0100

math.commas fix

Diffstat:
utils.lua | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/utils.lua b/utils.lua @@ -23,7 +23,7 @@ function string.commas( num ) local out = "" - while num > 1000 do + while num >= 1000 do out = ( ",%03d%s" ):format( num % 1000, out ) num = math.floor( num / 1000 ) @@ -82,6 +82,7 @@ local function genericPrint( message, main, chat ) local Sequences = { d = setFG( 7 ), + k = setFG( 0 ), r = setFG( 1 ), g = setFG( 2 ), y = setFG( 3 ), @@ -194,6 +195,7 @@ end local ColourSequences = { d = 0, + k = 30, r = 31, g = 32, y = 33,