im so bad, i should check changes before pushing

This commit is contained in:
UndeadMaelys 2022-03-22 16:38:53 +01:00
parent eb1a31e3f4
commit c7a0d66512

View File

@ -2,13 +2,13 @@ return function(tbl)
for i=1, #tbl do for i=1, #tbl do
local this_number = tbl[i][1] local this_number = tbl[i][1]
local this_word = tbl[i][2] local this_word = tbl[i][2]
local text = colorTextBackground(COLOR.Black,colorText(COLOR.White,"#") local text = colorTextBackground(COLOR.Black,colorText(COLOR.White,"#"))
local length = string.len(#words) - string.len(this_number) local length = string.len(#words) - string.len(this_number)
while length > 0 do while length > 0 do
text = text .. colorTextBackground(COLOR.Black,colorText(COLOR.White,"0") text = text .. colorTextBackground(COLOR.Black,colorText(COLOR.White,"0"))
length = length - 1 length = length - 1
end end
text = text .. colorTextBackground(COLOR.Black,colorText(COLOR.White,this_number .. " ") text = text .. colorTextBackground(COLOR.Black,colorText(COLOR.White,this_number .. " "))
text = text .. colorTextBackground(COLOR.Black,colorText(COLOR.HighBlue,this_word[1])) text = text .. colorTextBackground(COLOR.Black,colorText(COLOR.HighBlue,this_word[1]))
text = text .. colorTextBackground(COLOR.Black,colorText(COLOR.Gray,this_word[3])) text = text .. colorTextBackground(COLOR.Black,colorText(COLOR.Gray,this_word[3]))
text = text .. colorTextBackground(COLOR.Black,colorText(COLOR.Green,this_word[2])) text = text .. colorTextBackground(COLOR.Black,colorText(COLOR.Green,this_word[2]))