champions change

This commit is contained in:
Christopher Monsanto
2026-06-21 22:19:51 -04:00
parent 32a4c5916a
commit 52ecf6cae9
2 changed files with 20 additions and 0 deletions

View File

@@ -55,6 +55,20 @@ foreach_rule(
"build/gen9-modelslike/%B.gif"
)
-- Gen 10
foreach_rule(
"src/champions/*.png",
{
display="96x96 %f",
-- TODO, add customizable compression for gif
-- ... or investigate using webp instead of both png/gif here
"magick convert %f -trim +repage -resize 90x90 %o",
"gifsicle -O3 -b %o"
},
"build/gen10-modelslike/%B.gif"
)
-- Gen 5 CAPs...
foreach_rule(

View File

@@ -83,6 +83,12 @@ for (const f of list("build/gen9-modelslike")) {
spritecopy(f, {dir: "xy"});
}
for (const f of list("build/gen10-modelslike")) {
if (seenModels.has(f.name)) continue;
seenModels.add(f.name);
spritecopy(f, {dir: "xy"});
}
// Non-model CAPs
for (const f of list("src/sprites/gen5")) {
if (f.ext !== 'gif' || seenModels.has(f.name)) continue;