1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-06-14 09:26:51 +00:00

Update ccbn.lua

This commit is contained in:
LDDestroier 2019-03-09 17:20:14 -05:00 committed by GitHub
parent 87959baf94
commit 9f30479973
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,15 @@ local stage = {
}
-- ripped from NFTE
colorSwap = function(image, text, back)
local output = {{},{},{}}
for y = 1, #image[1] do
output[1][y] = image[1][y]
output[2][y] = image[2][y]:gsub(".", text)
output[3][y] = image[3][y]:gsub(".", back or text)
end
return output
end
local makeRectangle = function(width, height, char, text, back)
local output = {{},{},{}}
for y = 1, height do