mirror of
https://github.com/smogon/sprites.git
synced 2026-09-26 11:17:11 -05:00
ps deploy pokeball sheet
This commit is contained in:
19
Tupfile.lua
19
Tupfile.lua
@@ -30,6 +30,25 @@ tup.rule(
|
||||
{"build/ps/pokemonicons-sheet.png", "build/ps/pokemonicons.json"}
|
||||
)
|
||||
|
||||
-- PS pokeball icons
|
||||
|
||||
local balls = {
|
||||
"src/noncanonical/ui/battle/Ball-Normal.png",
|
||||
"src/noncanonical/ui/battle/Ball-Sick.png",
|
||||
"src/noncanonical/ui/battle/Ball-Null.png",
|
||||
}
|
||||
|
||||
tup.rule(
|
||||
balls,
|
||||
makecmd{
|
||||
display="pokemonicons-pokeball-sheet",
|
||||
[[
|
||||
convert -background transparent -gravity center -extent 40x30 %f +append %o
|
||||
]]
|
||||
},
|
||||
{"build/ps/pokemonicons-pokeball-sheet.png"}
|
||||
)
|
||||
|
||||
-- Smogdex social images
|
||||
|
||||
function fbsprite(input, output)
|
||||
|
||||
@@ -124,3 +124,6 @@ sel(
|
||||
"src/canonical/ui/categories/gen4",
|
||||
"src/noncanonical/ui/categories/undefined.png",
|
||||
);
|
||||
|
||||
dest(".");
|
||||
sel("build/ps/pokemonicons-pokeball-sheet.png");
|
||||
|
||||
Reference in New Issue
Block a user