- [NEW] Torxes implementades

This commit is contained in:
2026-03-09 12:15:58 +01:00
parent aa5f29ee24
commit f2a52570b1
10 changed files with 70 additions and 4 deletions

View File

@@ -53,6 +53,15 @@ palfade = {
end,
fade_white = function(f)
for i=1,32 do
local r = math.floor(palfade.reddish[i].r + (255-palfade.reddish[i].r)*f)
local g = math.floor(palfade.reddish[i].g + (255-palfade.reddish[i].g)*f)
local b = math.floor(palfade.reddish[i].b + (255-palfade.reddish[i].b)*f)
pal.color(i-1,r,g,b)
end
end,
restore = function()
pal.set(palfade.original)
end