mirror of
https://github.com/smogon/sprites.git
synced 2026-08-20 00:34:22 -05:00
disable trainer build
moving trainers broke the build, not going to fix this until we move the trainers to their new numbered home
This commit is contained in:
38
Tupfile.lua
38
Tupfile.lua
@@ -24,15 +24,16 @@ rule{
|
||||
output={"build/ps/pokemonicons-sheet.png"}
|
||||
}
|
||||
|
||||
rule{
|
||||
display="ps trainers sheet",
|
||||
input={"ps-trainers.sheet.mjs"},
|
||||
command={
|
||||
"node tools/sheet %f %o",
|
||||
compresspng{config="SPRITESHEET"}
|
||||
},
|
||||
output={"build/ps/trainers-sheet.png"}
|
||||
}
|
||||
-- TODO: reenable when trainers are moved
|
||||
-- rule{
|
||||
-- display="ps trainers sheet",
|
||||
-- input={"ps-trainers.sheet.mjs"},
|
||||
-- command={
|
||||
-- "node tools/sheet %f %o",
|
||||
-- compresspng{config="SPRITESHEET"}
|
||||
-- },
|
||||
-- output={"build/ps/trainers-sheet.png"}
|
||||
-- }
|
||||
|
||||
rule{
|
||||
display="ps items sheet",
|
||||
@@ -89,15 +90,16 @@ foreach_rule{
|
||||
|
||||
-- Trainers
|
||||
|
||||
foreach_rule{
|
||||
display="pad trainer %f",
|
||||
input={"src/canonical/trainers/*"},
|
||||
command={
|
||||
pad{w=80, h=80},
|
||||
compresspng{config="TRAINERS"}
|
||||
},
|
||||
output={"build/padded-trainers/canonical/%b"}
|
||||
}
|
||||
-- TODO: reenable when trainers are moved
|
||||
-- foreach_rule{
|
||||
-- display="pad trainer %f",
|
||||
-- input={"src/canonical/trainers/*"},
|
||||
-- command={
|
||||
-- pad{w=80, h=80},
|
||||
-- compresspng{config="TRAINERS"}
|
||||
-- },
|
||||
-- output={"build/padded-trainers/canonical/%b"}
|
||||
-- }
|
||||
|
||||
-- Padded Dex
|
||||
|
||||
|
||||
@@ -122,8 +122,9 @@ transform(toPSID, () => {
|
||||
);
|
||||
});
|
||||
|
||||
dest("trainers");
|
||||
sel("build/padded-trainers/canonical");
|
||||
// TODO: reenable when trainers are moved
|
||||
// dest("trainers");
|
||||
// sel("build/padded-trainers/canonical");
|
||||
|
||||
function fixTypes(dst) {
|
||||
return dst.replace("Unknown", "???");
|
||||
@@ -145,5 +146,6 @@ sel(
|
||||
|
||||
dest(".");
|
||||
sel("build/ps/pokemonicons-pokeball-sheet.png");
|
||||
sel("build/ps/trainers-sheet.png");
|
||||
// TODO
|
||||
//sel("build/ps/trainers-sheet.png");
|
||||
sel("build/ps/itemicons-sheet.png");
|
||||
|
||||
Reference in New Issue
Block a user