From 56c3809653f7b11180351cb089b5f3c28c0f34b7 Mon Sep 17 00:00:00 2001 From: bendn Date: Mon, 26 Sep 2022 09:04:31 +0700 Subject: [PATCH] feat(units): outline alpha, beta, gamma sprites --- export.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/export.sh b/export.sh index e6cb2957..c612ebce 100755 --- a/export.sh +++ b/export.sh @@ -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"