8,756
edits
mNo edit summary |
(fix bordered shaders) |
||
Line 148: | Line 148: | ||
bordered = true | bordered = true | ||
overflowbehavior = function(f) | overflowbehavior = function(f) | ||
if | if #strtbl - f == 0 then return colorlist[1] else return colorlist[2] end | ||
end | end | ||
elseif type == 'chaotic' then | elseif type == 'chaotic' then | ||
Line 155: | Line 155: | ||
local ci = 1 | local ci = 1 | ||
if bordered == true then | if bordered == true then | ||
ci = | ci = 1 | ||
end | end | ||
for i=1, #strtbl do | for i=1, #strtbl do | ||
Line 170: | Line 170: | ||
if i%interval == 0 then | if i%interval == 0 then | ||
if bordered == true then | if bordered == true then | ||
ci = ci | ci = ci + 1 | ||
else | else | ||
ci = ci + 1 | ci = ci + 1 | ||
Line 218: | Line 218: | ||
function p.test() | function p.test() | ||
return p.shader('Spiked', 'R-Y', 'bordered') | |||
return applytemplate('soul', 'soulcurding') | --return applytemplate('soul', 'soulcurding') | ||
end | end | ||
return p | return p |