Skip to content

Commit

Permalink
feat(units): outline alpha, beta, gamma sprites
Browse files Browse the repository at this point in the history
  • Loading branch information
bend-n committed Sep 26, 2022
1 parent 086cb03 commit 56c3809
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ for i in _src_/**/*.svg; do
base=$(basename "$name")
mkdir -p sprites-override"${name//$base/}"
out="sprites-override$name"
if [[ $name == *"turrets"* && $name != *"heat"* && $name != *"bases"* && $name != *"top"* && $name != *"liquid"* ]]; then
if [[
($name == *"turrets"* && $name != *"heat"* && $name != *"bases"* && $name != *"top"* && $name != *"liquid"*) ||
($name == *"beta.png" || $name == *"gamma.png" || $name == *"alpha.png") ]]; then
(
$render -w "$size" -h "$size" "$i" "$out"
python3 outline.py "$out" "$size_multiplier" "$out"
Expand Down

0 comments on commit 56c3809

Please sign in to comment.