8,756
edits
(bordered works now) |
mNo edit summary |
||
Line 122: | Line 122: | ||
if type == 'alternation' then | if type == 'alternation' then | ||
interval = math.floor(#strtbl/#colorlist) --sets interval that color code switches. | interval = math.floor(#strtbl/#colorlist) --sets interval that color code switches. | ||
if interval <= 0 then interval = 1 end | |||
overflowbehavior = function(f) return colorlist[#colorlist] end | overflowbehavior = function(f) return colorlist[#colorlist] end | ||
elseif type == 'sequence' then | elseif type == 'sequence' then | ||
Line 190: | Line 191: | ||
function p.test() | function p.test() | ||
--return p.shader('Stopsvalinn', 'R-r-K-y-Y', 'sequence') | --return p.shader('Stopsvalinn', 'R-r-K-y-Y', 'sequence') | ||
return applytemplate(' | return applytemplate('soul', 'soulcurding') | ||
end | end | ||
return p | return p |