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:
Christopher Monsanto
2020-05-23 10:27:32 -04:00
parent 40a07d7c6d
commit 0ede300a2c
2 changed files with 25 additions and 21 deletions

View File

@@ -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

View File

@@ -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");